Jump to content

sz_tech

New Members
  • Posts

    2
  • Joined

  • Last visited

sz_tech's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. This one works RewriteRule ^I-([0-9]+)/(.*)$ item.php?id=$1&$2 [L,QSA,NE] in same htaccess I need to handle catlist also with this rule: RewriteRule ^C-([0-9]+)/(.*)$ category.php?id=$1&$2 [L,QSA,NE]
  2. Hello, I have this rule in htaccess file that handles URL for item, Options All RewriteEngine On RewriteBase /www/ RewriteCond %{THE_REQUEST} \ /www/item\.php\?id=([0-9]+)&([^&\ ]+) RewriteRule ^ %1/%2? [L,R=301] RewriteRule ^([0-9]+)/(.*)$ item.php?id=$1&$2 [L,QSA,NE] in same htaccess I need to handle catlist also with this rule: RewriteCond %{THE_REQUEST} \ /www/category\.php\?id=([0-9]+)&([^&\ ]+) RewriteRule ^ %1/%2? [L,R=301] RewriteRule ^([0-9]+)/(.*)$ category.php?id=$1&$2 [L,QSA,NE] When I put them together only first one works Any solutions or ideas Thank You
×
×
  • 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.