Making static urls using mod rewrite

Apache’s mod_rewrite can be easily used via a file called “.htaccess” to turn dynamic urls into friendly urls. Here is an example of how it’s done: [crayon-650c0ce0de673000276045/] This will rewrite all paths ending in “.html” to your index file. From there, it’s simply a case of tailoring the rewrite to your requirements. … [Read more...]