How to Change Magento Site URLs
Posted on July 2nd, 2019
Magento is one of the best content management systems for E-commerce websites. It was launched in 2008, and it is powering hundreds of thousands of E-commerce stores on the internet today. With the help of Magento, anyone can set up an E-commerce store on the internet without the help of any professional developer. Magento is open-source, which means, there are thousands of developers helping 24*7 to make the project more efficient, fast, and secure!
Magento is the most used project to create an E-commerce store. It is also available with software installers like Softaculous, and there are thousands of add-ons available to customize and personalize your E-commerce store in almost no time.
In this tutorial, we are going to discuss changing Magento site URLs. Each website in Magento has a base URL assigned to it. If you have SSL certificate on your domain, you can configure each or both base URLs to operate over secure SSL channel. Secure base URL begins with https, and unsecured base URLs starts with HTTP.
If you want to change the domain name of your Magento website, you need to update the website URLs. You can follow the below given steps to update the base URLs from the Magento dashboard.
Update Base URLs in Magento
It is very easy to update base URLs on your Magento website. Just follow the steps given below.
1) Login to Magento dashboard with your admin login credentials.
2) Go to Stores >> Settings >> Configuration.
3) Under “General” section click “Web”.
There are two sections:
Base URLs: Enter the unsecured base URL (e.g., http://domain.com) for your website. Also please make sure that the URL ends with a forward slash (/).
Base URLs (Secure): Enter your secure base URL(https).
4) Click the “Save Config” button in the top after making changes.
So, this is how you can update the base URLs in your Magento website. If you are facing any issue following this article, Please let us know in the comment section, and we will help as soon as possible.
I imagine I did something wrong. I followed the instructions intending to replace “Magento2” with something better. Unfortunately, on saving my changes, the CSS has been stripped out, and I am unable to navigate back to the page to revert my changes.