Maintain a list of source and destination URL's for which redirects (301 or 302) will be performed. Source URL is absolute, destination URL may be a path, or another absolute URL.
Source-destination URL pairs are stored in the variable urlrouter_array as an associative array. The actual redirect takes place in hook_boot(), so that URL routing takes place as quickly as possible.
This module will prove most useful during development of a site, for which a number of "legacy URL's" exist on one or more subdomains or domains, which will not change, but that need to be sent to new URL's. It may also prove useful as a more convenient method of creating "vanity URL's" for marketing purposes, as an alternative to editing .htaccess or virtualhost configuration.
Since redirection occurs in hook_boot(), not in hook_url_inbound_alter(), and before hook_init(), it may co-exist with Redirect, Global Redirect or other modules performing 302's and 301's.
Development sponsored by O3 World.
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Administration tools, Search engine optimization (SEO)
- Created by kris-o3 on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
