I am trying to redirect URLS from an old PHP-Nuke site to a new WordPress site. In some instances, I am just redirecting from one URL (/modules.php?name=415) to another (/charts/maximums/), and everything is working fine. However, in other instances I want to redirect anything that starts at a particular PHP-Nuke module to another URL. For example, I want /modules.php?name=Downloads to go to http://someurl.com, regardless of what follows Downloads. So, for example, /modules.php?name=Downloads&d_op=viewdownload&cid=1 should still go to http://someurl.com.
I tried to set this up with a regex to have /modules.php?name=Downloads(.*) redirect to http://someurl.com (checking the box for using regex), but that is not working. Can anyone tell me what I should be using instead?
- The topic ‘Regex redirection’ is closed to new replies.