Recommended for Advanced Users Only

What is mod_rewrite?

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:
302 Found
So that it reads:
302 Found
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.
How can I enable mod_rewrite?

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.
Example mod_rewrite file:

RewriteEngine on
RewriteRule ^([^/\.]+).htm$ index.php?page=$1 [L]
Areon Reviewed by Areon on . How can I enable Mod_Rewrite? Recommended for Advanced Users Only What is mod_rewrite? 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: 302 Found So that it reads: 302 Found 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. How can I enable mod_rewrite? 1. Create a file called .htaccess Rating: 5