Magento – Base URL is not working properly

base-urlconfigurationsystem-configurl

Our url is omitting the first '/', like so: ourdomain.comindex.php when it should be ourdomain.com/index.php.

I've looked everywhere in the config, and haven't found a reason why it should be doing that. The base url is ourdomain.com/ in the database, but whenever it is used that trailing backslash is omitted and this causes CSS, JavaScript, basically everything to break.

I've noticed in the config panel, when I switch from 'Default Config' to 'Main Website', this is what the base URL is listed as, instead of the base URL in my 'Default Config' here.

Also, the 'Save Config' button does not seem to be working either, and this whole issue is making me think a re-install is needed.

Best Answer

It might be because the skin url does not have the trailing / in it. Even when the base url is okey, if the skin url does not have the / you will face this issue.

enter image description here

Related Topic