How to rewrite urls

Hi

The script that I am using on one of my sites, the urls aren’t user friendly, they are like this

[noparse]http://www.mysite.com/Page/15.html[/noparse]

Is there an easy way without having to contact the developers, to change them to more friendly ones, like:

[noparse]http://www.mysite.com/Page/Contact_Us.html[/noparse]

Thanks in advance

D

Hi,

In your example is 15.html actually the contact page so you may want [noparse]http://www.mysite.com/Page/15.html to look like http://www.mysite.com/Page/contact [/noparse]

Danni,

Actually, no but only because 15 does not translate to ContactUs.

You might benefit from reading the mod_rewrite tutorial linked in my signature as it contains explanations and sample code. It’s helped may members and should help you, too. One of the first things you’ll learn there is that YOU create the new format for your links and then teach (via regex) mod_rewrite how to convert that to something Apache can serve.

Regards,

DK