Got more questions? Find advice on: ASP | SQL | XML | Windows
Welcome to RegexAdvice Sign in | Join | Help

rewrite wordpress search url

  •  05-11-2011, 3:25 AM

    rewrite wordpress search url

     I need a regex to rewrite with htaccess the permalink of a wordpress search query. This query is built this ways : http://example.com/?s=queryterms1+queryterms2 and can contains upper and lower case, and digits and any special character.

     I need this query to be rewritten into  http://example.com/search/queryterms1+queryterms2.html

    I tried a few but think that the "?" got me an error

     

     

     

    Filed under:
View Complete Thread