Here we’ll continue with the Magento URL and learn to include store code in to Base URL.
We’re offering dedicated Magento hosting to clients around the world. The Pro & Plus plans provide premium features like Aspiration CDN, LiteMageCache & MagentoAutoInstaller etc. Further enjoy the web development support with technical assistance 24×7 round the year. Moreover, the basic plan costs $9.99 per month. Now enjoy flat 30% discount in your first invoice with us. So, pay us visit regularly to learn our special offers and promo codes!
Tanzia Farin Chy for Aspiration Hosting
Magento URL – Including Store Code
Next follow these steps to configure the store code in to the Base URL.
First log in to the admin panel using admin credentials.
Next under the Admin Sidebar find and click “Stores” tab. Further select configuration under the settings tab.
Now choose “Web” under the “General” tab in left sidebar.
Then click to open “URL Option”. Now as per our preferences we’ll put on Store code.
Following are the examples of URL with and without store codes in Base URL:
Finally click on the “Save Config” button to complete Magento URL configuration.
After saving the configuration now we need to refresh our memory. So, we need to refresh the cache now for new settings to take effect. For clearing cache in top of desktop find and open the Cache Management link massage. Finally follow the instruction to refresh the cache according to the image.
Though every website in a Magento includes a base Magento URL which is related to the storefront. Also there must be a Magento URL which is assigned to the Admin. In conclusion, Mage uses variables to introduce internal links for relating the base URL. Hence it makes possible to move an entire Mage store without updating the links to any mobile locations.
Further Note: the Standard base URLs begins with http. On the other hand, https are the secure base URLs.