Forum Moderators: phranque

Message Too Old, No Replies

mod rewrite

         

cdl512

10:39 pm on Jul 24, 2006 (gmt 0)

10+ Year Member



I am trying to learn how to make my dynamic web pages that look like this [online-fit-club.com...]
look static, I have tried using the post here that explains what to do but am getting the same output. I am stuck, could there be something in my code that is causing this not to work?

jdMorgan

2:10 am on Jul 25, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I assume you're referring to this thread [webmasterworld.com] in our library.

If so, you may want to re-read it carefully. Mod_rewrite cannot and will not change the links 'output' on your pages. What it will do is make your static URLs work (once you have edited your pages to display static links, and those static links are requested by a client) by rewriting them to your original script in the proper form. In other words, mod_rewrite is only one-half of the job, and you must do the other half by editing your pages or changing your database to present static URLs.

This is outlined procedurally in that thread in the section entitled: How to change dynamic to static URLs

Jim

cdl512

3:02 am on Jul 25, 2006 (gmt 0)

10+ Year Member



well I am stupid and read online like most people and skimed, guess it pays to read the whole thing hu, thanks will go back and do it.