Explain the difference between homeurl and baseurl in yii2?
Answer Posted / Rajkumar Gupta
In Yii2, `homeUrl` is the URL of the application's default (home) page. It can be overridden by setting the `homeUrl` property in your web application configuration. On the other hand, `baseUrl` refers to the base URL of the application and is used for generating relative URLs within the application.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers