WordPress.org

Forums

Sky Login Redirect
[resolved] Plugin Stopped Working (19 posts)

  1. Sharonq
    Member
    Posted 2 years ago #

    The plugin stopped working today - now every time I login it goes to the home page.

    http://www.teamsfirst.ca

    http://wordpress.org/extend/plugins/sky-login-redirect/

  2. Sharonq
    Member
    Posted 2 years ago #

    Matt - can you please post the older version 1.1 worked fine for me

  3. Matt
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Sharonq,

    I'll look into it, in the meantime you can grab v1.1 here:
    http://downloads.wordpress.org/plugin/sky-login-redirect.1.1.zip

  4. Matt
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Sharonq,

    I've just uploaded version 1.3 which should take care of that regression. I've run a few tests and I think it should be alright now. Let me know.

  5. Sharonq
    Member
    Posted 2 years ago #

    Hey Matt - loaded 1.3 - same problem
    Regressed to 1.1 and it's fine.

  6. Matt
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Sharonq,

    I just visited your website and noticed that your login link has no redirect_to argument (which is fine since it's in a menu). That's why v1.1 works fine for you.

    On my website, I use the plugin WordPress Admin Bar Improved which sets the redirect_to argument automatically.

    I'll keep that in mind for the next version to take care of vanilla WP installs.

    Thanks :)

  7. Sigor
    Member
    Posted 2 years ago #

    Same issue for me. Only redirection to home page. http://www.5as1.com
    Wp 3.4.1.
    Any idea to fix that ?
    Thanks

  8. Sigor
    Member
    Posted 2 years ago #

    1.1 version tested and adopted with my WP 3.4.1
    What's wrong with the 1.3 version ?

  9. Sharonq
    Member
    Posted 2 years ago #

    Matt - the plugin dev - uses something called WP admin bar improved which seems required for 1.3 to work - no idea why. 1.1 works fine on my system so I'll stick with that until the next update. If your login has a redirect_to argument use 1.3 if not use 1.1.

  10. Matt
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Sigor and Sharonq,

    I have just released v1.4 and hopefully the redirections to the referring page will take precedence over the homepage.

    It's been tested on a default WP install (and on my heavily-modified one) but I would be interested to know if it works for you too.

  11. Sigor
    Member
    Posted 2 years ago #

    Hi Matt,
    Thank you for the update. 1.4 version still redirect to home page for me.
    Tried to empty the cache but still doesn't work. Nice try ;-)
    Sigor

  12. Sigor
    Member
    Posted 2 years ago #

    I installed 1.4 version with automatic update process in WP admin.

  13. Matt
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Sigor,

    Do you log in via the custom-made login form in your menu?
    It seems to lack the redirect_to hidden field. Try to add this line before the submit button in your template :

    <input type="hidden" name="redirect_to" value="<?php htmlspecialchars($_SERVER["REQUEST_URI"]); ?>" />

  14. Sigor
    Member
    Posted 2 years ago #

    Yes Matt. I tried to log in via custom-made login form in the menu.
    Sorry Matt to bother you, but I'm not very comfortable with code witch is only bad poetry for me. Help me please to put your add code in the right file. Witch file in my template do I have to update please?
    thanks

  15. Matt
    Member
    Plugin Author

    Posted 2 years ago #

    Probably header.php, it all depends on how the theme is coded. Apparently, yours is a paid theme so I can't check.

  16. Sigor
    Member
    Posted 2 years ago #

    Yes. My theme is "Cadca" by Themeforest. Do do want I give you to check?

  17. Sharonq
    Member
    Posted 2 years ago #

    Matt:

    If the plugin requires the redirect_to that could be a problem - it's not in any of my themes either.

    I use Jumpstart, Alyska and Catalyst.

    I do not feel comfortable editing php and am not sure where that line would live in my template.

    I use a menu plugin for logging in.

  18. Sharonq
    Member
    Posted 2 years ago #

    I did test 1.4 and the redirect did not work.

  19. Matt
    Member
    Plugin Author

    Posted 2 years ago #

    Let me check something out.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Sky Login Redirect
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.