• I’ve ported my site from blogger and want to remap some of the old URLs to WordPress

    One that seems not to be working is the search which used to be in the form of

    mysite.com/search?q=test

    I’ve got the search value as

    /search\?q=(.*)

    and the replace as

    /?s=$1

    but it’s not matching the regex for some reason. I’ve checked in the logs and yesterday it was ok.

    January 19, 2015 12:06 am ?/search?q=bench drawer

    https://www.ads-software.com/plugins/redirection/

  • The topic ‘Trouble with Regex’ is closed to new replies.