Archive for the ‘.htaccess’ Category

URL Rewriting Examples Using .htaccess

A common problem if you have a database driven website is you would like to make the urls cleaner and more search engine friendly then try these examples of URL rewriting.
1. Rewriting product.php?id=12 to product-12.html
This is a simple redirection in which the .php extension is hidden from the browser’s address bar and a dynamic [...]

More »