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-63e31c2aeb401451069331/] 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...]