[support] Do a redirect (using drupal_goto) but maintain current URL in address bar?

A clonemeagain at gmail.com
Mon Mar 29 23:58:36 UTC 2010


The http://drupal.org/project/search404 module will allow you to customise
error pages and provide results based on the url entered, for instance
domain.com/puppies/page would search for "puppies" and "page".. which may or
may not return any actual pages.. but at least you would get some results,
your menu's etc.

Customisation allows you to provide a more useful interface than a simple
404 (or blank)! and it will retain the URL.

Aaron



On 30 March 2010 10:10, Anth <malkouna at yahoo.com.au> wrote:

> Does anyone know how to do a redirect but still keeping the same URL?
> The use case is that a current url will return no results and so I want
> to redirect them to another page with some results returned, but want to
> still have it as an active address that can be typed into the address bar.
>
> TIA, Anthony.
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20100330/f2458a8a/attachment.html 


More information about the support mailing list