Server return 404 and 200 status
-
Dear All,
We have a website where we are showing some products. Many times it happens when we remove any product and add that again later. In our site, we have product list page and detail page. So if any product get deleted and client hits the detail page with deleted product url, then we are returning 404. Next time when that product will be available our server will return 200.I have two questions :
1. Is is right way to deal with deleted product ?
2. After deploying it, we observed that our keywords ranking is going down, is that really affect ?
Thanks,
Om -
Then 404 is the correct way to handle it.
You should also be sure that you clean up any internal links to these pages after they are gone. Search engines can understand other sites linking to pages that are no longer available but they do frown on your own site sending users to missing pages.
-
Hi,
Nice comments. But one thing, since our site have millions of products and may be most of them we wont get back. So in that case, the url already indexed should get removed and should not crawl again. Thats why we were returning 404, so that crawler will understand that url is no more valid.
Thanks,
Om
-
Hi Sunit,
Stephanie Chang wrote a nice blog post about how to handle this situation here on Moz.
She points out there is no right way to do this. I however really like the option to leave the page and content on the site but mark the product page as out of stock, or unavailable right now. I used to run my own e-commerce store and I had many items that were purchased from overseas. At times I could not get an accurate re-stock time from my suppliers due to language and international challenges. My solution was to create and out of stock (email me when available again) notice. I found when those products did come back in stock, that started selling again quickly do to the emails that went out.
The other thing Search Engines don't particularly like content that comes and goes so that may be why you noticed a hit in some pages.
Hope that helps,
Don
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
-
Search pages showing up as soft 404 in WMT
Hi ....we are getting allot of "site search" pages showing up in wmt as soft 404's and wanted to know what the best would be to stop this. All search pages are already noindex follow but maybe we should block them in robots txt as well. Would the below help to solve this ? User-agent: *
Technical SEO | | nomad-202323
Disallow: /?s=
Disallow: /search/ Any other suggestions or direction would be appreciated to prevent these pages showing up as soft 404's tks0 -
60,000 404 errors
Do 404 errors on a large scale really matter? I'm just aware that I now have over 60,000 and was wondering if the community think that I should address them by putting 301 redirects in place. Thanks
Technical SEO | | the-gate-films0 -
Soft 404's on a 301 Redirect...Why?
So we launched a site about a month ago. Our old site had an extensive library of health content that went away with the relaunch. We redirected this entire section of the site to the new education materials, but we've yet to see this reflected in the index or in GWT. In fact, we're getting close to 500 soft 404's in GWT. Our development team confirmed for me that the 301 redirect is configured correctly. Is it just a waiting game at this point or is there something I might be missing? Any help is appreciated. Thanks!
Technical SEO | | MJTrevens0 -
GWT giving me 404 errors based on old and deleted site map
I'm getting a bunch of 404 crawl errors in my Google Webmaster Tools because we just moved our site to a new platform with new URL structure. We 301 redirected all the relevant pages. We submitted a new site map and then deleted all the site maps to the old website url structure. However, google keeps crawling the OLD urls and reporting back the 404 errors. It says that the website is linking to these 404 pages via an old outdated sitemap (which if you goto shows a 404 as well, so it's not as if Google is reading these old site maps now). Instead it's as if Google has cached the old sitemap but continues to use it to crawl these non-existent pages. Any thoughts?
Technical SEO | | Santaur0 -
Sitemap issue - Tons of 404 errors
We've recreated a client site in a subdirectory (mysite.com/newsite) of his domain and when it was ready to go live, added code to the htaccess file in order to display the revamped website on the main url. These are the directions that were followed to do this: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory and http://codex.wordpress.org/Moving_WordPress#When_Your_Domain_Name_or_URLs_Change. This has worked perfectly except that we are now receiving a lot of 404 errors am I'm wondering if this isn't the root of our evil. This is a WordPress self-hosted website and we are actively using the WordPress SEO plugin that creates multiple folders with only 50 links in each. The sitemap_index.xml file tests well in Google Analytics but is pulling a number of links from the subdirectory folder. I'm wondering if it really is the manner in which we made the site live that is our issue or if there is another problem that I cannot see yet. What is the best way to attack this issue? Any clues? The site in question is www.atozqualityfencing.com https://wordpress.org/plugins/wordpress-seo/
Technical SEO | | JanetJ0 -
Index page 404 error
Crawl Results show there is 404 error page which is index.htmk **it is under my root, ** http://mydomain.com/index.htmk I have checked my index page on the server and my index page is index.HTML instead of index.HTMK. Please help me to fix it
Technical SEO | | semer0 -
How do you know when to upgrade hosting to VPS or Dedicated Server from an SEO perspective?
From an SEO perspective, how do you know when to upgrade web hosting to VPS or Dedicated Server? Added: We have a Dedicated IP Address and plenty of bandwidth and disk space. We've done a lot of work on page speed. What we don't need is slow-downs due to the sharing space. Our business is seasonal with much higher traffic for three months of the year. I'm leaning towards moving it up a notch. What is the next level after this? And yes, our web host just confirmed that some of the things I want to implement can't be done because we are on a shared server. He recommended going to Dedicated Hosting. And finally: If we want to be absolutely positive that shared hosting problems won't affect us, and to customize, and also to increase speed, dedicated server seems to be the way to go?
Technical SEO | | zharriet0 -
I have a SERP result thats started returning a dud URL all of a sudden, any ideas why?
SERP "French Furniture" in google.co.uk The URL thats started to be returned P7 is <cite>www.thefurnituremarket.co.uk/ categories.asp?cat=</cite> The meta description is relevant however our CMS system 'ecommerce templates' has some code in it to return a dynamic meta description dependant on what catergory is being searched. It seems that the meta description is being populated from our french furniture category but the URL is not dynamic.. This has only started happening this past week. usually the url http://www.thefurnituremarket.co.uk/french_furniture.asp is returned. in WMT is is nicely indexing with 5 links... on it's own... Any ideas?
Technical SEO | | robertrRSwalters0