[pmwiki-users] Rewrite path

pmwiki at 911networks.com pmwiki at 911networks.com
Sun Apr 13 20:57:02 CDT 2008


I want to remove the index.php from the path:

From
http://www.sqlhacks.com/index.php/Administration/Memory-Usage
to
http://www.sqlhacks.com/Administration/Memory-Usage

I already  converts from sqlhacks.com to www.sqlhacks.com.

My .htaccess is:

## Enable this to restrict editing to logged in users only

## You should disable Indexes and MultiViews either here or in the
## global config. Symlinks maybe needed for URL rewriting.
Options -Indexes -MultiViews +FollowSymLinks

## make sure nobody gets the htaccess files
<Files ~ "^[\._]ht">
    Order allow,deny
    Deny from all
    Satisfy All
</Files>

## Enable Apache rewrites
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule (.*) http://www.%{HTTP_HOST}/$1 [R=301,L]

Any suggestion?


-- 
Thanks
http://www.911networks.com
When the network has to work



More information about the pmwiki-users mailing list