multiple dynamic url convert into static url using .htacess file in php
for linux hosting
http://kyitseling.org/sysinfotools/viewproductdetail.php?name=BKFRecovery
firstdynamic url
http://kyitseling.org/sysinfotools/viewproductds.php?catname=Backup
Recovery Software
second url
http://kyitseling.org/sysinfotools/Product-buy-now.php?pid=80
third url
http://kyitseling.org/sysinfotools/Buy-Now.php?id=19
fourth url
i want to display all dynamic page like this way
http://kyitseling.org/sysinfotools/Backup Recovery Software
http://kyitseling.org/sysinfotools/BKF%20Recovery
http://kyitseling.org/sysinfotools/80
http://kyitseling.org/sysinfotools/19
in my website.so what code i have to write.htacess file in my .htacess
file in php project .htacess file
my current .htacess code is
RewriteEngine On RewriteRule (.).htm$ viewproducts.php?catname=$1 this
code only work for second url when i am write RewriteRule (.).htm$
viewproductsdetails.php?name=$1 then this case we redirect
viewproductspage only one work so how i rewrite all url .please help
me.........
No comments:
Post a Comment