This module provides a rule-based rewriting engine to rewrite requested URLs on the fly. For instance, you can re-write a complicated URL such as:
So that it reads:
This is highly useful if you are creating a PHP driven web site, for instance, but you wish to have nice search engine and human friendly URLs appearing in the address bar.
1. Create a file called .htaccess in the folder you wish the rewrite rules to apply.
2. The first line in the file should be RewriteEngine On
3. After this, you can put all the rules you require. You can visit this useful web site for more information on mod_rewrite, and a handy cheat sheet with common rules.
If you have any further problems please don't hesitate to contact us.
RewriteEngine on RewriteRule ^([^/\.]+).htm$ index.php?page=$1 [L]
Powered by WHMCompleteSolution