I have a use case where I rather would show a real 404 page (and return code) instead of showing the search page.

I deleted some subpages, but still get a lot requests for them from bots. So I rather would show them a 404 instead of searching for something that isn't there...

So I thing of such a box of exceptions like they are configurable whether you use a wysiwyg editor or not for some pages..

Comments

finex’s picture

The idea is very interesting!

zyxware’s picture

Version: 6.x-1.9 » 7.x-1.x-dev
hamburger’s picture

Issue summary: View changes

The possibility to add exceptions to Search404's normal behavior would be a great addition to the module.

Displaying a 404 page or allowing redirection to a specific page. I can't get the redirect module and search404 working correctly simultaneously.

anish_zyxware’s picture

So, is it ok to include a configuration for an exclustion list where the path is not handled by search404?

anish_zyxware’s picture

Assigned: Unassigned » anish_zyxware
Status: Active » Needs work
hamburger’s picture

@anish_zyxware Yes, this would solve our issues - and will help us better handle edge cases.

arjun_sreekumar’s picture

arjun_sreekumar’s picture

StatusFileSize
new1.85 KB
anish.a’s picture

Status: Needs work » Needs review
anish.a’s picture

Status: Needs review » Reviewed & tested by the community

Tested, reviewed the code and found that its working fine.

anish.a’s picture

Status: Reviewed & tested by the community » Closed (fixed)

Merged the code.

anish.a’s picture