The WordPress Address URL is the web address WordPress uses to locate its core files and run your website. It is often the same as your public website address, but the two URLs can be different in some installations. Knowing what each setting controls can help you update your domain, move WordPress into a subdirectory, switch to HTTPS, and troubleshoot login or loading problems without accidentally taking your site offline.
In this guide, you’ll learn what the WordPress Address URL means, how it differs from the Site Address URL, where to find both settings, and what to check before changing them. You’ll also see practical examples and solutions for common WordPress URL issues.
What Is the WordPress Address URL?
The WordPress Address URL is the address WordPress uses to find the files that power your installation. In the WordPress dashboard, this setting is labeled WordPress Address (URL). It is also commonly called the WordPress URL, WordPress core URL, or siteurl value.
For example, if your WordPress files are installed directly in your website’s main folder, the WordPress Address URL might be https://example.com. If the WordPress files are in a folder named wordpress, it might instead be https://example.com/wordpress.
This URL helps WordPress load important files, including its administration area and core scripts. It is not simply a label for your domain. If the address is incorrect, WordPress may look in the wrong place for its files, and your dashboard or website can become inaccessible.
WordPress Address URL vs. Site Address URL
WordPress includes a second URL setting called Site Address (URL). This is the public address visitors type into a browser to reach your website. It is also often called the home URL or home value.
In a standard installation, both settings are usually identical. For example:
-
WordPress Address (URL):
https://example.com -
Site Address (URL):
https://example.com
They can differ when WordPress is installed in a subdirectory but the website is intended to appear at the root of the domain. For instance, WordPress files could be located at https://example.com/wordpress, while visitors see the site at https://example.com.
In that setup, the WordPress Address points to the folder containing the WordPress files, and the Site Address points to the public-facing website. This arrangement requires the appropriate WordPress configuration and, in some cases, changes to files in the website’s root directory. It is best to follow WordPress’s official instructions or ask a developer if you are unsure.
Where to Find the WordPress Address URL
If you can access your WordPress dashboard, you can check the URL settings in a few steps:
- Sign in to your WordPress admin area.
- Go to Settings and select General.
- Find the fields labeled WordPress Address (URL) and Site Address (URL).
- Review the values without changing them unless you know the correct destination.
The fields may be unavailable or appear locked if the URLs are set elsewhere, such as in the wp-config.php file. Some hosting setups and migration tools also manage these values for you.
You can also find the values in your WordPress database. In the standard database structure, they are stored in the options table as siteurl and home. The exact table name may include a custom prefix rather than wp_. Avoid editing the database unless you have a current backup and understand how to restore it.
Why the WordPress Address URL Matters
The WordPress Address URL affects how WordPress locates its installation and loads important resources. A mismatch between the saved URL and the actual location of your files can cause errors across the site, rather than just changing the address visitors see.
The setting can become especially important when you:
- Change your domain name or move to a new domain.
- Switch your website from HTTP to HTTPS.
- Move WordPress into or out of a subdirectory.
- Transfer your website to a different hosting provider.
- Restore a backup on a new server or staging site.
Correct URLs also help keep your website’s links, media, and redirects consistent. While changing the WordPress Address URL is not, by itself, a shortcut to better search rankings, incorrect or inconsistent URLs can create crawling problems and send visitors to the wrong pages.
How to Change the WordPress Address URL Safely
Before changing the WordPress Address URL, confirm what the correct address should be. Check where the WordPress files are installed, whether your domain uses HTTPS, and whether your hosting provider has any special configuration requirements.
If you can still sign in, the usual method is to open Settings > General, update the relevant URL field or fields, and save the changes. You may be logged out afterward. Sign in again using the new address, and check the public website, admin area, images, and links.
Make a full backup of your files and database before changing URLs. A backup gives you a way to restore the site if the new address is incorrect. If you are changing domains, you may also need to update old domain references stored in the database. Use a WordPress-aware search-and-replace tool for that job, because some database content is stored in a serialized format that can be damaged by a basic text replacement.
When switching from HTTP to HTTPS, make sure an SSL certificate is active and working before updating the site addresses. After changing them, check for mixed content: pages that load over HTTPS but still request images, scripts, or stylesheets over HTTP. A suitable SSL or search-and-replace tool may help correct old links.
Changing the URL with wp-config.php
If an incorrect URL prevents you from opening the dashboard, you may be able to define the addresses in the wp-config.php file. This file is in the WordPress installation directory. With a reliable backup in place, a developer or experienced site owner can add definitions such as:
define( 'WP_HOME', 'https://example.com' );
define( 'WP_SITEURL', 'https://example.com' );
Use the actual correct addresses for your installation. If the WordPress files are in a subdirectory, the WordPress core URL may need to include that folder even when the public Site Address does not. These definitions can override the values in the dashboard, so you may not be able to edit the fields there while they are active.
Because a typo can make the problem worse, do not add these lines casually. If you are unsure which URL belongs in each definition, contact your hosting provider or a WordPress professional. Once the site is working, review the configuration and remove or update temporary settings if appropriate.
Common WordPress Address URL Problems
The site redirects to the wrong domain. Check that the WordPress Address and Site Address are correct and use the preferred version of your domain, such as either www.example.com or example.com. Your hosting control panel or redirect settings may also be involved.
The dashboard is unavailable after a URL change. Confirm that the new address is spelled correctly and that the WordPress files are located where the URL indicates. If necessary, restore a backup or ask your host about safely correcting the settings through a configuration file or database tool.
Images or stylesheets are missing. Look for old domain names, HTTP links, or incorrect subdirectory paths. Check the browser’s developer tools for the specific file addresses that are failing, then update the relevant settings or content carefully.
The URL fields are locked. The values may be defined in wp-config.php, controlled by a plugin, or managed by your hosting provider. Check those possibilities before trying to force an edit in the database.
The website shows a redirect loop. Conflicting HTTPS rules, plugin settings, server redirects, and WordPress URL values can send visitors back and forth between addresses. Review these settings together rather than repeatedly changing one URL field at random.
WordPress Address URL and SEO
A correct WordPress Address URL supports a stable website, but SEO also depends on using one consistent public version of each page. Choose a preferred domain format and protocol, such as https://example.com, and make sure other versions redirect to it correctly.
After a domain change, use permanent redirects where appropriate so visitors and search engines can reach the new pages. Update internal links, XML sitemaps, canonical URLs, and relevant search engine tools. Check for broken links and duplicate versions of pages, and make sure your robots settings do not accidentally block important content.
Do not change the WordPress Address URL just to make a URL look more search-friendly. First confirm that the new address matches your file location and hosting configuration. A technically incorrect change can take the site offline and create more problems than it solves.
Frequently Asked Questions
Are the WordPress Address URL and Site Address URL normally the same?
Yes. Most websites use the same value for both. They differ mainly when WordPress core files are in a separate directory from the public-facing website.
Can I change my WordPress Address URL without changing my domain?
Yes, but you should only do so when the WordPress installation’s location or configuration requires it. Changing the value without a clear reason can break access to the site.
Should my WordPress Address URL use HTTP or HTTPS?
If your SSL certificate is active and your website is configured for secure connections, use HTTPS. Make sure redirects and internal resources also use the secure version.
What should I do before changing a WordPress URL?
Back up your files and database, verify the correct destination, and check for URL settings in your hosting environment or wp-config.php. For a domain migration, plan redirects and database updates as well.
Conclusion
The WordPress Address URL tells WordPress where its core files are located, while the Site Address URL tells visitors where to find the public website. These settings are identical for most sites, but they can differ when WordPress is installed in a subdirectory. Check them under Settings > General, and make a complete backup before changing either value. If your site is already inaccessible or uses a more complex setup, get help from your hosting provider or a WordPress professional to avoid turning a small URL correction into a larger outage.