‚Äč

File .htaccess

Installing the software on a server is recommended directly in the domain, or sub domain, so that the system calls to make the main address. If, however, failed to do this, edit the .htaccess file.
 

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f  
RewriteCond %{REQUEST_FILENAME} !-d  
RewriteRule ^(.*)$ ./index.php?/$1 [L]


In line RewriteBase specify the full path to index.php. For example, when our script is installed in a location http://phpbluedragon.eu/test/ the line should contain the name of the directory test.
 

RewriteBase /test/




Copyright © 2015-2019 - by Lucas SOS | About the Author | Tags | Blog | Links | Login