Hi, everyone!
I want to replace
www.domain.com/file22.php --> www.domain.com/file.php?id=22
And:
www.domain.com/file22.php?q=foo --> www.domain.com/file.php?id=22&q=foo
Thanks!!
Rewriteengine on
RewriteRule ^file([0-9]+)\.php file.php?id=$1 [QSA,L]
Return to Friendly URLs with Mod_Rewrite
Users browsing this forum: No registered users and 35 guests