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
-
How to overcome Connection Timeout Status Error?
My website contains 110+ pages in which 70 are CONNECTION TIMEOUT while checking in Screaming Frog. Can someone help me in getting this solved? My website Home Page Sanctum Consulting.
Moz Pro | | Manifeat90 -
Spam score is 7/17
My site has a spam score of 7/17 and I'm not really sure how this happened - I think maybe when I changed my domain from Wordpress to Bluehost? It's very hard to get my site to rank in Google and I'm getting very few hits through search engines, wondering if the spam score is why? How do I fix this? The flags are: Low MozTrust or MozRank Score
Moz Pro | | Plant-Powered
The site link profile is not trustworthy. ✓ Large Site with Few Links
We found very few sites linking to this site, considering its size. ✓ Site Link Diversity is Low
The diversity of link sources to this subdomain is low. ✓ Ratio of Followed to Nofollowed Subdomains
The ratio of followed to nofollowed subdomains linking to this subdomain is outside the normal range of others in our index. ✓ Ratio of Followed to Nofollowed Domains
The ratio of followed to nofollowed domains linking to this subdomain is outside the normal range of others in our index. ✓ Small Proportion of Branded Links
Links to this subdomain have low amounts of branded anchor text. Low Number of Pages Found
Crawl only gets a valid response to a small number of pages. What will this be doing to my site and how do I make this better? Thanks!0 -
Do 302 temporary redirect harm?
Hi, It shows that there are thousands of Pages with Temporary Redirect in the moz report on our site as medium priority. How hard do they affect the site's seo performance? Thanks for any advice
Moz Pro | | LauraHT0 -
Why is Envato.com structured like it is.
Envato.com is a marketplace for various things. They act as an umbrella for 8 different websites that fall underneath them and each one offers a specific thing. Is there any SEO benefit to doing this? Wouldn't it have been better off for them build all of these into envato.com. i.e. envato.com/themeforest as opposed to the current ThemeForest.net The only thing I can think of really is branding? Let's assume that they didn't do this because they needed space to house all of the digital data or anything like that.
Moz Pro | | HashtagHustler0 -
Rank Checker Tool Status
Hi I take it the Rank Checker tool is not working right yet as I'm getting bizarre ranks for some of my keywords. Some stating 50th when I know we're on the first page for instance, even using GA > search engine optimisation the averages for this term for instance is 11th across all countries. If this is the case and its still being redeveloped I'll just skip the tool for now Cheers David
Moz Pro | | David-E-Carey0 -
Keyword Difficulty / Search Volume
Hello all, What do you think about using Keyword Difficulty divided by Search Volume as an alternative to keyword efficiency indexes? ETA: Obviously this wouldn't be a hard and fast metric, but a general indicator to be taken into account along with other data.
Moz Pro | | wattssw0 -
Why would Open Site Explorer say some internal links are images when in the source code they're text?
Hi, All! I was looking at OSE for one of my client's site's pages, and I saw that all internal links were said to be images. I was pretty sure their menu was CSS, and all the links were text. So I did "fetch as Googlebot" and looked in the resultant code of one of the homepage to see the main navigation bar. The navigation link for one of those pages looked like this: `onmouseover="doMenu2on(this);">[](http://www.mysite.com/solution_sub.asp?ID=8)` [``` <code>![](images/arrow6.gif)Anchor Text Here</code> ```](http://www.mysite.com/solution_sub.asp?ID=8) ``` The nav link for a page that does show internal anchor text in OSE looks like this: onmouseover="doMenu2on(this);">[](http://www.mysite.com/solution.asp?ID=5) [```
Moz Pro | | debi_zyx
<code>Anchor Text Here</code> So there is an image in the link (it's the little arrow before the text to indicate a sub-category), but the anchor text comes right after it. Is Linkscape (and therefore potentially Google) seeing them as two different links to the same page and only counting the first? But it's all wrapped within the same <a></a>tags. Any ideas on if this is a bug in Linkscape, or a real issue, and what should be done? Thanks! Aviva``0 -
How to handle crawl diagnostic errors for the same url. /products & /products/
I have copied on of the errors out of the crawl diagnostics report. Both /products and /products/ are returning an error, and both have pretty good domain authority so I feel like its hurting my site that these show up this way. Both urls create the same page, should I just setup a 301 on the /products with no slash or will that cause more harm... I am using the MODx cms system and that could have something to do with it. | Products | Datalight http://www.datalight.com/products 1 37 5 Products | Datalight http://www.datalight.com/products/ | 1 | 30 | 1 |
Moz Pro | | tjsherrill0