Question:How can you configure URL rules in YII? 

Answer To configure URL rules we have to add the below to our rules in protected/config/main.php: 'home' => 'site/index', 'page/<alias>' => 'site/page', Save the above changes and browse the following URLs: /home /page/test Page:39 

+ Report
Total Preview: 1777
How can you configure URL rules in YII?
Copyright © 2024. Powered by Intellect Software Ltd