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 |
What is widgets in yii? How we can use it?
Why gii is used in yii 2.0?
How to get current action name?
How to create directory structure of yii framework?
What is cmodel class in yii2?
What are the new features acquired in yii2?
What are the advantages of yii2?
What are components in yii 2?
How to use delete(), insert() and save() methods in yii2?
How you can write a custom component and use it inside your app?
List some features yii 2 framework?
What is the first function that gets loaded from a controller?