Jump to content

Archived

This topic is now archived and is closed to further replies.

warrenkuhl

Rewrite Rule/Friendly URLS

Recommended Posts

I am having problems getting this going. I checked with my host and he told me that it was installed. Plus I sent him the URL to the tuturial on this site to make sure everything was setup correctly. Not sure if there are problems with the setup...or my syntax...but nothing is happening with my urls.

 

Here is my url...

 

http://www.website.com/brandproducts.php?brandid=3

 

I want it to be...

 

http://www.website.com/brandproducts/3.php

 

Here is what I placed in .htaccess...

 

RewriteEngine On

RewriteRule ^brandproducts/(.*).php /brandproducts.php?brandid=$1

 

Am I missing something?

 

Thanks for any help!

Warren

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.