Skip to content

Instantly share code, notes, and snippets.

@mkdizajn
Last active January 10, 2017 11:02
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save mkdizajn/5712725 to your computer and use it in GitHub Desktop.
Save mkdizajn/5712725 to your computer and use it in GitHub Desktop.
magento local.xml override stores base url
<config>
<global>
<!-- ... -->
</global>
<stores>
<default>
<web>
<unsecure>
<base_url>http://beispiel.tld/shop/</base_url>
</unsecure>
</default>
<admin>
<web>
<unsecure>
<base_url>https://beispiel.tld/shop/</base_url>
</unsecure>
</admin>
</stores>
</config>
@hashid
Copy link

hashid commented Aug 31, 2015

Just mentioning, the "default" tag under "stores" is actually the store view code. So if you have a different store view code, change this.

@apedicdev
Copy link

apedicdev commented Aug 2, 2016

</web> close tag is missing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment