Title: Plugin redirects to WP-ADMIN
Last modified: August 21, 2016

---

# Plugin redirects to WP-ADMIN

 *  [adamt19](https://wordpress.org/support/users/adamt19/)
 * (@adamt19)
 * [12 years ago](https://wordpress.org/support/topic/plugin-redirects-to-wp-admin/)
 * This effectively prevents admins from signing into Freshdesk so long as SSO is
   enabled.
 * I’ve double checked all keys and URLs, and disabled all plugins and loaded the
   twenty fourteen theme — doesn’t help.
 * The redirect in the URL is correct, it’s just not going there after logging in.
 * [https://wordpress.org/plugins/freshdesk-support/](https://wordpress.org/plugins/freshdesk-support/)

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

 *  Thread Starter [adamt19](https://wordpress.org/support/users/adamt19/)
 * (@adamt19)
 * [12 years ago](https://wordpress.org/support/topic/plugin-redirects-to-wp-admin/#post-4972197)
 * For anyone else that runs into this…
 * Since I couldn’t log into freshdesk after signing-out to test this, I had to 
   remove the shared key from the WP-admin control panel and was then able to get
   back in to the support portal at freshdesk using the default login method
 *  [hjohnpaul](https://wordpress.org/support/users/hjohnpaul/)
 * (@hjohnpaul)
 * [12 years ago](https://wordpress.org/support/topic/plugin-redirects-to-wp-admin/#post-4972290)
 * Hi,
 * After enabling SSO, at any point of time if you wish to login to freshdesk using
   normal login method(meaning not the WordPress login) then you can use
 * [http://yourcompany.freshdesk.com/login/normal](http://yourcompany.freshdesk.com/login/normal)
 * Refer: [http://wordpress.org/plugins/freshdesk-support/faq/](http://wordpress.org/plugins/freshdesk-support/faq/)
   
   Its not necessary to disable everything.
 * That said we are not clear on your issue, are you stating that when you login
   using “admin” (freshdesk’s admin)credential from the plugin (wp login page), 
   then you are being taken to tickets list view and you don’t see the admin tabs
   or is it like the login itself fails and you are being redirected back to WP 
   dashboard.
 * Please clarify.
 * Regards,
    John paul.H
 *  Thread Starter [adamt19](https://wordpress.org/support/users/adamt19/)
 * (@adamt19)
 * [12 years ago](https://wordpress.org/support/topic/plugin-redirects-to-wp-admin/#post-4972340)
 * With SSO enabled, When I go to my fresh desk admin portal and click login from
   the top right, I’m taken to my website’s wp-login. I notice there is a redirect
   param that suggests it will take me back to fresh desk after logging in. However,
   When I log in I am taken to wp-admin rather than freshdesk. So I can never get
   into freshdesk this way when SSO is enabled (perhaps except with the alternative
   you mentioned here.)
 * I’ve realized now the email address for my freshdesk admin account is different
   than the Email associated with my wordpress admin account. Does this explain 
   the unexpected behavior?
 *  Thread Starter [adamt19](https://wordpress.org/support/users/adamt19/)
 * (@adamt19)
 * [12 years ago](https://wordpress.org/support/topic/plugin-redirects-to-wp-admin/#post-4972341)
 * Update:
 * I:
    1. created and activated new *customer* account on our website with a new e-mail
       address.
    2. created a ticket with the freshdesk widget from our website, using that e-mail
       address.
    3. logged out of our website
    4. checked the e-mail and found the Freshdesk ticket link.
    5. clicked the link and was brought to my website’s wp-login page. Redirect parameter
       looked good.
    6. Logged in successfully but was dropped off at my website’s homepage rather than
       freshdesk ticket page.
    7. Went back to my e-mail and clicked the ticket link AGAIN.
    8. This time I was brought to the ticket page, finally. Presumably because I was
       already logged into my website/freshdesk before clicking the ticket link, and
       so the wp-login/broken redirect function is skipped entirely?
 * surely this isn’t how it’s supposed to work? At step 6 I should be brought to
   my ticket in the FreshDesk support portal. Being dropped off at the home page
   will frustrate and confuse users who are already having issues. D:
 *  [Harish Chouhan](https://wordpress.org/support/users/hchouhan/)
 * (@hchouhan)
 * [12 years ago](https://wordpress.org/support/topic/plugin-redirects-to-wp-admin/#post-4972342)
 * [@hjohnpaul](https://wordpress.org/support/users/hjohnpaul/) [@adamt19](https://wordpress.org/support/users/adamt19/)
   just wanted to mention a few things since I am also a FreshDesk customer and 
   had initially created a similar plugin for Freshdesk.
 * The issue [@adamt19](https://wordpress.org/support/users/adamt19/) you are facing,
   is something bothers me too. However it’s less to do with Freshdesk and has to
   do with our WP sites. I am still working on a solution before a launch of my 
   site, but here are few things I am considering:
 * – Create a separate login page on my website, where freshdesk users get forwarded
   too.
    – Add a a redirect loop on this page, so if a user is loggedin, they get
   redirected to FreshDesk if they are not logged in, then show them a login page.–
   Once they login through this page, bring them back to the same page, as we already
   would have the logic to forward users to freshdesk.
 * There might be some better way, but the above is what I’d be working on first.
 *  [hjohnpaul](https://wordpress.org/support/users/hjohnpaul/)
 * (@hjohnpaul)
 * [12 years ago](https://wordpress.org/support/topic/plugin-redirects-to-wp-admin/#post-4972376)
 * [@harish](https://wordpress.org/support/users/harish/) Chouhan: Appreciate your
   help, Thanks for the points.
 * [@adamt19](https://wordpress.org/support/users/adamt19/): This behavior of not
   getting redirected to the ticket after log-in has more to do with how WordPress
   behaves, rather than the plugin itself as pointed out by Mr.Chouhan. But we will
   look into it and check whether we would be able to do a round about for the same.
 * And is this the updated/continuation of the same query on login redirection of
   admin which you posted earlier in the same thread ??
 * Regards,
    John paul.H
 *  Thread Starter [adamt19](https://wordpress.org/support/users/adamt19/)
 * (@adamt19)
 * [12 years ago](https://wordpress.org/support/topic/plugin-redirects-to-wp-admin/#post-4972398)
 * [@hjohnpaul](https://wordpress.org/support/users/hjohnpaul/) yes that’s correct.
 * Hopefully most users will be logged-in to our site already and will be brought
   to the ticket when they click links in their e-mail, but if we can get people
   back to FreshDesk after the quick trip to our site for login, that would complete
   the expectation I think most users will have.
 *  [tfsmartin](https://wordpress.org/support/users/tfsmartin/)
 * (@tfsmartin)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/plugin-redirects-to-wp-admin/#post-4972526)
 * [@hjohnpaul](https://wordpress.org/support/users/hjohnpaul/)
 * Did this ever get updated as I tried v1.5 today and had the same issues as above.
 *  [balakumars](https://wordpress.org/support/users/balakumars/)
 * (@balakumars)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/plugin-redirects-to-wp-admin/#post-4972527)
 * [@tfsmartin](https://wordpress.org/support/users/tfsmartin/)
    We updated a new
   version V 1.6 which addresses problems with redirect and logout. Please checkout
   V 1.6 and let us know if that worked for you.
 * Regards,
    Bala.

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

The topic ‘Plugin redirects to WP-ADMIN’ is closed to new replies.

 * ![](https://ps.w.org/freshdesk-support/assets/icon.svg?rev=2195553)
 * [Freshdesk (official)](https://wordpress.org/plugins/freshdesk-support/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/freshdesk-support/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/freshdesk-support/)
 * [Active Topics](https://wordpress.org/support/plugin/freshdesk-support/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/freshdesk-support/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/freshdesk-support/reviews/)

## Tags

 * [redirect](https://wordpress.org/support/topic-tag/redirect/)
 * [SSO](https://wordpress.org/support/topic-tag/sso/)

 * 9 replies
 * 5 participants
 * Last reply from: [balakumars](https://wordpress.org/support/users/balakumars/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/plugin-redirects-to-wp-admin/#post-4972527)
 * Status: not resolved