How do I move my site to a new domain?
Same as moving hosts: back up and restore with Akeeba. Then set up redirects from the old domain so visitors and Google follow.
What changes
Joomla stores very few full addresses, so most of the site works on a new domain right away. What needs care is everything outside Joomla: links in your content, search engines, and visitors using the old address.
Steps
- Move the site (or point the new domain to the same folder) as in "How do I move my site to another host?".
- In
configuration.php, make surelive_siteis empty (or set to the new address) andcookie_domainis empty. - Search your articles and modules for hard-coded links to the old domain and update them.
- Set up 301 redirects from every old address to the same page on the new domain (in the old domain's
.htaccessor hosting panel). - Add the new domain to Google Search Console and use its Change of Address tool.
Good to know
- Get an SSL certificate for the new domain before you switch, and turn on Force HTTPS in Global Configuration.
Sources
- Moving Installation Directory – Joomla User Guide
- Backup – Joomla User Guide
- SEO Basics – Joomla User Guide