How to enable the pretty url format in yii2?
Answer / Monika Rani
To enable the Pretty URL format in Yii2, you need to configure your web server (e.g., Apache or Nginx) to rewrite the incoming requests based on your application's rules. In your .htaccess file for Apache, uncomment and customize the URL rewriting configuration.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to make layout in yii?
How to compare yii with other frameworks? Explain
How to get current action id in yii ?
Why gii is used?
How to use find() and findall () in yii2?
Explain the difference between homeurl and baseurl in yii2?
What is the naming convention inyii?
How can we get all root directory path in yii2?
What are the benefits of yii over other frameworks?
Why gii is used in yii 2.0?
How to include a javascript menu through a site?
In yii, how to get ip address?