Drupal Search Single Result Redirect

2007 December 25

A snippet of code that will automatically redirect searches that would display only one search result so that they do not show the search results page but instead immediately and automatically redirect to the first result.

To use it, add it to your active theme's template.php file and replace themename with the name of your theme.

read more…


Comments are closed.

%d bloggers like this: