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?
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
-
Should I set blog category/tag pages as "noindex"? If so, how do I prevent "meta noindex" Moz crawl errors for those pages?
From what I can tell, SEO experts recommend setting blog category and tag pages (ie. "http://site.com/blog/tag/some-product") as "noindex, follow" in order to keep the page quality of indexable pages high. However, I just received a slew of critical crawl warnings from Moz for having these pages set to "noindex." Should the pages be indexed? If not, why am I receiving critical crawl warnings from Moz and how do I prevent this?
Moz Pro | | NichGunn0 -
What is the best way to add a noindex./nofollow meta tags to tags in a blog?
Could anyone tell me the best way to add noindex./nofollow meta tags as I have around 12 duplicate tags in a blog. I have the Yoast SEO plugin - unpaid version.
Moz Pro | | SEM_at_Lees0 -
Poor quality PDF exports from analytics.moz.com
The new reports look great http://analytics.moz.com/dashboard/overview/ But when I export to PDF, the text is low quality and images are low quality. Not as good as the old report. In fact, the PDF is such low quality we are not providing them to our customers. We're using the old reports. ETA for HQ PDF Export please?
Moz Pro | | OPUS-Cambodia0 -
Geo / Location-Based Local or City Level Rank Tracking in SEOmoz
Is location-based rank tracking going to be a feature in SEOmoz any time soon? I've seen in a few other company's tools that I can select a city in which to center the search around, for example... if I track the keyword "pizza" and set it to check rankings for "Seattle", it would give me different results than I've I selected "Milwaukee". The reason for the variation in results is due to maps listings in the results sometimes. So, my question is, will location-based rank tracking be coming to SEOmoz soon? Scott
Moz Pro | | OrionGroup0 -
Keywords for Whatafy.com
Hi guys, I own whatafy.com, we translate the articles from my romanian website dli.ro. I'm working on a script for subdomain ask.whatafy.com Whatafy = We Have All The Answers For You Now i'm stuck in seomoz, because as you can see we have articles from over 40 domains, and is a general online magazine with articles. What keywords should i use for main domain ? What competitors to enter in those 3 options so i can track and beat them. Should i make another campaign for ask.whatafy.com when is ready ? or the main campaign have some options to track subdomain to ? I have same situation with dli.ro where in subfolders i have different scripts like, web directory, companies listing, dreams interpretations, illustrated jokes, text jokes, driving licens test, online test for fun, postcodes, wheater, big forum, maps, ecards etc. Is a big portal with everything, and for each subfolder i targeted severel keywords, i need to make a campaign for each folder ?
Moz Pro | | whatafy0 -
DA/PA against PR
Hi, Very quick question. If the DA/PA of a website is 70/80+ I would assume the PR would be 5+. I have come across this DA/PA 70/80+ and PR 2. First is the DA/PA not connected in anyway to PR from the metrics they take into account? Secondly which one would you go for if you had to choose one: 1. DA/PA 60+ and PR 2 2. DA/PA 30+ and PR 4 Thanks
Moz Pro | | activitysuper0 -
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 -
SEOMoz Campaign shows Warnings for pages with >200 and <300 links
We currently use SEOMoz's campaign tool to review the SEO progress of our site. One thing we are unsure of is that SEOMoz gives us a warning for over 1000 of our pages because we have around 200 links on those pages (all in the Menu Drop Downs). I read the post and watched the video, Whiteboard Friday Flat Site Architecture a while ago and Rand mentioned there is no issue with having a web page with 200 to 300 links and he even encouraged it. So why would these show up as warnings in our Campaign?
Moz Pro | | PBCLinear0