Open ranafaraz opened 6 years ago
Step 1: Open web.php located in config folder & place the following code after ‘mailer’ section: 'urlManager' => [ 'enablePrettyUrl' => true, 'showScriptName' => false, ], Step 2: Create .htaccess file in web directory having the following code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php
Step 3: Save & reload the browser.
Sir I can't find the web.php file.
Those instructions are for basic template. You have to work with advanced by yourself.
You have to modify main.php located in config folder of backend.
Pretiffy the URLs of the application.