Uptime, performance and quality support. That's what HaveHost is all about!
Client's Zone

Easily manage all aspects of your account ...

How can I enable Mod-Rewrite Module?

In order to enable Mod_Rewrite for your site you should create a text file called .htacccess in the directory where you wish the rewrite rules to apply.

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

Many applications come with ready to use rewrite rules that can be found in a file called htaccess.txt.

Add to Favourites  Add to Favourites    Print this Article  Print this Article

Was this answer helpful?


Contact Us
  • (880) 181-1117455
  • House-14/16, Road-1, Block-F
    Banashree, Dhaka 1219, BD
Wildcard SSL Certificates