rewriting folders, need help
3 posts
• Page 1 of 1
rewriting folders, need help
Hi
i have some urls that have no file type listed and i want to direct them to a specific page.
for example i want:
mydomain.com/someproductname to direct to product.php?name=someproductname
i looked through the examples on here and couldnt find anything like this.
i tried
RewriteRule ^someproductname \(.*) product.php [QSA]
any help is appreciated.
THANKS
sam
i have some urls that have no file type listed and i want to direct them to a specific page.
for example i want:
mydomain.com/someproductname to direct to product.php?name=someproductname
i looked through the examples on here and couldnt find anything like this.
i tried
RewriteRule ^someproductname \(.*) product.php [QSA]
any help is appreciated.
THANKS
sam
Re: rewriting folders, need help
RewriteRule /someproductname /product.php\?name=someproductname [I,L]
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests