Return to Snippet

Revision: 31081
at August 29, 2010 02:23 by lixonic


Initial Code
RewriteRule ^([a-zA-Z0-9-]+)/?([a-zA-Z0-9-]+)?$ index.php?var1=$1&var2=$2


Result : www.example.com/[var1.value]/[var2.value]

Initial URL

                                

Initial Description

                                

Initial Title
Multiple variables in a mod_rewrite URL string

Initial Tags
htaccess

Initial Language
Apache