• Resolved mike1115

    (@mike1115)


    Hi everyone,

    I’m running a WooCommerce site using WordPress (latest version), and I’ve noticed that new users trying to register are being sent to the default WordPress registration URL:

    /wp-login.php?action=register

    However, I used to have a custom registration page (like /register or /my-account/) that matched my site’s design and handled user creation properly. For some reason, the site is now defaulting back to the core WordPress registration screen.

    ✔️ Membership is enabled (Anyone can register is checked)
    ✔️ WooCommerce is configured to allow registration on both checkout and My Account pages
    ✔️ SMTP is working fine – emails are delivered instantly
    ❌ But I don’t want users to see the plain /wp-login.php?action=register form

    I’m not sure what caused the change. I might have disabled a plugin that previously handled the redirect or the custom form.

    My questions:

    1. What’s the best way to override /wp-login.php?action=register so it redirects to a custom page?
    2. Is there a hook or filter I can use instead of a plugin?
    3. Could WooCommerce or any specific plugin be interfering with the redirect?

    Appreciate any insight! Thanks in advance 🙏

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thanks you for providing such detailed context — that really helps.

    You’re absolutely right that WooCommerce doesn’t override the default WordPress registration URL (/wp-login.php?action=register) on its own. It handles registration through the My Account page or at checkout, but if a plugin was previously managing the redirect or displaying a custom form, disabling it would cause WordPress to fall back to the default registration screen.

    To assist you better, could you please clarify a bit more? Does the redirect to the WordPress registration page happen when users click on the My Account icon in the header? Or have you added a registration link elsewhere that leads to the default registration screen?

    I’ve checked the issue on your site, and here’s what I observed:

    • When clicking on the My Account icon in the header menu, a popup appears with options to log in or register a new account.
    • When clicking on “Create a new account”, it redirects to the WordPress default registration page at:
      https://artmyhome.se/wp-login.php?action=register
      This is because the “Create a new account” text is linked directly to that URL.

    Additionally, I noticed something else:

    • If I click on the site logo (which refreshes the page) and then click the My Account icon again, it takes me directly to the My Account page instead of opening the popup.

    It seems you’re using the Elementor plugin, so I recommend reaching out to Elementor’s support team and asking:

    • How to change the registration URL in the popup so it redirects users to your custom registration page.
    • Why the behavior changes (popup vs. direct link) after the homepage is refreshed.

    Let us know how it goes or if you need help modifying the registration link manually.

    Thread Starter mike1115

    (@mike1115)

    Update! Theme support fix the problem. Thanks for all help!

    Superb @mike1115,

    I’m glad to hear the issue has been resolved—kudos to the theme’s support team. If you’re enjoying the features offered by the WooCommerce plugin, we’d really appreciate it if you could leave us a review here: https://wordpress.org/support/plugin/woocommerce/reviews/#new-post

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Registration URL fallback to /wp-login.php?action=register – how to override?’ is closed to new replies.