Hi,
Is there a possible in Search 404 to redirect the visitor, when no result is found ?
You have integrated the option to redirect the user to the first search result, but when no result is found, i want to redirect to frontpage.
best regards
Tom
Hi,
Is there a possible in Search 404 to redirect the visitor, when no result is found ?
You have integrated the option to redirect the user to the first search result, but when no result is found, i want to redirect to frontpage.
best regards
Tom
Comments
Comment #1
jr-ewing commentedThe solution based on search404-6.x-1.x-dev.tar.gz from 2010-Jul-18:
search404.module
-------------------------------
Replace Line 125:
with:
-----------------------------
ADD Line 224
Thats all - and working fine for me
best regards
Tom
Comment #2
zyxware commentedThere is a problem with this. The redirection will return a status code of 301 and 302 instead of a 404 and this would defeat the purpose.
Comment #3
zyxware commented