Friday, February 3, 2017

Magento - No trailing slash appears after domain name

Magento - js/css/image files are not loading because no trailing slash appears after domain name

No trailing slash after domain makes all js/css/skin/media urls 404.

Solution :
Give trailing slash in domain name in column web/unsecure/base_url and web/secure/base_url of table  core_config_data.


http://domainname/

Even if problem persists, login as admin.


Go to system > cache management
Flush all cache including 'flush magento cache' and 'flush cache storage'.


Now open site url. You should not get this issue.