
There are many reasons to change your web address on WordPress. You might be rebranding, moving from a temporary subdomain to a custom domain, switching from HTTP to HTTPS, or consolidating multiple sites. Whatever the reason, changing a WordPress URL involves more than editing a single setting. If handled incorrectly, it can break images, links, logins, and search rankings. This guide explains how to change your web address on WordPress step by step, so the transition is smooth for both visitors and search engines.
Expert WordPress Domain Changes With AAMAX.CO
A domain change is one of the riskiest updates a website can undergo, which is why many businesses hand it to specialists. AAMAX.CO is a full-service digital marketing company offering web development, digital marketing, and SEO services worldwide. Their WordPress experts manage URL changes, database updates, redirect mapping, and search engine notifications to preserve rankings and traffic. With their website development services, they make sure your new web address launches cleanly with no broken links or lost SEO value.
Understand the Two WordPress URL Settings
WordPress stores two key addresses: the WordPress Address, also called siteurl, which indicates where WordPress core files live, and the Site Address, also called home, which is the URL visitors use to reach your site. In most installations, these are identical. When changing your web address, you will usually update both to the new domain.
Step 1: Back Up Your Entire Site
Before touching any settings, create a complete backup of your files and database. Use your hosting control panel, a backup plugin, or manual export through SFTP and phpMyAdmin. If anything goes wrong, a backup lets you restore the site quickly.
Step 2: Register and Configure the New Domain
If you are moving to a new domain, register it and point its DNS records to your hosting server. Add the domain to your hosting account so the server knows to serve your WordPress files for that address. Install an SSL certificate for the new domain so it loads securely over HTTPS from day one.
Step 3: Change the URL in WordPress Settings
Log in to your WordPress dashboard and go to Settings, General. Update the WordPress Address and Site Address fields to the new URL, including https://. Click Save Changes. You will be logged out and redirected to the new address, where you can log in again. If the fields are grayed out, the URLs are defined in wp-config.php and must be edited there.
Alternative: Change the URL in wp-config.php
If you cannot access the dashboard, you can define the new URLs in wp-config.php by adding two lines: define('WP_HOME', 'https://newdomain.com'); and define('WP_SITEURL', 'https://newdomain.com');. These values override the database settings. This method is also useful if a misconfigured URL has locked you out of the admin area.
Alternative: Change the URL in the Database
You can also update the URL directly in the database using phpMyAdmin. Open the wp_options table, find the rows named siteurl and home, and edit their option_value fields to the new address. Be careful to use the correct table prefix if your site does not use the default wp_.
Step 4: Update Internal Links and Media Paths
Changing the settings does not update URLs already stored in your posts, pages, menus, and widgets. Images and internal links will still point to the old address. Use a search-and-replace plugin or the WP-CLI command wp search-replace 'https://olddomain.com' 'https://newdomain.com' to update every instance in the database. These tools correctly handle serialized data, which manual SQL queries can corrupt.
Step 5: Set Up 301 Redirects
301 redirects tell browsers and search engines that your content has permanently moved. Without them, anyone using an old link or bookmark will hit an error, and you will lose much of the SEO value earned by the old domain. On Apache servers, add redirect rules to the old domain's .htaccess file to forward every request to the same path on the new domain. On Nginx, configure a server block that returns a 301 to the new domain. Redirect plugins can also handle this if the old domain still points to a WordPress installation.
Step 6: Update Search Console and Analytics
Add and verify the new domain in Google Search Console, then use the Change of Address tool from the old property to notify Google of the move. Submit your new XML sitemap. Update your analytics configuration so data continues to be collected correctly, and adjust settings in advertising platforms, social profiles, and email marketing tools that reference your website address.
Step 7: Update External References
Reach out to partners, directories, and publications that link to your site and ask them to update their links to the new address. Update your Google Business Profile, social media bios, email signatures, and printed materials. While redirects preserve most of the value, direct links to the new domain are always stronger.
Troubleshooting Common Issues
- Redirect loops often occur when HTTPS settings, plugins, and server rules conflict; review each layer.
- Broken images usually mean the search and replace missed some URLs, especially in page builder data.
- Login issues may be caused by cached cookies; clear your browser cache and try again.
- Mixed content warnings mean some assets still load over HTTP; update them to HTTPS.
Changing a WordPress.com Address
If your site is hosted on WordPress.com rather than self-hosted, the process is simpler. Go to Upgrades, Domains, purchase or connect a custom domain, and set it as your primary address. WordPress.com handles redirects from the old address automatically.
Conclusion
Changing your web address on WordPress requires careful planning, but it is entirely achievable with the right steps. Back up first, update the URL settings, replace old links in the database, implement 301 redirects, and notify search engines. By following this process, you can move to your new address with confidence while preserving traffic, rankings, and user trust.
