Hey,
I'm new to using mod_rewrite, I have two url's I currently want to make more SEO friendly:
1) http://domain.com/dir/index.php?p=list&d=all
2) http://domain.com/dir/index.php?p=list&d=cat&c=2
I want these to turn into:
1) http://domain.com/list/all/
2) http://domain.com/list/cat/2/
Currently my .htaccess looks like this:
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*)/(.*)/(.*)/ index.php?p=$1&d=$2&c=$3 [L]
RewriteRule (.*)/(.*)/ index.php?p=$1&d=$2 [L]
Now the rewrite itself works, however all my images and css have disappeared?
I'd appreciate it if anyone could help?
Kind Regards,
Sean