http://site.com/index.php?section=pics&set=01
to...
http://site.com/pics/set/01
AND..
http://site.com/~iquest
to...
http://site.com/users/iquest
___________________________________________
I have this (for the first variation):
- Code: Select all
RewriteEngine on
RewriteRule ^([A-Za-z]+)/set/([0-9]+)/$ index.php?section=$1&set=$2
RewriteRule ^([A-Za-z]+)/set/([0-9]+)$ section/$1/set/$2
RewriteRule ^([A-Za-z]+)/$ index.php?section=$1
RewriteRule ^([A-Za-z]+)$ index.php?section=$1
BUT THE IMAGES DONT SHOW! How can I make a successful rewrite and still be able to show the images from other directories without typing the full url?
Thanks a lot.