Knowledgebase


Portal Home > Knowledgebase > Hosting FAQ's > How To Enable Mod_rewrite Module ?

How To Enable Mod_rewrite Module ?

Lets see How to enable Mod-Rewrite Module and The first line of this text file should be:

RewriteEngine On

After that you can place your rewrite rules. Here are some examples for Joomla’s SEF option:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (/|.htm|.php|.html|/[^.]*)$ [NC]
RewriteRule ^(content/|component/) index.php

Some applications already have ready to use rewrite rules that can be found in a file called htaccess.txt. But if you have problems with mod_rewrite, you may ask our support team to help you.


Also Read