Products not visible on website now producing a 404 error

Posted By thopcroft Sat 10 Aug 2013
Add to Favorites0
Author Message
thopcroft
 Posted Sat 10 Aug 2013
Supreme Being

Supreme Being - (12,266 reputation)Supreme Being - (12,266 reputation)Supreme Being - (12,266 reputation)Supreme Being - (12,266 reputation)Supreme Being - (12,266 reputation)Supreme Being - (12,266 reputation)Supreme Being - (12,266 reputation)Supreme Being - (12,266 reputation)Supreme Being - (12,266 reputation)

Group: Forum Members
Last Active: Fri 31 Oct 2014
Posts: 18, Visits: 96
In the previous version we were using, when a product was not visible on the website Kartris redirected to a landing page within the store informing the customer that the product had moved - thus avoiding a 404 error. We are now using the latest version and have noticed that these products are generating a 404 error. The only way we can avoid this is to set the product as visible on the site, and hide the version. This results in the product displaying the "this product has moved" message on the product page.

This is a bit messy because we have to keep obsolete products visible to customers and presumably they are also going to be included in the sitemap. Is there another way we should be dealing with products we no longer want on the website.
Paul
 Posted Tue 13 Aug 2013
große Käse

große Käse - (509,208 reputation)große Käse - (509,208 reputation)große Käse - (509,208 reputation)große Käse - (509,208 reputation)große Käse - (509,208 reputation)große Käse - (509,208 reputation)große Käse - (509,208 reputation)große Käse - (509,208 reputation)große Käse - (509,208 reputation)

Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807, Visits: 2,748
We changed this functionality largely because a request for a product that no longer exists should really be treated as a 404 and sent a 404 Not Found header. Otherwise search engines will continue to think the item exists. They can get a bit annoyed if you return 200 OK for all pages, even ones for items that don't exist.

It's possible to change the 404 page to something a little less intimidating by editing the HTML if you like. But we'd recommend keeping it self contained without referencing other files on the site (e.g. images). Firstly, because sites can generate a lot of 404s if there are old or bad links out there in the wild, so it saves bandwidth. And more importantly, if you reference other files, then if they for some reason get deleted or renamed, you can get into a situation where your 404 page itself calls pages that don't exist and you get a chain reaction of 404s within 404s that in theory won't stop (although browsers generally do seem to cut it off).


--
If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.

If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb
404

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top