Title: Some Guide for solving redirect issues
Last modified: August 22, 2016

---

# Some Guide for solving redirect issues

 *  [jvrian](https://wordpress.org/support/users/jvrian/)
 * (@jvrian)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/some-guide-for-solving-redirect-issues/)
 * Hi guys,
    I’ve been working on solving login&register redirect issues in this
   plugin. I can’t deny this is the best fb login plugin (when it comes to flexibility
   at least) out there, but still see some annoying bugs.
 * so here are the solutions.
    actually, any of them are NOT from me, I just collected
   them from here and there in articles on support.
 * 1) Login redirect fix
    benallfree’s patch worked really great. so edit code accordingly.(
   big thx to benallfree!) [https://gist.github.com/benallfree/7918949](https://gist.github.com/benallfree/7918949)
 * 2) Register redirect fix
    you can work this out by editing little bit of code
   on nextend-facebook-connect.php on line #206 to #208, change code to
 *     ```
       if (isset($new_fb_settings['fb_redirect_reg']) && $new_fb_settings['fb_redirect_reg'] != '' && $new_fb_settings['fb_redirect_reg'] != 'auto') {
                   set_site_transient( nextend_uniqid().'_fb_r', $new_fb_settings['fb_redirect_reg'], 3600);}
       ```
   
 * (thx to glocs)
    HOWEVER, this won’t work if you blank out ‘New user prefix’ on
   plugin setting, it will redirect to wp-login.php instead. I haven’t figured out
   this yet, cause i got too lazy.
 * Hope, this helps
 * [https://wordpress.org/plugins/nextend-facebook-connect/](https://wordpress.org/plugins/nextend-facebook-connect/)

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

 *  [thepofo](https://wordpress.org/support/users/thepofo/)
 * (@thepofo)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/some-guide-for-solving-redirect-issues/#post-5285387)
 * Hello jvrian,
 * Thank you very much for these tips. Do you have any idea on how to take this 
   all into a hook or additional plugin? That way we would be able to upgrade the
   plugin?
 * Thanks,
    Eric
 *  [thepofo](https://wordpress.org/support/users/thepofo/)
 * (@thepofo)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/some-guide-for-solving-redirect-issues/#post-5285388)
 * HI jvrian, I can’t keep to get the redirect to work.
    Any suggestions?

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

The topic ‘Some Guide for solving redirect issues’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [thepofo](https://wordpress.org/support/users/thepofo/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/some-guide-for-solving-redirect-issues/#post-5285388)
 * Status: not resolved