Forum Moderators: phranque

Message Too Old, No Replies

Need help with Regex using wordpress Redirection

Wordpress Redirection using Regex

         

gearupandplay

3:55 am on Jul 1, 2009 (gmt 0)

10+ Year Member



Hello, I'm trying to use Regular Expressions with the wordpress plugin Redirection to redirect a search query. The original search query is like this

OLD: mysite.com/Search?psps_search=cooler

NEW: mysite.com/mj/shop.php/SEARCH-1/search_results.html?st=cooler

Here is what I tried but it does not work.

Source URL: /Search?psps_search=

Target URL: /mj/shop.php/SEARCH-1/search_results.html?st=*

Can anyone point me in the right direction.

Thanks

g1smd

7:32 am on Jul 1, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



This thread asks almost the same question: [webmasterworld.com...]

It redirects a dynamic URL to a different dynamic URL. Use that code as a basis for your site.