Title: Custom redirection issue
Last modified: April 25, 2018

---

# Custom redirection issue

 *  Resolved [jerina90](https://wordpress.org/support/users/jerina90/)
 * (@jerina90)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/custom-redirection-issue/)
 * Hello
 * I want to redirect to custom page after login with google and facebook. I have
   set in redirection part the custom link.
 *  href=”[https://www.8thns.com/wp-login.php?loginFacebook=1&amp](https://www.8thns.com/wp-login.php?loginFacebook=1&amp);
   redirect= [https://www.8thns.com/wp-login.php?loginFacebook=1&redirect=https://www.8thns.com/checkout/](https://www.8thns.com/wp-login.php?loginFacebook=1&redirect=https://www.8thns.com/checkout/)
 * Facebook login redirection is working great but not for google.
 * Please can you help with any suggestion how can I fix this?
 * Thank you
    Jerina
    -  This topic was modified 8 years, 1 month ago by [jerina90](https://wordpress.org/support/users/jerina90/).
    -  This topic was modified 8 years, 1 month ago by [jerina90](https://wordpress.org/support/users/jerina90/).
    -  This topic was modified 8 years, 1 month ago by [jerina90](https://wordpress.org/support/users/jerina90/).

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

 *  [Ramona](https://wordpress.org/support/users/nextend_ramona/)
 * (@nextend_ramona)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/custom-redirection-issue/#post-10218400)
 * Hi [@jerina90](https://wordpress.org/support/users/jerina90/)
 * Are you using the latest Nextend Social Login version?
 * I suggest using the data-redirect attribute to set the redirect:
 * `<a href="https://www.8thns.com/wp-login.php?loginSocial=facebook" data-plugin
   ="nsl" data-action="connect" data-redirect="https://www.8thns.com/checkout/" 
   data-provider="facebook" data-popupwidth="475" data-popupheight="175">Login</
   a>`
 * and that should work fine.
 *  Thread Starter [jerina90](https://wordpress.org/support/users/jerina90/)
 * (@jerina90)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/custom-redirection-issue/#post-10231095)
 * Hello
 * Thank you very mutch for your answer.
 * I am using the latest version. tested this code you send to me but its just redirecting
   to wordpress login page.
 * I am using for facebook, that the redirection is working fine this code:
    `<a
   class="nextend-fb" href="https://www.8thns.com/wp-login.php?loginFacebook=1&redirect
   =https://www.8thns.com/checkout/"><i class="fa fa-facebook" aria-hidden="true"
   ></i>Sign in with Facebook</a`
 * But the same code for google is not working. I am using this one:
    `<a class="
   nextend-goo" href="https://www.8thns.com/wp-login.php?loginGoogle=1&redirect=
   https://www.8thns.com/checkout/"><i class="fa fa-google-plus" aria-hidden="true"
   ></i>Sign in with google</a>`
 * For google login it’s redirecting to homepage.
 * Do you have any suggestion on this? Or any other code that will work?
 * Thanks again
 * Jerina
 *  Plugin Support [Gabor](https://wordpress.org/support/users/nextendweb_gabor/)
 * (@nextendweb_gabor)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/custom-redirection-issue/#post-10231135)
 * Hi [@jerina90](https://wordpress.org/support/users/jerina90/)!
 * I checked it out and the redirection seems to be working well for me too on my
   testsite, so it will be something connected to your website. Please send me a
   link to where this button is! Also please rather send it to [support@nextendweb.com](https://wordpress.org/support/topic/custom-redirection-issue/support@nextendweb.com?output_format=md)
   because we might need to make some deeper tests.
 *  Thread Starter [jerina90](https://wordpress.org/support/users/jerina90/)
 * (@jerina90)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/custom-redirection-issue/#post-10231155)
 * It is in checkout but for easy test I created a new page with login buttons:
 * [https://www.8thns.com/test-login/](https://www.8thns.com/test-login/)
 * I have used the code send to you before. Facebook is working fine but not google.
   Google is still using the default rederection set on plugin configuration that
   is homepage or whatever page I set there.
 *  Plugin Support [Gabor](https://wordpress.org/support/users/nextendweb_gabor/)
 * (@nextendweb_gabor)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/custom-redirection-issue/#post-10231167)
 * Okey, I see now the problem! It seems like our global setting overwrites this
   custom redirection. We are currently out of office, because of a national holiday,
   but I will ask the senior developer to take a look at this on Wednesday and we
   will get back to you with a solution!
 *  Thread Starter [jerina90](https://wordpress.org/support/users/jerina90/)
 * (@jerina90)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/custom-redirection-issue/#post-10231191)
 * Great, Thank you very much 🙂
 *  [Ramona](https://wordpress.org/support/users/nextend_ramona/)
 * (@nextend_ramona)
 * [8 years ago](https://wordpress.org/support/topic/custom-redirection-issue/#post-10239475)
 * Hi [@jerina90](https://wordpress.org/support/users/jerina90/)
 * I just wanted to let you know we haven’t forgotten you and working on your solution.
   I’m wondering if the login buttons were added by the theme developers or by one
   of your devs as I noticed you’re using a child theme. (This would help getting
   closer to the best solution.)
 *  Thread Starter [jerina90](https://wordpress.org/support/users/jerina90/)
 * (@jerina90)
 * [8 years ago](https://wordpress.org/support/topic/custom-redirection-issue/#post-10239846)
 * Hi Ramona
 * Thank you for the answer. I was checking today for it 🙂
 * I added manually this lines of code on the wordpress page. I does not have to
   do with the theme at all. And I don’t remeber where I got this code. Hope this
   helps.
    -  This reply was modified 8 years ago by [jerina90](https://wordpress.org/support/users/jerina90/).
 *  Thread Starter [jerina90](https://wordpress.org/support/users/jerina90/)
 * (@jerina90)
 * [8 years ago](https://wordpress.org/support/topic/custom-redirection-issue/#post-10239876)
 * If you can show me how to remove default redirection and use only this one here
   on my code will be a solution for me.
 *  Plugin Support [Gabor](https://wordpress.org/support/users/nextendweb_gabor/)
 * (@nextendweb_gabor)
 * [8 years ago](https://wordpress.org/support/topic/custom-redirection-issue/#post-10239974)
 * At our Global settings -> General:
    [https://nextendweb.com/nextend-social-login-docs/global-settings/](https://nextendweb.com/nextend-social-login-docs/global-settings/)
   you can find a “Fixed redirect url” for both the registration and login. This
   seems to overwrite the manually entered urls, so if you uncheck their checkboxes,
   your redirection should work fine!
 *  Thread Starter [jerina90](https://wordpress.org/support/users/jerina90/)
 * (@jerina90)
 * [8 years ago](https://wordpress.org/support/topic/custom-redirection-issue/#post-10241605)
 * Hi
    in setting > General fixed ridrect url is unchecked.
 * But in settings > Nextend google connect > there are two fields that have the
   valude auto, but if I add any other value there the google redirect to that page.
   How can I disable this options?
 * Thank you
 *  [Ramona](https://wordpress.org/support/users/nextend_ramona/)
 * (@nextend_ramona)
 * [8 years ago](https://wordpress.org/support/topic/custom-redirection-issue/#post-10241852)
 * Hi [@jerina90](https://wordpress.org/support/users/jerina90/)
 * I suggest doing a legacy import:
    [https://nextendweb.com/nextend-social-login-docs/legacy-import-google/](https://nextendweb.com/nextend-social-login-docs/legacy-import-google/)
   [https://nextendweb.com/nextend-social-login-docs/legacy-import-facebook/](https://nextendweb.com/nextend-social-login-docs/legacy-import-facebook/)
 * Because you’re currently using the old version and its codes and maybe that’s
   causing your problem.
 *  Thread Starter [jerina90](https://wordpress.org/support/users/jerina90/)
 * (@jerina90)
 * [8 years ago](https://wordpress.org/support/topic/custom-redirection-issue/#post-10241979)
 * Woooorkiiing 🙂 🙂
 * Thank you very much for your help
    -  This reply was modified 8 years ago by [jerina90](https://wordpress.org/support/users/jerina90/).

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

The topic ‘Custom redirection issue’ is closed to new replies.

 * ![](https://ps.w.org/nextend-facebook-connect/assets/icon.svg?rev=3336394)
 * [Nextend Social Login and Register](https://wordpress.org/plugins/nextend-facebook-connect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextend-facebook-connect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextend-facebook-connect/)
 * [Active Topics](https://wordpress.org/support/plugin/nextend-facebook-connect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextend-facebook-connect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextend-facebook-connect/reviews/)

## Tags

 * [Wordpress Woocommerce](https://wordpress.org/support/topic-tag/wordpress-woocommerce/)

 * 13 replies
 * 3 participants
 * Last reply from: [jerina90](https://wordpress.org/support/users/jerina90/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/custom-redirection-issue/#post-10241979)
 * Status: resolved