Closed (won't fix)
Project:
Search 404
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2010 at 10:20 UTC
Updated:
1 Jul 2012 at 20:06 UTC
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