Forum Moderators: phranque

Message Too Old, No Replies

mod rewrite help

         

hOtTiGeR123

4:04 pm on Feb 28, 2009 (gmt 0)

10+ Year Member



Hi, I would I rewrite the following:

[foo.bar...]

to

[foo.bar...]

?

Thanks

g1smd

7:48 pm on Feb 28, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You have this backwards.

You will be rewriting the URL request for

http://www.example.com/events/2009/03
to the internal filepath
/events?ee_sy=2009&ee_sm=03
- note the latter does not contain a domain name.

Be aware that this does not "make" URLs. You need to also change the URLs in the links on your pages. It is the links published on the web that define URLs.

This question comes up every day. Please see recent threads for multiple code examples and post your best effort code here.