Patch for adding some extra features

FiNeX - August 7, 2009 - 14:49
Project:Search 404
Version:6.x-1.7
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

Hi! I've found this module very useful.

I've patched it for adding three more important features:

- Use a redirect 301 instead of redirect 302;
- Disable the warning message when an user is redirect to a search result;
- Custom page if no nodes has been found.

I use this features for SEO purposes. The patch is valid for version 6.x-1.7.

What do you think about this features?

AttachmentSize
search404_improvements.patch9.24 KB

#1

FiNeX - August 8, 2009 - 15:42

Probably the patch could be improved returning a 404 instead of a 301 for the custom page redirect.

#2

FiNeX - August 11, 2009 - 07:57

I've updated the patch: now it returns a 404 when it redirects to the custom page. Moreover I've fixed a small bug I've introduced.

AttachmentSize
search404_improvements-2.patch 9.26 KB
 
 

Drupal is a registered trademark of Dries Buytaert.