Somehow everyone always seems to have an issue with mod_rewrite rules. I guess regular expressions were invented by applied maths majors leaving the rest of us at a disadvantage. Still I do think mod_rewrite is one of the most powerful features of Apache and when moving someone from a Windows IIS websever to a Linux VPS Apache install it is even more useful, so when I saw this article I thought I had to share it.
In this article and in the next we will explain how to use mod_rewrite, to map certain HTTP requests to other pages in a website, or to an external URL. In other words, this well-known Apache module will allow you to redirect an URL to another, which we will […]