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
-
Unsolved The Moz.com bot is overloading my server
0 -
Missing/Duplicate Content but it's definitely all right!
We are having some issues flag up through our MOZ software on multiple pages on www.ukpods.co.uk website such as missing content, missing metatags, missing title, duplicate content, Missing/Invalid H1 but having checked and spoken to our website developer all the content is there. 1 page as an example is https://ukpods.co.uk/pods-storage/decluttering/ It says the below items are missing or invalid but you cna see they are all there in the below - are they not being picked up and read for any reason? Title: http://bit.ly/2P6v9To Description: http://bit.ly/356BkvY H1: http://bit.ly/2PrlmpU Canonical tag: http://bit.ly/355rQRU Any help would be much appreciated. Thanks!
Moz Pro | | RachelMiller0 -
Other tools to check keyword competition/difficulty
I really like the Keyword Analysis tool/process at MOZ, particularly the composite score of keyword difficulty. However, on my budget/account level I can only check 400 kw's per day and sometimes that's not enough. So my question is... What other tools do you rely on or recommend to provide a preliminary measure of competition for a keyword? Not Adwords competition, but the kind of analysis Moz does by looking at specific ranking factors like phrase the page authority, domain authority, kw in title tag, URL, anchor text, number of external links to the page, etc. Are there any other tools you'd recommend for checking those kind of competition/difficulty factors for a keyword? I know SpyFu.com, Open Site Explorer, Majestic, etc will provide backlink metrics, but hoping for something more comprehensive. Thanks!!
Moz Pro | | flyntime_tx
Mike0 -
Page Ranking by URL / Keyword
Needing to know how to find out the page rank of a URL that is NOT within the top 50 or top 100. Need to know that specific page's rank, not what our overall site's ranking for the keyword is. Can't seem to find any tool that goes beyond the top 100. Any ideas?
Moz Pro | | leankit0 -
What is the correct htaccess code for Canonicalization?
I've been working on a clients site and put up the following but when I check back on seomoz i have over 3000 errors and notices and its been crawling a silly amount of pages that don't exist!! ErrorDocument 404 /404.html Options +FollowSymLinksDirectoryIndex index.html RewriteEngine OnRewriteBase / RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index.html\ HTTP/ RewriteRule ^index.html$ http://hiperformanceautocentres.co.uk/ [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.html [L]
Moz Pro | | SeoSheikh0 -
Rankings w/ Geographic Bias
I'm looking for a way to see the right rankings with geographic bias in mind. As an example, is there a way to indicate to SEOMoz to pull Google Rankings for San Francisco. The most narrow I can get is by country which won't work for several clients. I know Linkdex does this but would love to know if SEOMoz has a similar capability? If not, does anyone know of another company besides Linkdex?
Moz Pro | | aevans720 -
What tools/software provide the most comprehensive list of backlinks to your domain?
We're currently looking for a product that has the capability of providing a comprehensive list of backlinks pointing to our domain, which currently has 400+ URLs. We've tried SEOMoz Pro, Google Webmaster Tools, and Majestic SEO. Does anyone have any recommendations or tips on getting the best report of backlinks?
Moz Pro | | Collegis_Education0 -
What is the difference between followed/no followed/ internal/ external links? And how do i improve them?
Am on a beginner level of SEO and as a pro member when i ran a report for my site i found some basic terms used. Can anyone please let me know what exactly is the difference between these terms and how important are they and how do i improve them?. or please let me know a source to find out.
Moz Pro | | NikhilM0