Hi,
i am new to .htaccess file and mod_rewrite module.i want my SEF url to appear in address bar and wrote rewite rule in .htaccess file for this.
my .htaccess file is as follows:
RewriteEngine On
RewriteRule ^shopping-river-of-life-vortex-water-revitalizer-three-quarter-inch productDetailsByDiameterStorage.php?productId=20001&diameterId=50002
when i put my SEF url directly in address bar, page opens properly but if i click on any link on page,its original dynamic url appears in address bar.
my real URL is like this:
www.wlwsltd.com/shopping/storage_classes/productDetailsByDiameterStorage.php?productId=20001&diameterId=50002
Here shopping and storage_classes represents directories and i want my SEF url to appear in address bar like this:
www.wlwsltd.com/shopping-river-of-life-vortex-water-revitalizer-three-quarter-inch
Could anyone advice me how to do it ?