Title: Redirection Addon not working yet
Last modified: June 5, 2022

---

# Redirection Addon not working yet

 *  Resolved [1waytoheaven](https://wordpress.org/support/users/1waytoheaven/)
 * (@1waytoheaven)
 * [4 years ago](https://wordpress.org/support/topic/redirection-addon-not-working-yet/)
 * We only have Free Level.
 * We don’t use any other specific redirection plugins.
 * I’ve followed these instructions;
 * [https://simple-membership-plugin.com/configure-login-redirection-members/](https://simple-membership-plugin.com/configure-login-redirection-members/)
 * I’ve chosen the option to have Users redirected to the last page where they Logged
   in, however newly Logged in Users are always redirected to the site Homepage.
 * This is the case after clearing the browser cache AND after purging all site 
   caches in LiteSpeed cache.
 * Probably related, I also notice after logging in with the correct User data, 
   the processing often just continues until you refresh the browser (Safari and
   Brave), only then do you see anything at all, and in my case it’s the homepage
   not the page the visitor was viewing when they chose to login.
 * I noticed this “hanging processing” even before I installed the redirect addon.
 * Visitors should not need to refresh the browser, something is “sticky” in the
   processing of the redirection.
 * Suggestions please?

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/redirection-addon-not-working-yet/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/redirection-addon-not-working-yet/page/2/?output_format=md)

 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [4 years ago](https://wordpress.org/support/topic/redirection-addon-not-working-yet/#post-15710863)
 * Hi, please carry out the following troubleshooting steps.
 * [https://simple-membership-plugin.com/forums/topic/test-for-plugin-and-theme-conflict-before-posting-an-issue-or-a-bug/](https://simple-membership-plugin.com/forums/topic/test-for-plugin-and-theme-conflict-before-posting-an-issue-or-a-bug/)
 * Thank you.
 *  Thread Starter [1waytoheaven](https://wordpress.org/support/users/1waytoheaven/)
 * (@1waytoheaven)
 * [4 years ago](https://wordpress.org/support/topic/redirection-addon-not-working-yet/#post-15710888)
 * Yes, thank you, I did that, and have managed to fix the “hanging blank page” 
   problem. It was the WebPushr Notification plugin conflicting with our Litespeed
   Caching plugin that was causing the “hanging blank page” after logging in
 * I could see on the “hanging page” browser status bar; “Waiting for bot.webpushr…”
 * So by excluding some webpushr URIs in the Litespeed settings and purging all 
   caches, we managed to get the site snappy again.
 * **But we are still not getting redirected** to the page the User decided to login
   at. Everyone is sent to the site homepage instead.
 * Can you give me some/all SMP redirect plugin URIs to also exclude from Litespeed
   caching please? I suspect that will fix the redirection bug.
    -  This reply was modified 4 years ago by [1waytoheaven](https://wordpress.org/support/users/1waytoheaven/).
      Reason: Sp
 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [4 years ago](https://wordpress.org/support/topic/redirection-addon-not-working-yet/#post-15710949)
 * Hi, I thought the following entries mentioned below worked for you.
 * [https://wordpress.org/support/topic/register-form-input-boxes-too-long/#post-15709345](https://wordpress.org/support/topic/register-form-input-boxes-too-long/#post-15709345)
 * If the above does not work for you, then there must be another plugin, theme 
   or service in your site causing this issue.
 * Kind regards.
 *  Thread Starter [1waytoheaven](https://wordpress.org/support/users/1waytoheaven/)
 * (@1waytoheaven)
 * [4 years ago](https://wordpress.org/support/topic/redirection-addon-not-working-yet/#post-15711376)
 * That post refers to a bug that **was indeed fixed**.
 * This thread is about **a different bug** that is not yet fixed.
 * I have already asked for this information, so I can add cache excludes to our
   caching plugin.
 * This request is asking about the **SMP Redirect Plugin addon**;
 * > But we are still not getting redirected to the page the User decided to login
   > at. Everyone is sent to the site homepage instead.
   > Can you give me some/all SMP redirect plugin URIs to also exclude from Litespeed
   > caching please? I suspect that will fix the redirection bug.
 * I’ll need some specific URIs to exclude to make progress.
    -  This reply was modified 4 years ago by [1waytoheaven](https://wordpress.org/support/users/1waytoheaven/).
      Reason: Sp
 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [4 years ago](https://wordpress.org/support/topic/redirection-addon-not-working-yet/#post-15711404)
 * Hi, the reason why I mentioned the support thread I helped you with is because
   one of the URL’s mentioned is what we recommend when using a cache plugin in 
   the site. This also applies to the redirect addon.
 * `https://yoursite.com/simple-membership/membership-login/`
 * Please also exclude the following cookie.
 * `swpm_in_use`
 * If the above does not work for you, then there must be another plugin, theme 
   or service in your site or maybe in your server causing this issue.
 * Please also enable debug mode and carry out a test. Then check the log file to
   see what is revealed.
 * Kind regards.
    -  This reply was modified 4 years ago by [mbrsolution](https://wordpress.org/support/users/mbrsolution/).
    -  This reply was modified 4 years ago by [mbrsolution](https://wordpress.org/support/users/mbrsolution/).
 *  Thread Starter [1waytoheaven](https://wordpress.org/support/users/1waytoheaven/)
 * (@1waytoheaven)
 * [4 years ago](https://wordpress.org/support/topic/redirection-addon-not-working-yet/#post-15711434)
 * I see, since the URI `/simple-membership/membership-login/` is already excluded
   from our caching plugin, I’ll now exclude the cookie `swpm_in_use` URI as well,
   and then, if necessary, debug and test as you suggest. 🙂
    -  This reply was modified 4 years ago by [1waytoheaven](https://wordpress.org/support/users/1waytoheaven/).
      Reason: Sp
 *  Thread Starter [1waytoheaven](https://wordpress.org/support/users/1waytoheaven/)
 * (@1waytoheaven)
 * [4 years ago](https://wordpress.org/support/topic/redirection-addon-not-working-yet/#post-15711553)
 * Debug report:
 * After adding the cookie URI to my LiteSpeed exclude, in the proper exclude cookies
   pane, I tested again in debug mode as User: test (which is already a Member on
   our site.)
 * I chose a page other than the Homepage, **and from there** logged in with the
   correct data.
 * The browser “hung” again (annoying because I thought that was fixed), and after
   refreshing the browser view I was redirected to the site Homepage (ie. not the
   page I logged in at, and wanted to see.)
 * Here’s the Debug logs:
 *     ```
       [2022/06/06 14:22:19] - SUCCESS: Log file reset
       ------------------------------------------------------------------
   
       [2022/06/06 14:25:06] - SUCCESS: After login redirection addon. Checking if member need to be redirected.
   
       2022/06/06 14:22:19] - SUCCESS: Log file reset
       ------------------------------------------------------------------
   
       [2022/06/06 14:23:14] - SUCCESS: wp_authenticate action. Empty username provided. Adding set_current_username hook to catch potential login attempt.
       [2022/06/06 14:25:06] - SUCCESS: Authentication request - Username: test
       [2022/06/06 14:25:06] - SUCCESS: Authentication successful for username: test. Executing swpm_login action hook.
       [2022/06/06 14:25:06] - SUCCESS: Trying wp_signon() with username: test
       [2022/06/06 14:25:06] - SUCCESS: wp_authenticate action. User with username: test is already logged in.
       [2022/06/06 14:25:06] - FAILURE: wp_signon() failed for the corresponding WP user account.
       [2022/06/06 14:25:06] - SUCCESS: Triggering swpm_after_login hook.
       ```
   
 * The User test does not have a WP account, I just made it to test our site.
 * Does that give you any clues why the SMP Redirect addon is not working as set?
    -  This reply was modified 4 years ago by [1waytoheaven](https://wordpress.org/support/users/1waytoheaven/).
 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [4 years ago](https://wordpress.org/support/topic/redirection-addon-not-working-yet/#post-15711666)
 * Thank you for providing more information. I have submitted a message to the developers
   to investigate further your issue.
 * Kind regards.
 *  Thread Starter [1waytoheaven](https://wordpress.org/support/users/1waytoheaven/)
 * (@1waytoheaven)
 * [4 years ago](https://wordpress.org/support/topic/redirection-addon-not-working-yet/#post-15712507)
 * Thank you.
 * I should mention the first lnes of the debug log above are from the General debug
   file, the rest from the Login debug file.
 *     ```
       Perhaps of relevance...
       [2022/06/06 14:22:19] - SUCCESS: Log file reset
       ------------------------------------------------------------------
   
       [2022/06/06 14:25:06] - SUCCESS: After login redirection addon. Checking if member need to be redirected.
       ```
   
 * I notice there’s nothing in the debug file `after the phrase`, “Checking if member
   need to be redirected.”
 * I would have expected a SUCCESS entry because it redirected test to the Homepage,
   although I’ve set the SMP Redirect plugin to redirect logged in Users to the 
   page where they logged in, which in this case was NOT the homepage.
    So no SUCCESS
   or FAILURE entry after that phrase is an anomaly, isn’t it?
    -  This reply was modified 4 years ago by [1waytoheaven](https://wordpress.org/support/users/1waytoheaven/).
      Reason: Sp
 *  Thread Starter [1waytoheaven](https://wordpress.org/support/users/1waytoheaven/)
 * (@1waytoheaven)
 * [4 years ago](https://wordpress.org/support/topic/redirection-addon-not-working-yet/#post-15712609)
 * Whilst waiting for a reply, I’ve noticed something of interest.
 * I am testing the Redirect by using the Login input boxes in the sidebar (the 
   Neve theme widget Login)
 * BUT if I go the circuitous route of clicking the LOGIN text link under a protected
   post, that takes me to a url with `?swpm_redirect_to=` in it, and I AM then redirected
   to where I logged in. (Which is progress)
 * So how do I get redirection to work when visitors use the more logical and obvious
   sidebar Login input area and the Top Menu Login page? Currently neither works
   with your redirection addon.
    -  This reply was modified 4 years ago by [1waytoheaven](https://wordpress.org/support/users/1waytoheaven/).
 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [4 years ago](https://wordpress.org/support/topic/redirection-addon-not-working-yet/#post-15718636)
 * Hi,
 * > So how do I get redirection to work when visitors use the more logical and 
   > obvious sidebar Login input area and the Top Menu Login page? Currently neither
   > works with your redirection addon.
 * Are you talking about WordPress login form?
 * Regards.
 *  Thread Starter [1waytoheaven](https://wordpress.org/support/users/1waytoheaven/)
 * (@1waytoheaven)
 * [4 years ago](https://wordpress.org/support/topic/redirection-addon-not-working-yet/#post-15719569)
 * I’m not sure what the difference is.
 * I’m talking about logging into our site, not WP itself.
 * I made the side bar Login widget by using the Neve Child Master Customiser pane
   in my WP admin of our site. I don’t know if that would be a Neve theme widget
   or a WP login form widget. How could I tell.
 * I have made a Login page, that is linked to in the top menu.
 * And I have also a sidebar Login widget.
 * Neither of those redirect to the page where the user logs in, they both go to
   the site homepage (what some people at Neve call the “Blog” page.)
 * I’ve asked at Neve Support, but so far no replies.
 * Thank you for **your** help, I hope WPinsider is not ill?
 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [4 years ago](https://wordpress.org/support/topic/redirection-addon-not-working-yet/#post-15719800)
 * Hi,
 * > I made the side bar Login widget by using the Neve Child Master Customiser 
   > pane in my WP admin of our site. I don’t know if that would be a Neve theme
   > widget or a WP login form widget. How could I tell.
 * That login widget probably belongs to your theme. The following documentation
   has information in regards to the login widget.
 * [https://mbrsolution.com/wordpress/wordpress-simple-membership-members-login-widget.php](https://mbrsolution.com/wordpress/wordpress-simple-membership-members-login-widget.php)
 * Let me know if the above information helps you.
 * Kind regards.
 *  Thread Starter [1waytoheaven](https://wordpress.org/support/users/1waytoheaven/)
 * (@1waytoheaven)
 * [4 years ago](https://wordpress.org/support/topic/redirection-addon-not-working-yet/#post-15721242)
 * Thank you for responding again 🙂
 * I looked at the linked page you gave and it helped me to confirm that both the
   sidebar widget login and the top menu Login are indeed using the SMP shortcode`[
   swpm_login_form]` so ought to be working with the SMP Redirection plugin, but
   they are not!
 * Why they are not is the subject of this thread.
 * I’d really like to get it solved soon.
 * Where is the Developer?
 * I’ve also asked at [**Neve Support here**](https://wordpress.org/support/topic/neve-login-menu-and-widget-not-redirecting/):
    -  This reply was modified 4 years ago by [1waytoheaven](https://wordpress.org/support/users/1waytoheaven/).
      Reason: Added link
 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [4 years ago](https://wordpress.org/support/topic/redirection-addon-not-working-yet/#post-15721289)
 * Hi,
 * I carried out a test in my dev site and the redirect is working as expected. 
   I tested a couple of themes. So I can confirm this is working correctly. Have
   you tested one of WordPress default themes like Twenty Twenty?
 * Can you share a link to your site with the login widgets. I would like to check
   to see if there are any javascript errors.
 * Thank you.

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/redirection-addon-not-working-yet/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/redirection-addon-not-working-yet/page/2/?output_format=md)

The topic ‘Redirection Addon not working yet’ is closed to new replies.

 * ![](https://ps.w.org/simple-membership/assets/icon-128x128.png?rev=974529)
 * [Simple Membership](https://wordpress.org/plugins/simple-membership/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-membership/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-membership/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-membership/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-membership/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-membership/reviews/)

 * 18 replies
 * 2 participants
 * Last reply from: [1waytoheaven](https://wordpress.org/support/users/1waytoheaven/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/redirection-addon-not-working-yet/page/2/#post-15722987)
 * Status: resolved