Useful 404 not found page | Extension for Opencart
Redirect users to the search page instead of 404 not found page.
When customers enter a wrong url, for example using old product name:
www.example.com/product_old_name instead of
www.example.com/product redirects the user to the search page instead of showing 404 error page with the
search=product_old_name search query.
Assume correct URL is
www.example.com/iphone_red however the customer enters
Instead of showing 404 not found, this extension will redirect the user to the search page:
www.example.com/index.php?route=product/search&search=iphonethe customer will find the iphone_red product as well as other related products.
Instead of showing a 404 page, it shows you all the products on your website that have the word iphone in them.
Not found page 1 (will redirect to the search page):
Not found page 2 (will redirect to the search page):
- Question: Is there any way to redirect not found pages to home page in opencart version 22.214.171.124 using htaccess?
- Answer: this extension does better: it redirects not found page to the search page to show some results to the customer