I'm looking to create a URL rewrite rule for Cherokee 1.2.2 web server where the URL is:

http://example.com/pricing?remove=358&referer=cHJpY2luZw==

and I would like:

http://example.com/pricing

I also have a rule setup to remove index.php from the the URLs. That rule being:

internal | ^/(.*)$ | /index.php?q=$
link|improve this question
feedback

1 Answer

If I understood you correctly this regex, substituted to pricing, should work:

^/pricing\?

Are you sure you want to lose the GET parameters like that?

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.