/ Published in: Apache
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
RewriteRule ^([a-zA-Z0-9-]+)/?([a-zA-Z0-9-]+)?$ index.php?var1=$1&var2=$2 Result : www.example.com/[var1.value]/[var2.value]