Prestashop 404 Fix for disabled Products
Optimize your product page SEO, by fixing the 404 errors of the disabled products.
We all have this problem, there are many products that are no longer for sale and when we disable the products, the search engines give 404 errors because the pages do not exist anymore.
There are 301 alternatives that redirect to the parent category, but it’s confusing for the user and it does not retain 100% SEO juice.
With this solution, you will be able to retain 100% or your page juice, redirect the user to the main category after a time of your choosing and best of all, the user will know exactly what is happening.
Fix the 404 errors when products are disabled without a redirect
Retain 100% SEO juice of disabled products
Custom message for your customers, that tell your clients that the product is no longer for sale
Countdown timer until user is redirected
Disabled products do not appear in the search
Disabled products do not appear in category listing or any other listing
Disabled products detail page appears as any other page but with a custom message that tells the customer, the product is no longer for sale.
Install the module as any other
Go to the module configuration page
There are 2 sections:
4. After the installation & configuration, disable all the products and check if everything is setup as you require.
“Enable Disabled Products Override” – If you wish to turn on this module, make sure this is set to YES.
“Auto redirect” – If you wish to automatically redirect the user after a period of time, make sure this is set to YES.
“Redirect time” – The redirect time, after which time to redirect the customer to the category page
“Redirect message” – What message will the customer see until he is redirected
“Message display” – How to display the message on the product page
Floating Top – will display the message FIXED on the top of the page
Floating Bottom – will display the message FIXED on the bottom of the page
Popup & Overlay – will display an overlay over the whole website, with your message
In the design tab you can configure colors, font-size, etc.
Make sure you read the description of every field to make sure you understand
For the module to work, you must make sure that the ProductController init() function is not overwritten by another module, in the case that it is, you will get a installation error and you should contact your developer to manually make the merge between the two overrides, or you could just contact us
Make sure that your shop allows overrides