sebduggan / muraURLTools

Mura plugin for managing alternative URLs and redirection
10 stars 11 forks source link

Support for .cfm files? Other file extensions? #12

Open jamespro opened 12 years ago

jamespro commented 12 years ago

I want to 301 redirect the old URLs from our old site--some of them have .cfm or another extension. e.g. /privacy.cfm -> /privacy-policy/

Also, could it redirect links with query strings?

e.g. /calculators.cfm?type=cool -> /cool-calculators/ /calculators.cfm?type=fancy -> /fancy-calculators/ /calculators.cfm?type=fancy&color=blue -> /fancy-calculators/blue/

GREAT PLUGIN, THANK YOU

ronnieduke commented 12 years ago

Hey Greg,

Same question here... I have a site that is being converted to Mura from an html site, and they would like to redirect old links such as "http://www.domain.com/somePage.html" to the new Mura Page "http://www.domain.com/index.cfm/new-page"

Tested the current plugin and doesn't seen to redirect either way.

Any ideas?

tomespen commented 11 years ago

I did something like that for a customer site. Just created a "calculators.cfm" file which took the type and redirected to /calculators-fancy/ and set up an alternate url with urlTools to "pick up" the request.

Not as seamless as you want it to be, but it works :)