Magic Link Setup Guide
Set up passwordless one-click login via email link for your WordPress site.
Magic Link lets users log in or sign up with a one-time link sent to their email. No password fields are required on the form.
This article covers:
- How to enable Magic Link
- Login vs signup behaviour
- Security options (expiry, same-IP, attempts)
- Redirects after login
- Email template and test tools
Enable Magic Link
- Go to VentraConnect Social Login → Passwordless Mode.
- In the sidebar, click Magic Link.
- Turn the Active toggle On.
- Click Save Changes.
This enables Magic Link as an available login method wherever passwordless is supported (WordPress login, WooCommerce, memberships, LMS, comments, depending on what you've enabled).
Choose Login and Signup Behaviour
In the Magic Link settings screen you'll see Login & signup mode, which controls whether Magic Link can:
Pick the option that matches your site:
- For most WooCommerce / membership sites, allow Magic Link to create new accounts where you normally allow registrations
- For closed communities, restrict Magic Link to existing users only
Configure Security: Expiry, Resend, Attempts, IP
Key fields on the Magic Link settings screen:
Magic Link links are always:
- Single-use - Once successfully used, they can't be used again
- Expiry-bounded - Once the expiry time passes, the link is marked as expired
Set Redirects for Magic Link
By default, Magic Link respects your global redirect rules and per-integration settings (WooCommerce, memberships, LMS).
You can optionally override this on the Magic Link settings screen under Redirect override:
- Return to previous page - Send users back where they started
- Send to homepage - Redirect to site homepage
- Custom URL - e.g.
/my-account/or/dashboard/
If you leave it as "None", Magic Link follows:
- The global redirect settings in Settings → Redirects & Security
- Any plugin-specific redirect rules (WooCommerce, etc.)
Customize the Magic Link Email
In the Email settings section:
You can use placeholders such as:
{magic_link}- The one-time login URL{site_name}- Your site's name{user_email}- The email address the link was sent to{expires_in}- Expiry time in minutes
Write clear copy that:
- Explains this is a one-time link
- Mentions the expiry time
- Warns users not to forward the email
Use the button below to log in to {site_name}. This link works once and expires in {expires_in} minutes.
[Log in now]
If you didn't request this email, you can ignore it.
Preview & Test Magic Link
At the bottom of the Magic Link settings page:
Testing steps:
- Use the Preview & test section
- Make sure the button label looks correct (e.g. "Continue with Magic Link")
- Use the "Send test email" option to send yourself a Magic Link
- Open the email on a normal browser and click the link
- Confirm you are logged in
- Confirm you're redirected to the expected page
- Try using the same link again - confirm it shows as expired
If anything fails, check:
- Email deliverability (SPF/DKIM, SMTP plugin, etc.)
- The Diagnostics & Tools tab for errors
- The OTP/Magic Link troubleshooting doc