How we can remove index.php from url in yii?
Answer / Krishna Kumar Singh
To remove index.php from the URL in Yii, you need to enable Pretty URIs and set up a rewrite rule. Here's how:nn1. Configure your web server (e.g., Apache or Nginx) with a rewrite rule.n2. Enable Pretty URIs in your Yii application by setting the following configuration option: 'urlManager' => array('showScriptName' => false).
| Is This Answer Correct ? | 0 Yes | 0 No |
How to customizing helper classes in yii framework?
What is helper in yii? Why it is used?
Why use yii 2.0 framework?
What is yii 2? Please explain?
What is the purpose of “gii” in yii2?
How to connect to the database?
How can you include a javascript menu throught the site? Give steps
How we can remove index.php from url in yii?
How to use session in yii?
What are the prerequisites yii?
How to include a javascript menu through a site?
Can you list some database related functions in yii?