Forum Moderators: phranque

Message Too Old, No Replies

Looking for examples of mod_rewrite

         

milu

9:20 pm on Aug 26, 2005 (gmt 0)



Hello ppl,

I heard this days about something called mode_rewrite and I could make my pages to look like

www.example.net/hot/articles/seo/hot/make-money-online.html instead

http://www.example.net/freearticles.php?id=3311

I found some example, but I don't have enought experienced to learn from those. Is there

anybody who can give a good example?

10x

[edited by: jatar_k at 9:22 pm (utc) on Aug. 26, 2005]
[edit reason] no urls thanks [/edit]

jd01

10:17 pm on Aug 26, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi milu,

Welcome to WebmasterWorld.

I would suggest you start in the library - there are links at the top of every page...

You will need to have the information you are using to determine what to serve on the php page somewhere in the URL, so in you example, the URL posted will not work, unless it contains the numerical key you indicate in your php query string.

IOW
Will NOT Work:
www.example.net/hot/articles/seo/hot/make-money-online.html

Will Work:
www.example.net/hot/articles/seo/hot/3311/make-money-online.html

Justin