Does it matter? 404 v.s. 302 > Page Not Found
-
Hey Mozers,
What are your thoughts of this situation i'm stuck in all inputs welcome
I am in the middle of this massive domain migration to a new server. Also we are going to be having a very clean SEO friendly url structure. While I was doing some parsing and cleaning up some old urls I stumbled upon a strange situation on my website.
I have a bunch of "dead pages" and they are 302'd to a "page not found" probably a old mistake of one of the past developers. (To clarify the HTTP Status code is not 404)
Should I try to fight to get all these "dead pages" a 404 error code or could I just leave the temp redirect 302 > "page not found" ( even though I know for a fact theses pages are not going to turn on again)
-
Ya, that's a mess. Either 301 to a live page or let the 404 be delivered on its own.
-
Looks like my stystem is set up to 301 to a 404. Which do you think Google with honor? (the 301 or the 404)
Also wouldn't having a 301 to a 404 keep bots crawling our server because its a redirect instead of the server providing a 404 or 410
-
Depending upon how many you have (you said "a bunch"), there are multiple ways of fixing this.
If you are using a CMS, you can install a universal 404 handler, which will either direct a 404 page to the top level menu item of that group, or to the home page. If using a asp or html, I'm sure a decent developer could code one up for you.
If the dead pages are ranked (indexed) pages, I would make sure they forward to the new page that exists on your new server.
-
It sounds like they're 302'ing to a 200 instead of a 404 to a page that says, "page not found"... In that case, you should get them to be legitimate 404s or 410s. A custom 404 page would be a nice touch as well to help clean up the navigation.
By the time you migrate (via 301) you could point these to the most applicable section of your new site where they should have pointed on the old site and be pretty much done with your clean up.
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
-
Google not showing the recent cache info: How to know the last cached version of a page?
Hi, We couldn't able to see the last Google cached version of our homepage after March 29th. Just wondering why this is happening with other websites too. When we make some changes to the website, we will wait to our website indexed and cached, so the changes will have some ranking impact. Now we couldn't able to check if the website got indexed with changes. Is there any other way to check the latest cached version or time of last index? Thanks
Algorithm Updates | | vtmoz0 -
Canonicals from sub-domain to main domain: How much content relevancy matters? Any back-links impact?
Hi Moz community, I have this different scenario of using canonicals to solve the duplicate content issue in our site. Our subdomain and main domain have similar landing pages of same topics with content relevancy about 50% to 70%. Both pages will be in SERP and confusing users; possibly search engine too. We would like solve this by using canonicals on subdomain pointing to main domain pages. Even our intention is to only to show main domain pages in SERP. I wonder how Google handles it? Will the canonicals will be respected with this content relevancy? What happens if they don't respect? Just ignore or penalise for trying to do this? Thanks
Algorithm Updates | | vtmoz0 -
Does Google considers the cached content of a page if it's redirected to new page?
Hi all, If we redirect an old page to some new page, we know that content relevancy between source page and this new page matters at Google. I just wonder if Google is looking at the content relevancy of old page (from cache) and new page too. Thanks
Algorithm Updates | | vtmoz0 -
Header Structure In Product Gallery Page
Hi Everyone, Should product names have an H2 header tag on a gallery page? (H1 already optimized) Why or why not?
Algorithm Updates | | JMSCC0 -
Google Adding / Manipulating Page Meta Titles?
We have a client who is experiencing some heavy google modification to the title tags being displayed on the search engine. It is adding "- 0 Reviews" to an ecommerce site. Obviously a bad start. There were no instances of these keywords anywhere on any of these pages, header tag or otherwise (on only a handful of the affected pages there was a single commented out image with an alt tag 0 reviews - but it was commented out and since removed) We have attempted to rewrite the title multiple times and it will modify the title but still include the non-relevant addition. Has anyone ever experienced anything like this?
Algorithm Updates | | Spindle0 -
What do media queries have to do with the page layout update?
Who thinks the lack of media queries will have an impact on whether the page layout update affects a site?
Algorithm Updates | | kimmiedawn0 -
Undertanding Google's PMD (Partial Matching Domain) policy...
Hi, If your business name contains keywords, is that an issue? Some companies, have keyword based brand names... So what is Google's policy regarding EMD or PMD? What happens when the company name has a keyword in it? If anyone could help clarify, I would appreciate it. Thanks, Ben
Algorithm Updates | | bjs20100 -
FB Like and G+ on page transferred ?
Hi , As we all know that social signals like FB Like and G+ give a boost to the search engine rankings. I have several pages we have garnerd 100s of FB likes with a 10s of G+ . Now i want to reorganize my site to so that the contents of the blog would be having a different URL . So i have planned for 301 redirections for the older content to the newer ones. But does the FB Like and G+ also move along with the 301 redirection ? If not whats is the best way to handle this... Warm Rgds Avinash MB
Algorithm Updates | | ShoutOut0