Match Redirect

Component ID

2071259

Component name

Match Redirect

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

15820

Component created

Component changed

Component body

This module provides redirecting based on path patterns with wildcards. This functions much like how block page visibility works. You specify a pattern like "old-blog/*" and a target like "new-blog" and all pages under old-blog will be redirected to the page new-blog.

Important: Only the source patterns can have wildcards. The target url is a single page and I have no plans to add wildcards to the target url.

Features

  • Pattern matching allowing wildcard redirects
  • Redirect code choice (301, 302, etc)
  • Filters out existing pages so they won't be redirected (unless overridden)
  • Loop protection (no chaining redirects allowed)

This module is sponsored by BIO and thingaweek.com