Forum Moderators: phranque

Message Too Old, No Replies

How to do Url Rewriting?

How to do Url Rewriting?

         

darshanaasodekar

11:00 am on Jun 3, 2009 (gmt 0)

10+ Year Member



I have a website which has url like..
http://www.example.com/categories.asp?cat1=248

I want to rewrite this type of urls in my site to
http://www.example.com/Product/Product_Name

My site is in ASP. Please anybody tell me whether is it possible to do this?
I am trying to do this through .htaccess but am not succesful....
Please tell me as soon as possible

Thanks in advance!

[edited by: jdMorgan at 7:48 pm (utc) on June 3, 2009]
[edit reason] example.com [/edit]

jdMorgan

7:48 pm on Jun 3, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



First, is this an Apache server, or an IIS server.

If it is IIS, do you have ISAPI Rewrite (or a similar) add-on installed? (You should know the answer to this, because you will probably have to pay for it, since it's not included with the server.)

If you want to change your URLs, you will need to edit the scripts which produce your pages, so that the new URLs appear as links on your pages. Once that is done, you can rewrite the new URLs to the correct scripts inside your server.

Jim