htaccess problem

Discussion in 'Site & Server Administration' started by joeldavuk, Oct 15, 2008.

  1. #1
    Hi , ive looked at lots of information on htaccess but i just cant get my head round this one, its maybe causing a problem that all urls dont have ending /

    RewriteRule ^shop$ shop/index.php [NC,L]
    RewriteRule ^shop/(.*)$ shop/manufacturer-list.php?category_id=$1 [NC,L]
    RewriteRule ^shop/(.*)/(.*)$ shop/manufacturer-list.php?manufacturer_id=$2 [NC,L]
    RewriteRule ^shop/(.*)/(.*)/(.*)$ shop/product-detail.php?product_id=$3 [NC,L]

    currently they all goto manufacturer-list.php , anyone please offer any help?
     
    joeldavuk, Oct 15, 2008 IP