Technical Problem

ID #1323

How can I enable Mod-Rewrite Module? How can I enable Mod-Rewrite Module?

In order to enable Mod_Rewrite for your site please create a text file called .htacccess in your public_html directory.

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.

NOTE: This is only available on Linux Hosting 

Tags: Mod-Rewrite

Related entries:

Last update: 2008-01-05 03:17
Author: Philhosting
Revision: 1.0

Digg it! Print this record Send to a friend Show this as PDF file
Propose a translation for Propose a translation for
Please rate this entry:

Average rating: 0 out of 5 (0 Votes )

completely useless 1 2 3 4 5 most valuable

You can comment on this entry