Legacy Redirect

Categories

Component ID

1830462

Component name

Legacy Redirect

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

1545

Component created

Component changed

Component body

Use this module if you have an older site that did not make use of clean_urls.

This module adds support for Drupal urls that use the index.php?q=path/to/page style and will forward those requests to their new url. This avoids breaking links which may have been indexed by Google or saved as bookmarks. All forwarded links are sent as 301 Permanent redirects. This module requires no configuration and has no dependencies.

Example:

Before Drupal 8, urls like http://example.com/index.php?q=some/site/path worked fine.
With this module installed, that request will automatically be forwarded to http://example.com/index.php/some/site/path.

More Information:

Until Drupal 8 these urls were supported in core, but things have been modernized. See http://drupal.org/node/1659580 for more info.