Force Lower-Case URLs with mod_rewrite

You may find yourself in a situation at some point where you need to ensure that all access to your site is done using lower-case only. This may be because of SEO (avoiding duplicate content), or perhaps you want to ensure that you can seamlessly move between case-sensitive/insensitive operating systems. If you are running a standard LAMP stack, you're in luck. Apache's mod_rewrite can be used to 301-redirect all incoming requests to their lower-case counterparts with just a few configuration directives.

Read more

Configuring mod_rewrite for the Front-Controller Pattern

When installing or creating a web application that implements the front controller pattern on an apache server, it is common to use mod_rewrite to redirect all traffic for non-existent resources to a the central dispatch file acting as the front controller. Depending on where your decide to place your mod_rewrite rules, the required syntax can differ. Read more