Postings by Rajib Karmakar

.htaccess rule match keyword


RewriteRule ^cart(.*)$ cart.php

<a href="" title=""></a>

<a href="" title=""></a>

## For showing leaf sub category of item
RewriteCond %{REQUEST_URI} !^/([^/]*)/p
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]*)/([^/]*)/([^/]*)$ leafsub-category-gallery.php?
slug=$1&subcat=$2&leafsubcat=$3 [L,NC]

First four letter of products url "carter" to "cart" matched with the cart
page link and that's the reason it moved to the cart page.

Is it possible using htaccess rewriting Issue on .htaccess rule.

Good morning Team,

Below 2 rule i used for 2 different pages but 2nd URL when i click then it
nothing display any products, it show cart page.