Pages giving both 200 and 302 reponce codes?
-
We are having some issues with response codes on our product pages on our new site. It first came to my attention with the mozbot crawl which was picking up 1000s of 302 redirects, but when I checked them manually there was no redirect (and even the moz toobar was giving a 200 status)
I then check with this tool
http://tools.seobook.com/server-header-checker/?page=single&url=https%3A%2F%2Fwww.equipashop.ie%2Fshop-fittings-retail-equipment%2Fgridwall%2Fgridwall-shelves%2Fflat-gridwall-shelf.html&useragent=2&typeProtocol=11
And its showing that there are 2 responses at 302 and a 200 ( but with the same bot under googlebot setting only shows the 200 status). I'm also getting no warning about it in WMTsDoes anyone know what's happening here and how worried about it should I be as it seems goggle is using only the 200 status
btw the developer thinks it something to do with how the browser is handling the canonicallink, but I'm not convinced
Thanks
-
just an update, its seems others have had this issue too. We have been able to change the 302 to a 301 (magento defaults to 302 by default, this can be changed under configuration, web, url options). I think the redirect something to do with the "Redirect to CMS-page if Cookies are Disabled", even though its set to "no" its seems its redirecting to the canonical instead.
Ultimately I think the solution is under the "Use Categories Path for Product URLs" which is set to "yes" by default, this make the product urls the same at the canonical (which what google is indexing anyway)
-
Thanks for that Dirk, there should be no redirect at all, let alone a 302 redirect, but now I have a good idea what's going on thanks
-
Hi,
The message you get from the seobook tool is quite straightforward - trying the url https://www.equipashop.ie/shop-fittings-retail-equipment/gridwall/gridwall-shelves/flat-gridwall-shelf.html generates a 302
Then the tool tries the redirect url (https://www.equipashop.ie/flat-gridwall-shelf.html) - which gives status 200.
When I visited the site myself - on first visit - I was redirected to https://www.equipashop.ie/flat-gridwall-shelf.html - when I tried a second visit - I remained on https://www.equipashop.ie/shop-fittings-retail-equipment/gridwall/gridwall-shelves/flat-gridwall-shelf.html
I tried again using Incognito browsing - and again I was redirected. I think it has something to do with your cookie settings - when I disable cookies I am always redirected.
Hope this solves your question. Apart from that, if you want to redirect the URL - it's better to use a 301 than a 302
rgds,
Dirk
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
-
Page ranked then disappeared
Recently there have been a a couple of pages form my website that ranked well, in top 5 for a couple of days then they disappear suddenly, they are not at all seen in google search results no matter how narrow I search for them. I checked my search console, there seems to be no issues with the page, but when I check google analytics, I do not get any data from that page since the day it disappeared, and it does not even show up on the 'active pages' section no matter I keep the url open in multiple computers.
Technical SEO | | JoelssonMedia
Has anyone else faced this issue? is there a solution to it?0 -
302 a Homepage?
I am working with a site that wants to temporarily show a promotional landing page instead of their homepage. Theoretically you could do a 302, but what are the SEO implications of doing such a thing? I would appreciate any first hand experience or feedback on the idea. Ultimately it will not be my decision, but I do have influence. As a side note, there homepage is a mess (visually displeasing) and they really need a new website. This is one of the reasons that they are leaning this way. Thanks in advance for the feedback.
Technical SEO | | JerrodDavid0 -
If I want clean up my URLs and take the "www.site.com/page.html" and make it "www.site.com/page" do I need a redirect?
If I want clean up my URLs and take the "www.site.com/page.html" and make it "www.site.com/page" do I need a redirect? If this scenario requires a 301 redirect no matter what, I might as well update the URL to be a little more keyword rich for the page while I'm at it. However, since these pages are ranking well I'd rather not lose any authority in the process and keep the URL just stripped of the ".html" (if that's possible). Thanks for you help! [edited for formatting]
Technical SEO | | Booj0 -
Page not cached
Hi there, we uploaded a page but unfortunately didn't realise it had noindex,nofollow in the meta tags. Google had cached it then decached it (i guess thats possible) it seems? now it will not cache even though the correct meta tags have been put in and we have sent links to it internally and externally. Anyone know why this page isn't being cached, the internal link to it is on the homepage and that gets cached almost every day. I even submitted it to webmaster tools to index.
Technical SEO | | pauledwards0 -
Translating Page Titles & Page Descriptions
I am working on a site that will be published in the original English, with localized versions in French, Spanish, Japanese and Chinese. All the versions will use the English information architecture. As part of the process, we will be translating the page the titles and page descriptions. Translation quality will be outstanding. The client is a translation company. Each version will get at least four pairs of eyes including expert translators, editors, QA experts and proofreaders. My question is what special SEO instructions should be issued to translators re: the page titles and page descriptions. (We have to presume the translators know nothing about SEO.) I was thinking of: stick to the character counts for titles and descriptions make sure the title and description work together avoid over repetition of keywords page titles (over-optimization peril) think of the descriptions as marketing copy try to repeat some title phrases in the description (to get the bolding and promote click though) That's the micro stuff. The macro stuff: We haven't done extensive keyword research for the other languages. Most of the clients are in the US. The other language versions are more a demo of translation ability than looking for clients elsewhere. Are we missing something big here?
Technical SEO | | DanielFreedman0 -
Getting More Pages Indexed
We have a large E-commerce site (magento based) and have submitted sitemap files for several million pages within Webmaster tools. The number of indexed pages seems to fluctuate, but currently there is less than 300,000 pages indexed out of 4 million submitted. How can we get the number of indexed pages to be higher? Changing the settings on the crawl rate and resubmitting site maps doesn't seem to have an effect on the number of pages indexed. Am I correct in assuming that most individual product pages just don't carry enough link juice to be considered important enough yet by Google to be indexed? Let me know if there are any suggestions or tips for getting more pages indexed. syGtx.png
Technical SEO | | Mattchstick0 -
Why the number of crawled pages is so low¿?
Hi, my website is www.theprinterdepo.com and I have been in seomoz pro for 2 months. When it started it crawled 10000 pages, then I modified robots.txt to disallow some specific parameters in the pages to be crawled. We have about 3500 products, so thhe number of crawled pages should be close to that number In the last crawl, it shows only 1700, What should I do?
Technical SEO | | levalencia10