Website Building » WooCommerce » What Is WooCommerce Admin URL?

What Is WooCommerce Admin URL?

Last updated on January 18, 2023 @ 3:50 pm

If you’re running a WooCommerce store, it’s important to know what your WooCommerce admin URL is. This is the URL that you’ll use to access your WooCommerce dashboard, where you can manage your store, add products, and process orders. By default, your WooCommerce admin URL will be something like this:

https://example.com/wp-admin/

However, it’s possible to change your WooCommerce admin URL if you want to. This can be useful for security purposes, or if you simply want to make it easier to remember. In this article, we’ll show you how to change your WooCommerce admin URL in WordPress.

  1. Change the WordPress Login Page URL

One way to change your WooCommerce admin URL is by changing the WordPress login page URL. By default, this is set to /wp-login.php, but you can change it to anything you want.

For example, you could change it to /login. To do this, you’ll need to add the following code to your functions.php file:

function wc_change_login_url() {
return home_url();
}
add_filter( 'woocommerce_login_redirect', 'wc_change_login_url' );

Once you’ve added that code, you can access your WordPress login page at yoursite.com/login. From there, you can log in and access your WooCommerce dashboard.

  1. Use a Custom Plugin

If you don’t want to edit your theme’s code, then another option is to use a custom plugin.

PRO TIP: If you are not familiar with WooCommerce, then the Admin URL may not be something you are expecting. The default WooCommerce Admin URL is /wp-admin/ and this is where you will go to login to your WooCommerce store. If you have changed the default WordPress login URL, then the WooCommerce Admin URL will be the same as your WordPress login URL.
  1. Change the WordPress Login Page URL With a Plugin

There are a few plugins that will allow you do this without having to edit any code. We recommend using the WP Custom Admin URL plugin. It’s a free plugin that allows you to easily change your WordPress login page URL.

Once you’ve installed and activated the plugin, go to Settings » Custom Admin URL from your WordPress dashboard.

You’ll see a field where you can enter the new login page URL that you want to use.

Make sure that the box next “Enable redirect” is checked before saving changes. “Redirect users after login” Option allows you to redirect users to different pages based on user roles such as administrator, editor etc.

Dale Leydon

Dale Leydon

Sysadmin turned Javascript developer. Owner of 20+ apps graveyard, and a couple of successful ones.