mod_rewrite
The mod_rewrite module uses a rule-based rewriting engine, based on a PCRE regular-expression parser, to rewrite requested URLs on the fly. By default,mod_rewrite maps a URL to a filesystem path. However, it can also be used to redirect one URL to another URL, or to invoke an internal proxy fetch. For mor einformation about mod-rewrite , please check http://httpd.apache.org/docs/current/mod/mod_rewrite.html We only explain How to use mod-rewrite here. the easiest way to check whether the mod_rewrite module is installed will be to look on your phpinfo page. If you’ve not already created one of these for yourself, just copy and paste the following code into an new text file using your favourite text editor, save it as phpinfo.php, and upload it to your server: <?php phpinfo(); ?> Load that page up in your…