302 Status Code for .com but 200 Status Code for .com/
-
I ran a moz crawl report for one of my sites. For mywebsite.com I'm getting a 302 HTTP Status Code but for mywebsite.com/ I'm getting a 200 HTTP Status Code.
mywebsite.com -Title tag "blank" - Meta Description "blank" - HTTP Status Code "302" - Referrer "blank" - Content Type Header "blank" - 301/302 target "/" - Rel-Canonical Target "blank"
mywebsite.com/ - Title tag "correct tag" - Meta Description "correct tag" - HTTP Status Code "200" - Referrer "mysite.com" - Content Type Header "text/html" - 301/302 target "blank" - Rel-Canonical Target "mysite.com/"
Will this cause any issues with the search engines? Is there a way to fix this?
I'm on wordpress and use Yoast SEO premium plugin. I have sites ranking in many different niches and have done similar white hat SEO for all of my others. They are ranking in competitive niches but for some reason this site is in the 200-300s for basically all keywords in not a very competitive niche. It has excellent content, links and no penalties. I'm trying to find anything that could be the cause of this. Thanks!
<colgroup><col width="64"></colgroup>
| Rel-Canonical Target | -
This is definitely going to be a server-level configuration issue. Are you on Windows or Linux? What webserver are you using (IIS, Apache, nginx, Lighttpd?) Any chance you would PM me the URL so I can troubleshoot?
-
Thanks for your response! The problem seems to only be for the homepage. It isn't happening for directories.
-
This could be part of the culprit, but generally Google is pretty good at giving domains a "benefit of the doubt" so to speak when it comes to homepage redirects. You should first figure out why the redirect from the non trailing-slash version of your page is a 302 and not a 301. This would be something likely set at the webserver level rather than in Yoast or Wordpress, and it ought to be a 301.
This is the code to make sure a trailing slash is in place for internal directories
RewriteCond %{REQUEST_URI} !(/$|.)
RewriteRule (.*) %{REQUEST_URI}/ [R=301,L]Did you notice if the same problem is true for directories as well as the homepage?
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
What all other SEO tool (along with Moz) are you using at your company / SEO Agency / Marketing Agency?
Hello Folks. Let me put it this way. Moz is great. especially, this community of like minded people. But, when it comes to Moz tool's features- it has its own Pros and Cons. And, that's what force us to add other tools to our tool kit. So, just wanted to know what all other SEO tools you use and why??? Let me start this by answering this question: I use SERPed.net as my other SEO tools suite. And the reasons are: It offers 40+ SEO tools ( Few are similar to the ones that I get with Moz, but the other ones that I don't get in Moz are real good. For ex: **Site Auditor Pro, Mobile **Prospector) Along with showing data for their metrics and algos, they pull data from- SEMrush and Majestic SEO. So, I don't need to have subscription of these 2 tools and still I get the data from them. A big money saver 🙂 Let's start this interesting thread 🙂
Moz Pro | | w1t1 -
What are the best free/low cost tools you use for SEO?
Hello! I will be giving a talk next month about free/low cost SEO tools and apps and I would like to hear what your favorite/most useful tools are. I know this question has been discussed here before, but this is a topic that is constantly evolving and I am interested in knowing what people currently find to be the best. I'd like to hear about things you really use on a regular basis--there are a lot of things out there that sound cool, but end up not being used. So, what are your go-to free SEO tools? Thank-you,
Moz Pro | | Linda-Vassily
Linda0 -
What are the restrictions/limitations to running SEO/Adwords in these countries?
What are the limitations or restrictions to running SEO/Adwords campaigns in countries such as China, South Korea, Japan, Brazil, Portugal, Spain, and Mexico?
Moz Pro | | ThomasCenterInc0 -
Social pages not lining up with my website/listing
Hi! Newbie here... 🙂 On my Moz report and I have been told that my social sites are not lining up with my webpage. Any tips on getting this done? Also on my Moz Analytic report, I've added my social sites but only facebook is coming up... Any tips would be appreciated!!! Thanks!
Moz Pro | | fullerton0 -
One Follow Link from each subdomain/domain best for SEO?
Hi there, we have a lot of customers linking to our homepage from a subdomain of our domain or from an external domain. From SEO point of view is it best that they all only have one DoFollow Link and the rest of the links are NoFollow? Or does this have no matter at all? The problem is that we have like 900.000 links but only from round about 1000 different root domains. If we put like half of the links on NoFollow our ratio of links/ different root domains gets better. Thanks for answering! Sebastian
Moz Pro | | Sebastian230 -
Last Linkscape index update: 05/30/2012
When will the next Linkscape index update occur? I've been waiting to run our backlink profile numbers, but the Last Linkscape index update was 05/30/2012? Thanks!
Moz Pro | | larahill0 -
Opensite explorer not showing facebook/twitter other sites
hello i have had my site live and indexing for 3 months however open site explorer doesn't show the facebook or twitter linkback from my corporate sites. any ideas why this would not show in opesite? it doesn't show in google WMT either. my site: http://cheap-airport-taxis.com/
Moz Pro | | smashseo0 -
Tracking 1000 Keywords / 5 Competitiors
What's the best way to track 1000 keywords for a website along with monitoring how the competition ranks for the same set of keywords. We love the SEOMoz Tools but would love to see what else is out there using which I can pull weekly reports maybe of our rankings along with those of the competition.
Moz Pro | | NakulGoyal0