PASHA_SANYAL
12-30-2008, 11:10 AM
Hi Everyone,
I am having a problem with mod_rewrite in my website. Please help me out on this.
The objective of the script is to have a custom URL from a dynamic URL:
Dynamic URL:
http://www.abc.com/subfolder/product-list.php?list=2&catname=Shoes&catparentname=
Custom URL:
http://www.abc.com/subfolder/order/order%20zelli%20exotic%20shoes.htm (http://www.abc.com/subfolder/order/order%20zelli%20exotic%20shoes.htm)
I am implementing the following code with htaccess:
Options +FollowSymLinks
RewriteEngine on
Rewritecond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule order/order%20zelli%20exotic%20shoes.htm$ product-list.php?list=2&catname=Shoes&catparentname=
But the page is not loading. Where am I going wrong?
Any help on this matter will be highly appreciated.
Thanks in advance,
Pasha Sanyal
I am having a problem with mod_rewrite in my website. Please help me out on this.
The objective of the script is to have a custom URL from a dynamic URL:
Dynamic URL:
http://www.abc.com/subfolder/product-list.php?list=2&catname=Shoes&catparentname=
Custom URL:
http://www.abc.com/subfolder/order/order%20zelli%20exotic%20shoes.htm (http://www.abc.com/subfolder/order/order%20zelli%20exotic%20shoes.htm)
I am implementing the following code with htaccess:
Options +FollowSymLinks
RewriteEngine on
Rewritecond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule order/order%20zelli%20exotic%20shoes.htm$ product-list.php?list=2&catname=Shoes&catparentname=
But the page is not loading. Where am I going wrong?
Any help on this matter will be highly appreciated.
Thanks in advance,
Pasha Sanyal