Home Features Demos Download Installation User Manual Developer Manual Relation function Credits

Login

.htaccess

On the root level you may need to define that the default file is the index.php

/.htaccess

DirectoryIndex index.php

To have simple URL you can add the following:

/.htaccess

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?name=$1 [L,QSA]

You can then enable it in the configuration file $swSimpleURL = true;

Sofawiki installs automatically .htaccess files for inc/, site/ (deny from all) and exceptions (allow from all) for inc/skins/, site/cache, site/files/ and site/skins/. Note that the main .htacess file remains manual.

File structure