0

Sometimes when people click on a search result that has a broken URL like https://www.example.com/catalogsearch/result/ or https://www.example.com/catalogsearch/result/?q= they will get taken to a 404 or 503 page.

Sometimes it will show the Maintenance page like so:

We’ll be back soon! This website is currently undergoing scheduled maintenance and will be back online shortly. Thank you for your patience.

I just want to redirect these type of broken search links back to the homepage but the URL Rewrites don't seem to work in this case.

Request Path = /catalogsearch/result/ Target Path = https://www.example.com

Redirect Type = Permanent (301)

Any ideas why it's not working? Any help would be greatly appreciated.

Magento 2.3.3-p1 Commerce Cloud

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.