preloader

MemberPress Login Redirect Loop? Here Is the Fix

Users log in to MemberPress but get stuck in an infinite redirect loop. This problem usually relates to incorrect page settings or conflicting redirect rules.

MemberPress includes a powerful login redirect system that can send users to different pages based on their membership level, role, or other criteria. When configured correctly, users should log in and be taken to their intended destination, such as a members-only homepage, a course catalog, or their account page. However, sometimes users get stuck in an infinite redirect loop after logging in, with the browser showing “Too many redirects” and the page never loading.

This problem can be incredibly frustrating for members who cannot access the site at all after logging in. The redirect loop may affect all users or only specific membership levels, and it may appear suddenly after updating MemberPress, changing the login page URL, or modifying redirect rules. In some cases, the loop occurs only for users who were already logged in and try to access the login page again.

The most common cause of this problem is that the login page and the redirect destination are the same page, creating an infinite loop. Another cause is that a security plugin is adding its own redirect that conflicts with MemberPress, or that the WordPress site URL and home URL settings are inconsistent.

Why MemberPress login redirect loops occur

When a user logs in, WordPress typically redirects them to the admin dashboard or the page they were viewing before logging in. MemberPress overrides this behavior with its own redirect rules, sending users to a specific page based on their membership status. If the redirect destination is the same as the login page, the user will be sent back to the login page after logging in, which then redirects again because they are already logged in, creating an infinite loop.

This commonly happens when the “Login Redirect” setting in MemberPress is set to the same page as the “Login Page” setting. For example, if the login page URL is /login/ and the redirect is also set to /login/, the loop will occur. The user logs in, is sent to /login/, is already logged in so is redirected again, and the cycle repeats .

Another cause is that the WordPress site URL and home URL settings are inconsistent, with one using www and the other not. For example, if the site URL is set to https://example.com and the home URL is set to https://www.example.com, the redirect may bounce between the two versions, causing a loop. This can also happen when the site uses HTTPS but some resources are still being loaded over HTTP.

How to check if the login and redirect pages are the same

Go to MemberPress → Settings → Pages and note the page selected for “Login Page” and “Member Home Page” or custom redirect settings. If the Login Page and the redirect destination are the same URL, change the redirect destination to a different page, such as a members-only dashboard or the account page. After making the change, test the login process again.

Step by step guide to fixing MemberPress redirect loops

Follow these steps in order to resolve login redirect loops in MemberPress. Start with the simplest solutions before moving to more advanced troubleshooting steps.

  • Check that the Login Page and redirect destination are not the same page
  • Go to MemberPress → Settings → Pages and set the “Member Home Page” to a different page (not the login page)
  • Clear all caches including plugin cache, CDN cache, and browser cache completely
  • Check that the WordPress Site URL and Home URL match (both use www or both non-www, both HTTPS)
  • Temporarily disable all security plugins to test if they add conflicting redirects
  • Add custom code to force redirects to use the same protocol (HTTPS) and domain
  • Go to Settings → Permalinks and click “Save Changes” to flush rewrite rules
  • Test the login process in an incognito browser window after each change
  • Update MemberPress to the latest version available from the official website
  • Contact MemberPress support with specific details about the redirect loop

How to force consistent domain and protocol for redirects

Add this code to the wp-config.php file to force all redirects to use the same domain and HTTPS protocol. Replace “example.com” with your actual domain name. This prevents redirects from bouncing between www and non-www or between HTTP and HTTPS versions of the site.

define('WP_HOME', 'https://example.com');
define('WP_SITEURL', 'https://example.com');
define('FORCE_SSL_ADMIN', true);

MemberPress login redirect troubleshooting reference table

Here is a reference table for diagnosing login redirect problems in MemberPress based on specific symptoms you might encounter.

For more information about MemberPress login settings, visit the MemberPress page on wpwizzy.com.

Preventing MemberPress login redirect loops in the future

Never set the MemberPress login redirect destination to the same page as the login page itself. Use a dedicated members-only homepage or account page as the redirect destination. Ensure that the WordPress Site URL and Home URL are consistent (both with www or both without, both HTTPS). After making any changes to redirect settings, clear all caches and test the login process in an incognito browser window.

Keep MemberPress and all other plugins updated to their latest versions on a regular schedule, and use a staging website to test major changes before applying them to the live production site. Document the redirect configuration for each membership level for future reference, and regularly test the login process from different devices and browsers to catch redirect issues early.

Keep Reading

Previous Post MemberPress Rules Not Protecting Content? Here Is the Fix Next Post MemberPress Payment Page Not Loading? Here Is the Fix

Need Help With Your WordPress Site?

If you need help with WordPress fixes, plugin issues, theme customization, or development work, feel free to get in touch.

Get a Free Estimate

WPWizzy WordPress developers

WPWizzy helps with everything from small WordPress fixes to larger custom projects. Through our partnership with Codeable, you can get a free estimate from vetted WordPress developers before committing to any work.

Need Urgent Help?

© 2026 WPWizzy.com | Developed by Foxy Concept
Symptom Most likely cause Recommended solution
“Too many redirects” error after login Login page and redirect destination are the same Set redirect destination to a different page Redirect works for some users but loops for others Membership-specific redirect rule conflict Check redirect rules for each membership level
Loop occurs only when accessing login page while logged in Login page redirects logged-in users to itself Set logged-in redirect to member home page instead of login page
Loop occurs only on mobile devices Mobile redirect plugin or theme conflict Test with mobile theme disabled and check for mobile-specific redirects