[resolved] Regex redirection (2 posts)

  1. CarolWP
    Posted 3 years ago #

    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?


  2. CarolWP
    Posted 3 years ago #

    Never mind--I got it! For anyone else with this issue, the source URL should be:


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Redirection
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic