How can I match query string variables with mod_rewrite?
Posted
by Patrick McElhaney
on Stack Overflow
See other posts from Stack Overflow
or by Patrick McElhaney
Published on 2010-02-12T14:01:28Z
Indexed on
2010/04/01
1:13 UTC
Read the original article
Hit count: 349
Suppose I have URLs with query string parameters like these:
/index.php?book=DesignPatterns&page=151
/index.php?book=Refactoring&page=157
Using mod_rewrite, how can I redirect them to SES URLs like these?
/DesignPatterns/151
/Refactoring/157
© Stack Overflow or respective owner