Understanding your WordPress site URL is important when you set up a website, move it to a new host, add HTTPS, or troubleshoot a redirect. The phrase “WordPress site URL” can refer to the address visitors use to reach your website, but WordPress also has a separate setting for the location of its core files. Knowing the difference helps you avoid common configuration mistakes and keep your site accessible.
In this guide, you’ll learn what a WordPress site URL is, how it differs from the WordPress Address URL, where to find both settings, and how to update them safely. You’ll also see what to check if your website redirects unexpectedly or stops loading after a URL change.
What Is a WordPress Site URL?
A WordPress site URL is the web address people use to visit your website. It usually includes a protocol, such as https://, followed by your domain name. For example, https://example.com could be the site URL for a business website.
The site URL may also include a path if WordPress is installed in a subdirectory. For example, if the WordPress files are installed in a folder named wordpress, the public website might still use https://example.com, or it might use https://example.com/wordpress, depending on how the site is configured.
In WordPress settings, the public-facing address is called the Site Address (URL). It tells WordPress where visitors should find the website’s front end, including its pages and posts. This is the address you’ll typically share with customers, add to business listings, and use in marketing materials.
A site URL is not the same thing as a page URL. The site URL is the main address of the website, while an individual page URL includes an additional path, such as https://example.com/about.
WordPress Address URL vs. Site Address URL
WordPress displays two URL fields under Settings > General: WordPress Address (URL) and Site Address (URL). They often contain the same address, but they serve different purposes.
- WordPress Address (URL): The location of the WordPress core files, including the files that power the dashboard and site functionality.
- Site Address (URL): The public address visitors use to access your website.
For a standard installation, WordPress itself and the public website are in the same directory. In that case, both fields might be set to https://example.com.
Sometimes WordPress is installed in a subdirectory while the site appears at the root of the domain. For example, the WordPress Address might be https://example.com/wordpress, while the Site Address is https://example.com. This setup can keep the core files organized separately from the public-facing address. It requires the appropriate configuration, so don’t change either field simply to make the URLs look different.
In everyday conversation, people may use “WordPress URL,” “site URL,” and “website address” interchangeably. In the WordPress dashboard, however, the distinction matters. Before changing a URL, confirm whether you need to change the public address, the location of the WordPress files, or both.
Where to Find Your WordPress Site URL
If you can sign in to your WordPress dashboard, go to Settings > General. The two address fields are usually near the top of the page. Look at the Site Address (URL) field to identify the public-facing WordPress site URL.
You can also find the address in other places. The domain name in your browser’s address bar is the site address you’re currently using. In addition, links to your homepage, posts, and media files can show which domain and protocol WordPress is using. If you cannot access the dashboard, your hosting control panel, WordPress configuration, or database may help you check the saved values.
Keep in mind that a browser may display a different version of the address than the one you entered. Your host or a plugin could redirect visitors from HTTP to HTTPS, or from a version with www to one without it. For example, http://www.example.com might redirect to https://example.com. The final address in the browser is the version visitors land on.
What Makes Up a WordPress Site URL?
A website address has a few parts that are useful to recognize:
-
Protocol:
https://orhttp://. HTTPS encrypts the connection between a visitor’s browser and your website. -
Domain name: The name people use to find your site, such as
example.com. -
Subdomain: An optional prefix, such as
wwworstore. -
Path: An optional part after the domain, such as
/wordpressor/blog.
For example, in https://blog.example.com/news, https is the protocol, blog is the subdomain, example.com is the domain, and /news is the path.
Consistency is important. Search engines and visitors may treat different versions of an address as separate URLs unless your website redirects them properly. Choose a preferred format—for example, HTTPS with or without www—and configure your site to use it consistently.
How to Change Your WordPress Site URL
If your dashboard is available and you’re changing a site address you control, the simplest method is usually to update the settings in WordPress:
- Sign in to your WordPress dashboard.
- Open Settings > General.
- Review the WordPress Address (URL) and Site Address (URL) fields.
- Enter the correct address in the relevant field or fields.
- Save the changes, then test the website and sign-in page.
Before making a change, confirm that the new domain points to your hosting account and that HTTPS is set up if you plan to use it. Make a backup of your website and database, especially before changing the domain or moving WordPress to a different directory.
Changing these settings incorrectly can make the dashboard or public site unavailable. If you’re unsure which field to update, ask your host or developer before proceeding. Avoid changing the WordPress Address and Site Address independently unless your setup requires it.
After a domain change, existing links in posts, pages, menus, and image references may still contain the old address. You may need to update those links as part of the migration. Use a reputable search-and-replace method that understands how WordPress stores data, and create a backup first. A basic text replacement in the database can damage serialized data.
Changing the URL When You Cannot Access the Dashboard
If a URL change has locked you out of WordPress, you may be able to restore access through your hosting account. One option is to define WP_HOME and WP_SITEURL in the site’s wp-config.php file. These constants can set the public address and the WordPress core address when the dashboard settings are unavailable.
Another option may be to update the relevant values in the WordPress database through a tool provided by your host. The values are commonly stored in the options table, but the table prefix can vary. Database edits carry risk, so back up the database and follow your host’s instructions or get help from a WordPress professional if you’re unfamiliar with the process.
Some hosting providers also offer a WordPress management tool that can correct the site URL. Whatever method you use, verify the domain, protocol, and path carefully. Once the site loads, check the dashboard settings and remove any temporary workaround that is no longer needed.
Common WordPress Site URL Problems
Several common issues can affect a WordPress site URL. Checking the address settings and your hosting configuration can help you identify the cause.
- Redirect loops: Conflicting HTTPS or domain redirects in WordPress, a plugin, or the hosting configuration can send visitors back and forth between addresses.
- Mixed content warnings: The site loads over HTTPS, but some images or scripts still use HTTP links.
- Broken images or links: Content may still reference an old domain, protocol, or directory after a migration.
-
Unexpected “www” behavior: The domain, DNS, host, and WordPress settings may not agree on whether the site uses
www. - Dashboard access problems: An incorrect WordPress Address can prevent WordPress files or the login page from loading as expected.
Start troubleshooting by noting the exact address in the browser and any error message. Then check the two WordPress URL settings, your hosting provider’s domain and SSL configuration, and any redirect rules or plugins. If the issue began immediately after a change, restoring a backup or reversing that specific change may be the quickest solution.
WordPress Site URLs and SEO
Your WordPress site URL can affect how search engines discover and index your content. A consistent preferred domain helps prevent multiple versions of the same page from being treated as separate addresses. For example, decide whether visitors should use https://example.com or https://www.example.com, then redirect other versions to the preferred one.
When you change domains, set up appropriate redirects from the old URLs to the corresponding new pages. Redirecting every old page to the new homepage can create a poor visitor experience and may not preserve the value of the original pages. Update internal links, your XML sitemap, and relevant business profiles where possible.
HTTPS is also important for a secure visitor experience. Installing an SSL certificate alone may not update every WordPress URL or fix old HTTP links. Check that the preferred address uses HTTPS and look for mixed content after the change. An SEO plugin can help you manage metadata and sitemaps, but it does not replace correct site URL and redirect configuration.
Best Practices for Managing Your WordPress URL
- Choose one preferred version of your domain, including HTTPS and whether to use
www. - Keep the WordPress Address and Site Address correct for your installation.
- Back up your site and database before making URL or domain changes.
- Test the homepage, important pages, images, and dashboard after an update.
- Use redirects when you change a domain or preferred URL format.
- Avoid editing database values directly unless you understand the risks or have expert guidance.
If your WordPress installation is part of a multisite network, URL settings and domain changes can involve additional network-level configuration. In that case, consult your hosting provider or a developer familiar with WordPress multisite before editing individual site addresses.
Conclusion
A WordPress site URL is the public address visitors use to reach your website. In WordPress, it’s important to distinguish the Site Address (URL), which points to the public site, from the WordPress Address (URL), which points to the WordPress core files. The two addresses are usually the same, but some installations use different locations.
Check your settings under Settings > General, choose a consistent domain and HTTPS format, and back up your site before making changes. If a URL update causes redirects or access problems, review your WordPress settings, hosting configuration, and old links carefully. When in doubt, ask your host or a WordPress professional to help protect your site.