...
There are a number of configuration settings that may be set before or after installation.
...
Requiring index.php
...
in URLs
To remove By default Blesta does not include index.php from URLS edit the .htaccess file located in /installpath/.htaccess, to appear as follows:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
########################################################
# package: minPHP
# filename: .htaccess
########################################################
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php
RewriteRule ^(.*)install.php$ $1/install [R=301,L] |
Next, update init.php located in /installpath/lib/init.php as follows:
...
language | php |
---|---|
title | init.php |
firstline | 25 |
linenumbers | true |
...
as part of any URL request, thanks to the use of .htaccess. If your server does not support .htaccess Blesta requires index.php to be included in all URLs. To force Blesta to include index.php in all URLs simply rename or delete the .htaccess file included with Blesta in your root web directory.
Changing the path to the Admin area
...