Forum Moderators: phranque
I am trying to rewrite a couple of urls to make them more search engine friendly.
mod_rewrite is loaded on the server where my site is hosted.
I have an .htaccess file in the root and I know to begin I start with RewriteEngine On.
What I don't know is the correct way to write the rule to get it to do what I want.
Whatever I use nothing happens.
I am wanting to take these urls:
http://example.com/default.php?cPath=25_48
http://example.com//product_info.php?cPath=25_48_86&products_id=81
And make them look like this:
http://example.com/productcategory
http://example.com/productcategory/product
I would greatly appreciate it if someone would help me with this.
Thanks,
wsttinnet
[edited by: tedster at 11:35 pm (utc) on May 4, 2007]
[edit reason] please use example.com [/edit]
Several of the tutorials in the Apache forum section of the WebmasterWorld library [webmasterworld.com] may be quite helpful to you.
Jim