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
-
Receiving incorrect data for eFurnitureHouse.com recently migrated from Network Solutions to Big Commerce
We have recently migrated www.eFurnitureHouse.com from Network Solutions to Big Commerce. The Crawl data we are receiving from MOZ is stating (missing meta description) for product categories. However, the meta description is there. On WMT ( HTML improvements) we are receiving 1000s of (Pages with duplicate meta descriptions). However, when you click on older URL it correctly redirect to new. On WMT ( HTML improvements) we are also receiving 1000s of ( pages with duplicate title tags) We would greatly appreciate any help here. Regards, Tony
Moz Pro | | OCFurniture0 -
How to Combine the Moz Keyword Difficulty Tool with Google Keyword Planner for LOCAL (city/town) Results
Hi there, I wish that Moz would show local (city/town) results in their Keyword Difficulty Tool. But they don't, so here's my question: I'm trying to rank for keywords "interior design" in a local geographic area in the US. When using Google KWP, I'm selecting all the towns I want to rank in, and searching against the keywords INTERIOR DESIGN. The search volume appears to be approx. 370 a month. What I'm not sure about is whether I should instead (or in addition to), be searching for INTERIOR DESIGN (CITY), and leaving the geographic selection as US. What is most accurate? OR...should I search for INTERIOR DESIGN (CITY) in Moz's Keyword tool? How do you guys do it?
Moz Pro | | lulu710 -
MOZ TEAM - your system done broke my status as a guru
Dear MOZ TEAM - WHY, when I have 2990 moz points, and my profile shows guru, does my profile banner in the Q&A itself now say ASPIRANT? Such a cruel world this has become ! I know I've wanted all along to have you come up with any title other than "guru" because that word is so dreaded in our world. Yet seriously - aspirant? I feel like Roger got drunk one night and decided "let's tease Alan"...
Moz Pro | | AlanBleiweiss0 -
History of first page/top3 rankings
Is there a way to see a graph of the history of these two metrics that are displayed on semoz?
Moz Pro | | santiago230 -
Need to find all pages that link to list of pages/pdf's
I know I can do this in OSE page by page, but is there a way I can do this in a large batch? There are 200+ PDF's that I need to figure out what pages (if any) link to the PDF. I'd rather not do this page by page, but rather copy-paste the entire list of pages I'm looking for. Any tools you know of that can do this?
Moz Pro | | ryanwats0 -
Site is showing forwarded /301 to another website
My site http://riyas.in is showing a 301 redirect or a forward to http://flicker.com/muhammedriyas . I had done a 301 redirect long before from my site to this domain, but i removed that after 2-3 days. Please help me to solve this problem. I attached a screen shot seomoz1.jpg
Moz Pro | | riyas_0 -
The Site Explorer crawl shows errors for files/folders that do not exist.
I'm fairly certain there is ultimately something amiss on our server but the Site Explorer report on my website (www.kpmginstitutes.com) is showing thousands of folders that do not exist. Example: For my "About Us" page (www.kpmginstitutes.com/about-us.aspx), the report shows a link: www.kpmginstitutes.com/rss/industries/404-institute/404-institute/about-us.aspx. We do have "rss", "industries", "404-institute" folders but they are parallel in the architecture, not sequential as indicated in the error url. Has anyone else seen these types of error in your Site Explorer reports?
Moz Pro | | dturkington0