Articles tagged mod_rewrite

Apache RewriteRule and query strings
At first glance, the way the Apache mod_rewrite module handles query strings can be a little intimidating. mod_rewrite works by sitting on your server in a file called htaccess, and “catching” requests for URL‘s. It then checks these URL request against a series of rules and conditions you have set. If the request meets any of the rules and conditions, it applies then necessary changes to the URL, then reprocesses the request with the changes you have directed. Read more – ‘Apache RewriteRule and query strings’.
Apache .htaccess query string redirects
One of the most common tasks performed by Apache and htaccess is the manipulation of a URL and configuring a redirect for a specific page. Read more – ‘Apache .htaccess query string redirects’.
Enabling Search Engine Safe URLs with Apache and htaccess
An increasingly popular technique among websites and in particular, blogs, is the idea of making URLs search engine friendly, or safe, on the premise that doing so will help search engine optimisation. By removing the obscure query string element of a URL and replacing it with keyword rich alternatives, not only makes it more readable for a human being, but also the venerable robots that allow our page content to be found in the first place. Read more – ‘Enabling Search Engine Safe URLs with Apache and htaccess’.