I have links to the view:
http: //localhost/index.php/website/action
How to turn them http: // localhost / website / action
CAN post the correct htaccess.
Option 'showScriptName' => false
did not help
I have links to the view:
http: //localhost/index.php/website/action
How to turn them http: // localhost / website / action
CAN post the correct htaccess.
Option 'showScriptName' => false
did not help
Option 'showScriptName' => false, 'urlFormat' => 'path' and write to .htaccess
AddDefaultCharset utf-8 RewriteEngine on RewriteBase / # if a directory or a file exists, use it directly RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # otherwise forward it to index.php RewriteRule . index.php
Source: https://ru.stackoverflow.com/questions/268704/
All Articles