.htaccess rewrite rules stops reading url after first part of string -



.htaccess rewrite rules stops reading url after first part of string -

thank reading.

i trying rewrite dynamic category links (/product_list.php?cat_id=xxx) more "friendly" text links. problem i'm running subcategories:

rewriterule complete-ac-systems product_list.php?cat_id=2

works great, when sub category present:

rewriterule complete-ac-systems__packaged-systems product_list.php?cat_id=7

the browser stops reading after complete-ac-systems , re-directs product_list.php?cat_id=2 not cat_id=7

most of our categories 3 , 4 levels in, pervasive issue.

thanks help can offer.

how reversing order of rules? i.e., putting longest matches first.

.htaccess mod-rewrite

Comments

Popular posts from this blog

javascript - mongodb won't find my schema method in nested container -

How do you set up a perforce server to work over the internet? -

ios - Lagging ScrollView with UIWebview inside -