WooCommerce · Guide
How to Get WooCommerce Store URL (Step by Step)

Short answer
Your WooCommerce store URL is usually your WordPress site address. Find it under Settings, then General, in the Site Address (URL) field, and copy it with https included. For the product listing page, check which page is set as the Shop page in WooCommerce settings.
Key takeaways
- The store URL apps ask for is usually your WordPress site address.
- Find it under Settings > General as Site Address (URL).
- The shop page is set under WooCommerce > Settings > Products.
- Use https and the exact www or non-www version your site uses.
- Plain permalinks, coming soon mode and firewalls often block app connections.
What is your WooCommerce store URL?
Your WooCommerce store URL is normally your WordPress site address, such as https://www.example.com, because WooCommerce runs inside WordPress and uses the same domain.
People mean two slightly different things by store URL:
- The site address. The main domain where WordPress and WooCommerce live. Apps, payment providers and print-on-demand services almost always want this one.
- The shop page URL. The page that lists your products, often ending in /shop/. Customers use this one.
Most setup forms ask for the first. If a form asks for your store URL to connect an app, enter the site address, not the shop page.
The difference matters because apps connect to your whole site, not just one page. They need the root address so they can reach the API that sits behind it.
This guide shows where to find both, how to copy them in the right format, and what to do when they do not match.
How do you find the store URL in WordPress settings?
Go to Settings > General in your WordPress dashboard and copy the value in the Site Address (URL) field.
Follow these steps:
- Log in to your WordPress dashboard.
- Go to Settings > General.
- Find Site Address (URL).
- Copy the full value, including https://.
Right above it is WordPress Address (URL). On most sites both are the same. If they differ, the Site Address is the one visitors see and the one to use as your store URL.
The General Settings screen documentation explains each field. Do not edit these fields unless you mean to move the site. A wrong value can lock you out of the dashboard.
How do you find your WooCommerce shop page URL?
Go to WooCommerce > Settings > Products to see which page is your shop page, then open that page to copy its address.
WooCommerce creates a Shop page when you set it up. The address depends on your permalink settings and the page slug, but it is often your domain followed by /shop/.
To find it:
- Go to WooCommerce > Settings.
- Open the Products tab.
- Look at the Shop page setting to see which page is selected.
- Go to Pages, hover over that page and click View.
- Copy the address from your browser bar.
WooCommerce lists its other core pages, such as Cart, Checkout and My account, in its WooCommerce pages documentation. If you want to rename the shop page, our guide to customizing WooCommerce pages covers it.
Where else can you see the store URL?
The WooCommerce status report, your hosting panel and the store's own front end all show the store URL.
Inside WordPress, go to WooCommerce > Status. The WordPress environment section lists the WordPress address (URL) and Site address (URL). This is handy because it also shows whether the site uses HTTPS.
Our guide to the WooCommerce status report explains the rest of that screen.
Outside WordPress, try:
- Your hosting panel. Most hosts list each WordPress install with its domain.
- The front end. Open your store's home page and copy the address from the browser bar.
- Order emails. WooCommerce emails link back to the store.
How do you get the store URL in code?
Use the home_url function for the site address and wc_get_page_permalink with shop for the shop page URL.
Developers building themes, plugins or integrations can get both values without hard-coding them:
$store_url = home_url( '/' );
$shop_url = wc_get_page_permalink( 'shop' );
The home_url reference explains its options. Using these functions means your code keeps working if the domain changes later.
If you run WP-CLI, wp option get home prints the site address from the command line.
How do you find the store URL if you cannot log in?
If you cannot reach the dashboard, check the wp-config file, the database options table, or your hosting panel, all of which store the site address.
This happens more often than you might think. A freelancer may have built the store, or you may be locked out after a password change.
Try these places in order:
- Your hosting panel. Open the WordPress or website section. The domain is usually listed next to each install.
- The wp-config file. Some sites set the address with the WP_HOME and WP_SITEURL constants. If those lines exist, they override the dashboard settings.
- The database. In phpMyAdmin, open the options table and look at the rows named siteurl and home. The home value is your store URL.
Our guide on where to find wp-config.php shows where that file lives. The constants are described in the wp-config.php developer documentation.
Read these values only. Changing them by hand without a backup can take the store offline.
What format should the store URL be in?
Use the full address with https, the exact www or non-www version your site uses, and usually no trailing slash or extra path.
Small differences cause most connection failures. An app that tries http:// when your store forces https://, or the wrong www version, may fail or loop through redirects.
| Version | Example | Usually correct? |
|---|---|---|
| Full site address with https | https://www.example.com | Yes |
| Missing https | www.example.com | Sometimes accepted |
| http instead of https | http://www.example.com | No, if SSL is active |
| Wrong www version | https://example.com when site uses www | Often fails |
| Shop page | https://www.example.com/shop | Only if asked for |
| Admin page | https://www.example.com/wp-admin | No |
When in doubt, copy the value from Settings > General exactly. That is the address WordPress itself uses.
Check how your site actually loads, too. Type your domain without www into a browser and watch the address bar. If it switches to the www version, use the www version in every app.
The same applies to https. Once an SSL certificate is installed, every app should use the https address, even if the http version still redirects correctly.
Which services ask for your WooCommerce store URL?
Payment gateways, print-on-demand apps, marketplaces, shipping tools and marketing platforms ask for the store URL so they can connect through the WooCommerce REST API.
When you enter the store URL into an app, it usually sends you to your store to approve access. WooCommerce then creates API keys behind the scenes.
Common examples include:
- Print-on-demand services such as Printify. See our guide to connecting Printify to WooCommerce.
- Social shops on Facebook and Instagram.
- Accounting and inventory tools.
- Email marketing platforms.
The WooCommerce REST API documentation explains how these connections use your store URL. If an app asks for keys directly, our guide on getting a WooCommerce API key shows how to create them.
Why might your store URL not work in an app?
Connections usually fail because of http versus https mismatches, plain permalinks, security plugins blocking the API, or a store that is still in coming soon mode.
Check these points:
- SSL. The store should load on https without warnings.
- Permalinks. Settings > Permalinks must not be set to Plain.
- Coming soon mode. WooCommerce's coming soon setting can block outside access while a store is private.
- Firewalls. Security plugins or a web application firewall may block API requests.
- Wrong domain. Staging addresses will not work for live connections.
If your store is still private, our guide to changing the WooCommerce coming soon page explains how to make it live.
How do you change your WooCommerce store URL?
Changing the store URL means changing your WordPress site address, which requires updating settings, links in the database and redirects.
This is a bigger job than it looks. You need to update the site address, replace old links in the database, set up redirects and reconnect any apps that used the old URL.
Switching from http to https is a smaller change of the same kind. If you are adding SSL to a live store, follow our guide on installing an SSL certificate on WordPress and then update the URL in each connected app.
Take a full backup first. Our guide to changing the domain of a WordPress site covers the full process.
Frequently asked questions
Is the WooCommerce store URL the same as the website URL?
Yes, in almost every case. WooCommerce runs inside WordPress, so the store shares the site's domain. The only extra address is the shop page, which lists products and usually sits at a path such as shop on the same domain.
Should I include a trailing slash in my store URL?
Most apps accept either, but the safest choice is to copy the Site Address exactly as WordPress shows it in Settings, then General. That value has no trailing slash, and it matches what WooCommerce uses for API connections.
Where do I find the store URL on WordPress.com?
On WordPress.com, your store URL is the site's domain shown in your site list and dashboard. If you have a custom domain, use that rather than the free WordPress.com address, unless the app specifically asks for the default one.
Can I change my shop page URL without changing the domain?
Yes. Edit the Shop page and change its slug, or choose a different page under WooCommerce settings. Add a redirect from the old address so links and search results still work after the change.
Why does an app say my store URL is invalid?
The app probably cannot reach your store's REST API. Check that the site loads over https, permalinks are not set to Plain, the store is not in coming soon mode, and no firewall is blocking requests from the app.
Sources
- General Settings screen WordPress.org Documentation
- WooCommerce pages WooCommerce
- home_url() WordPress Developer Resources
- WooCommerce REST API documentation WooCommerce
Is your product missing, or something out of date?
Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.
Thanks — we review requests within 3 business days.
Related guides
About the editors
Researched from the primary sources listed above and checked against our editorial rules before publishing.


