Docs

WooCommerce My Account

5 min readUpdated November 19, 2026

If you run WooCommerce, customers sign in at the My Account page, not at wp-login.php. Shield can protect that page with the same tools it uses for the normal WordPress login: lockouts, the IP blocklist, honeypot usernames, geo-blocking, the JavaScript check and your CAPTCHA.

Where to find it

Go to Settings → Login Shield → Integrations tab → WooCommerce My Account section. WooCommerce must be active. If it isn’t, the section shows a warning with an “Install WooCommerce” link and the switches are greyed out. When WooCommerce is active, a note links to your My Account page.

A settings panel shows five toggle switches to protect WooCommerce forms, including login, registration, lost password, checkout, and order tracking. Each row features a blue “on” toggle switch next to a label describing the specific WooCommerce form being secured.

Why you need this

Turning on a custom login URL or protecting wp-login.php doesn’t cover WooCommerce’s forms. Bots go straight to /my-account/ (and to checkout and order tracking). Lockouts, the IP blocklist and honeypot usernames already apply to WooCommerce logins, because they run on every WordPress sign-in. The switches add the page-level block, geo-blocking, the JavaScript check and the CAPTCHA, and they cover the registration, lost password, checkout and order tracking forms.

The five switches

All five are off by default.

SwitchProtectsWhat Shield adds
Protect WC loginThe My Account login formJavaScript check, CAPTCHA widget, lockouts, IP blocklist, honeypot usernames, geo-blocking
Protect WC registrationThe My Account registration formJavaScript check and CAPTCHA widget
Protect WC lost passwordThe lost password formCAPTCHA widget (verified only when Lost password form is also ticked on the General tab)
Protect WC checkoutThe checkout formJavaScript check and CAPTCHA widget before the Place order button
Protect WC order trackingThe Track Order formJavaScript check and CAPTCHA widget, so bots can’t scrape order details

Click Save integration settings after changing any of them.

Setting up

  1. Choose and set up a CAPTCHA provider first (see “Choose a CAPTCHA provider”). Without one, the switches still add the lockout and other checks, but no CAPTCHA widget appears.
  2. Open the Integrations tab and turn on the switches you want. For most stores: login, registration and lost password. Add checkout and order tracking if you see bot orders or probing.
  3. Click Save integration settings.
  4. Open your My Account page in a private browser window and check that the widget appears and a login works. Then try a wrong password to see the lockout.
A login form for a My account page with fields for a username or email address and a password. Below the input fields is a reCAPTCHA checkbox, a Log in button, a Remember me option, and a link to recover a lost password.

What protects the login form

When Protect WC login is on, these checks run in order:

  1. Page-level block. If the visitor’s IP is locked out or on the blocklist, they don’t see the My Account page at all. They get a plain “Access Restricted” page with the message “Too many failed login attempts. Please try again later.” (HTTP status 429).
  2. Blocklist and lockout. On submit, a blocked IP sees “Your IP address has been blocked.” A locked-out IP sees “Too many failed login attempts. Please try again later.”
  3. Honeypot username. If the username is a honeypot, the IP is locked out for your honeypot period and the visitor sees “Access temporarily restricted.”
  4. Geo-blocking. If the country is blocked, the visitor sees your geo-block heading as the error message.
  5. JavaScript check, if you’ve turned it on.
  6. CAPTCHA from your chosen provider. A failure shows “CAPTCHA verification failed. Please try again.” (with Friendly Captcha: “Security check failed. Please try again.”). A missing token shows “CAPTCHA response missing. Please complete the challenge.”
  7. The password check. Failed attempts count toward lockouts like any other login.

Customers who are on your whitelist (Lockout tab) skip the lockout and block checks.

Two other things that work on the My Account page

  • 2FA, passkeys and magic links work at WooCommerce’s login form too. Passkey and magic-link buttons appear on it when enabled. See the Two-Factor Authentication and Passwordless Sign-In topics.
  • Login and logout redirects set on the Access tab also apply to WooCommerce logins. See “Login and logout redirects”.

A “Login & security” page for customers

Shield also adds a “Login & security” page to the My Account menu, where customers can add a passkey or an authenticator app. It’s covered in “The Login & security page for users”.

Other protections that cover WooCommerce

  • The early-block mu-plugin rate-limits WooCommerce login attempts, 20 a minute per IP. See “The early-block mu-plugin”.
  • Entries in the Log tab are labelled by where they came from: WooCommerce My Account, Registration, Lost Password, Checkout or Order Tracking.
  • Signup email verification skips customers created at checkout, and clears the pending status once an order is placed. See “Signup email verification”.

Themes

Themes that draw the login and registration forms using WooCommerce’s standard hooks are covered automatically. The Integrations tab lists WoodMart as an example and shows an “active” badge when it detects it. If your theme builds its own forms, the widget may not appear. Test it.

A settings panel showing a “Themes” section with a text description, followed by a “WoodMart” entry labeled “not active” that explains it uses standard WooCommerce hooks with no extra code required.

Testing checklist

  1. Open My Account in a private window. The CAPTCHA widget should appear.
  2. Log in with a correct password. You should get in.
  3. Log in with wrong passwords until you reach your limit. You should see the lockout message.
  4. Unlock your IP from the Lockout tab (see “Unlock an IP”).
  5. If you turned on checkout protection, place a test order with each payment method.
  6. Check that every entry in the Log tab appears with the right label.

Troubleshooting

  • The widget doesn’t show. Check that a CAPTCHA provider is selected and its keys are saved. Clear page caches, and make sure caching plugins exclude the My Account, checkout and order tracking pages (see “Caching and login pages”).
  • Customers can’t log in, and see “CAPTCHA response missing”. The CAPTCHA token isn’t being sent. Check for JavaScript errors and for plugins that defer or combine scripts.
  • Customers are being locked out. Your attempt limit may be too low, or all visitors may look like one IP behind a proxy. See “Lockouts are keyed to the wrong IP”.
  • Lost password still has no CAPTCHA check. The check only runs when Lost password form is also ticked under General → Protect forms.
  • Checkout fails after enabling protection. Turn off Protect WC checkout and tell us which checkout you use.

Was this helpful?

This website uses cookies to enhance your browsing experience and ensure the site functions properly. By continuing to use this site, you acknowledge and accept our use of cookies.

Accept All Accept Required Only