Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Support request] Edit Profile displays Login page after update

Simple Membership Plugin › Forums › Simple Membership Plugin › Edit Profile displays Login page after update

Tagged: [swpm_profile_form], Edit profile, Redirect after Edit Profile

  • This topic has 4 replies, 3 voices, and was last updated 1 year, 9 months ago by sylwia.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • January 2, 2025 at 3:48 am #29276
    sylwia
    Participant

    Hi, I am testing my Simple Membership setup. Everything seems to work, but when I use Edit Profile > Update, I am redirected to the Login Page. The login status is “loggedin” (the page displays “you are logged in as” with the correct username). I can access restricted pages without re-logging (I’ve read this: https://simple-membership-plugin.com/forums/topic/keeps-forcing-me-to-login/), I have also tried this: https://wordpress.stackexchange.com/questions/6765/redirecting-user-after-updating-profile (although not sure if I got it right), but the behavior persists. I have deactivated all plugins except Simple Membership Add-ons. But each time after I click Update on Edit Profile page [swpm_profile_form] whether I change any data or not, I am redirected to the Login page (with status logged-in).
    Is this intended behavior? I was expecting to stay on the Edit Profile page with the “Profile updated successfully” message displayed.

    January 2, 2025 at 3:53 am #29278
    admin
    Keymaster

    Hi, When a member updates the profile from the ‘edit profile’ page, our plugin doesn’t do any auto redirection to any page. The user should stay on the page with a message that says the profile has been updated. If you are seeing a redirection to the login page, it is coming from a configuration or customization that you may have applied.

    Sometimes a user can apply customization in the theme’s functions.php file so when checking where the customization might be coming from, check/test the theme also:
    https://simple-membership-plugin.com/forums/topic/test-for-plugin-and-theme-conflict-before-posting-an-issue-or-a-bug/

    Make sure to deactivate all the addons of the Simple Membership plugin also to make sure it is not coming from an addon’s configuration.

    January 2, 2025 at 4:21 pm #29281
    sylwia
    Participant

    Hi, thank you for the prompt response.

    I have deactivated all plugins, only Simple WordPress Membership is active. I have also installed the Twenty Sixteen theme and switched to Twenty Sixteen (I have my setup on Astra), I have cleaned all cookies and cache from the browser, but still, when I click the submit button on Edit Profile I am redirected to the login page (which is currently also the home page). I’ve found today that Password Reset Using Link is not working for me because I am using plain permalinks (links are created with /?page=123, so the additional ?action parameter from the password reset url is not recognized.)

    Can the problem with redirection after form submission be related to the plain permalinks to?
    If not, what else can I check?

    sylwia

    January 2, 2025 at 11:02 pm #29284
    The Assurer
    Moderator

    Per this thread, SWPM does not work well with plain permalinks.
    https://simple-membership-plugin.com/forums/topic/password-reset-link-just-goes-back-to-the-password-reset-form/

    January 6, 2025 at 3:23 pm #29315
    sylwia
    Participant

    Hi, I am aware of the Password Reset Using Link issue with plain permalinks (and I was able to make it work).

    But the EditProfile Form does not seem to use urls. As mentioned earlier, I have checked it with Twenty Sixteen newly installed theme, all plugins deactivated except Simple WordPress Membership, I have also removed all swpm related translation files (.po and .mo files) so there is no custom code involved. Still, whether I modify any data or not, when I click Submit, the homepage is displayed. Otherwise, the form works. The user stays logged in. When user data is modified, it is saved correctly. Password reset also works fine. The only issue I have with it, is the homage displayed after submit.

    I don’t see any logs in WordPress debug.log or the swpm logs related to the profile_form submission.

    I have tested with setting explicitly the action in the swpm_profile_form (edit.php, edit-v2.php) to the EditProfile page’s url, but even then, it redirects me to the homepage.

    I think I was able to set up and test everything else, and
    this is basically the only thing that blocks me from proceeding to Premium, which I need to set up the whole thing.

    What else can I check to find the cause?
    I was reinstating Simple WordPress Membership, is there a possibility something was not refreshed correctly in DB?

    sylwia

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy