Jump to content

sean14592

Members
  • Posts

    157
  • Joined

  • Last visited

Everything posted by sean14592

  1. 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
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.