Please set baseUrl of your website in config.php
Please open config.php and add 'baseUrl' entry.
A few examples:
- If your site is at http://localhost/my-site/, add 'baseUrl' => 'localhost/my-site/'
- If your site is at http://localhost/, add 'baseUrl' => 'localhost/'
- If your site is at http://localhost/index.php, add 'baseUrl' => 'localhost/'
- If your site is at http://example.com/try/ip/index.php, add 'baseUrl' => 'example.com/try/ip/'