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 -
URL Parameters causing duplicate content - Login/Registration page
All, I just recently acquired a new client and right away I noticed an abundance of duplicate content being recorded after the moz crawl diagnostics was completed. After a quick digest of the issue, it seems that the majority (90%) of the outlined duplicated content is stemming from the client's Login/Registration page. Upon clicking (without being logged-in) any asset or forum discussion board link within the site, the user is automatically redirected to the Login/Registration page, which seems to create this massive redirect loop associated with dynamic url parameters. Ex. After clicking on a select internal link (asset or discussion board) the user is redirected to the Login/Register page which presents the page and a URL that looks a lot this this: Ex. 1 https://www.clientsite.com/register-login?ReturnUr...xxxx%xxxx%xxxx%...... Ex. 2 https://www.clientsite.com**/register-login?returnurl=/register-login?returnurl=/register-login?returnurl=/page-titl**e/ These URLs seem to becoming larger and larger... The client wants to ensure users have to Login/Register within their site before they're allowed to view the content. This process doesn't allow for any type of preview page to be viewed by a user prior to clicking on the internal link, which in turn doesn't allow any preview pages to be indexed. Right now, Moz is picking up all of the redirect and labeling them as duplicate page content/duplicate page titles based on the Login/Registration page. Questions/Comments: Would it be wise to create preview pages for the asset pages and discussion board pages to allow for proper indexing? - Could this be a CMS issue? Current being used on this is, Kentico. There are thousands of pages being recorded in the crawl as duplicate, however only 14 seem to be indexing with duplicate title tags. 301 or canonical redirect strategy? Moz crawl data issue? Again, this is my first look at this issue, so more information is bound to come out soon! Please let me know if anyone has run into this issue and if you have a possible solution to get rid of this redirect loop process. Thanks! -T
Moz Pro | | MattLacuesta0 -
Wild Fluctuations With Yahoo/Bing Moz Report
Whenever I get my weekly custom report, I usually see steady but moderate gains in Google or slight drops 1 to 3 spots. But, with Yahoo/Bing it's just crazy. +25 here, -47 here, etc, etc. Also, we even have keywords that we rank in the top 3 on with google, but not the top 50 with Bing or Yahoo. Not sure how that's possible. Nor do I understand how if Bing powers Yahoo, how we can have reports that show a dramatic increase (or decline) in Bing, but the opposite in Yahoo. Granted, not all the rankings are like that for Bing and Yahoo, but there are so many discrepancies, I'm starting to wonder if it's a software problem or something. Does this happen to anyone else? Thanks, Ruben
Moz Pro | | KempRugeLawGroup0 -
Exact match .ORG/.INFO vs. all query terms .COM - proof?
Hello world 🙂 I have searched among tons of quality articles here on forums, but surprisingly I haven't found topic that goes into the deep water when it comes to a specific KW rich domain problem. Let me first state that I'm mainly based this topic on the information found in following blog posts by randfish (that guru with the beard). http://www.seomoz.org/blog/exact-match-domains-are-far-too-powerful-is-their-time-limited and http://www.seomoz.org/blog/google-vs-bing-correlation-analysis-of-ranking-elements My questions is only related to RANKING aspect of the domains - NOT how is sounds, smell or dance. As all good simple .COM KW domain combinations are already taken, only thing that is left is to be a bit creative using non .COMs exact match, hyphens .COM exact match, all query terms .COM with a letter or word added etc. QUESTION and case study I found a good keyword phrase, let us called it 'super domain' with low competition & high monthly searches and great revenue possibilities. Naturally, first step is to acquire a exact match .COM domain (EMD). But, of course, that is not possible because 'superdomain.com' and super-domain.com has already been taken by some greedy domain broker waiting someone to pay $1.000.000 for it. Not an option. What options do I got? OPT1) superdomainA.COM (keyword phrase with added 'A' at the end) OR OPT2) superdomain.ORG/NET/INFO (keyword phrase on non .COM TLD) I couldn't find any studies with test and clear results regarding this subject. This is VERY important because, regarding to the links I posted, there is a 0.10 better correlation if choosing OPT1) superdomainA.COM, even if using exact match domain OPT2) superdomain.ORG/NET. But they haven't been cross tested in that results in the same post. So it's big '?' sign to me. As SEO market is getting more and more competitive, it is important to not leave anything to chance. I would appreciate if randfish, or anybody else could give some inputs about this. Thanks in advance!
Moz Pro | | RetroOnline0 -
Why aren't canonical tags reducing duplicate page title/content?
We have canonical tags set up for a feature page on one of our sites. This site has an image gallery controlled by javascript. To aid the user experience the image can also be specified by a URL parameter (the javascript also uses this URL to fetch the images). The SEOMoz report complains that the links to these images have duplicate page titles and content. To try and combat this we set canonical tags to point only to the original page, without the slideshow parameter. e.g. http://www.example.com/feature-page/ http://www.example.com/feature-page/?slideshow=1 -> canonical tag set to http://www.example.com/feature-page/ http://www.example.com/feature-page/?slideshow=2 -> canonical tag set to http://www.example.com/feature-page/ The latest SEOMoz report has come back and the errors still exist. What can we do to remove these error messages? Thanks
Moz Pro | | TJSSEO1 -
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 -
Mozbar export of serp overlay as csv not opening on Mac OS w/FF.
Its works on my (virtual) Window based machine in FF. And when I open that same file on my Mac OS, it works! However, when downloading the overlay data to csv on my Mac OS in FF, i get a super long file name & then the file won't open? Shows -5000 error? Both in Excel and Open Office. Any ideas? Both new version of Excel & Mozbar.
Moz Pro | | josey1 -
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