splittingred / Redirector

Handles all your site redirects in MODx Revolution.
http://svn.modxcms.com/docs/display/ADDON/Redirector
12 stars 29 forks source link

[FR] Support wildcards in pattern #20

Open Mark-H opened 12 years ago

Mark-H commented 12 years ago

I'm using Redirector to manage redirects from old to new urls.. but having issues redirecting URLs that contain utm_* properties.

I realize this may be a lot of refactoring, but some way to assign wildcards in patterns would be great.

Perhaps an optional checkbox ("regex") and the ability to specify your own regex pattern, like

 ^url.html

which would match anything that starts with url.html using the REGEXP mysql command, solving the feature I'm looking for and allowing many more functionalities. Weird thought:

^blog\/category-(.*)\/          =>  [[~6? &category=`$1`]]
anselmh commented 12 years ago

This is something I really like to see, too.

MokoJumbie commented 12 years ago

I would like to see this very much as well.

Letti commented 12 years ago

That would be a very useful feature.

bertoost commented 10 years ago

Working on this! (already fixed.. PR soon on modxcms)