Wed 27th February 2008
|
Hello fans!
I have re-jigged my website to include mod_rewrite. I saw a lot of sites using it so decided to learn it and apply it to my site.
What's mod_rewrite I hear you say? Well, it can be used for several purposes but I have implemented it here to change long or cumbersome URL's into nice easily readable URL's.
For example, click on the Portfolio or Contact links above and instead of pointing to portfolio.php or contact.php they simply point to /portfolio/ and /contact/. For a more advanced example, click the Permalink link for this article and look at the address bar.
Interested in learning mod_rewrite yourself? I found this beginners article very helpful, as well as this more advanced example. |
|
|