• Hi,

    Scratched my head a few times trying to figure this one out.

    Trying to login but keep getting :

    wp-login.php?redirect_to=http%3A%2F%2Fwww.MYSITE.uk%2Fwp-admin%2F&reauth=1

    What I have tried :

    htacess is clean with only wp code, even deleted it

    Renamed plugin folder

    Renamed theme and have just wp default theme

    Updated WP to latest version via Cpanel

    Whenever I try to login wp-admin or wp-login all I get is :

    wp-login.php?redirect_to=http%3A%2F%2Fwww.MYSITE.uk%2Fwp-admin%2F&reauth=1

    Still no success, not even the login form?

    Any ideas or suggestions would be welcomed

    In advance, thank you

Viewing 15 replies - 1 through 15 (of 24 total)
  • Hi @rik0399,

    I need to make sure, that I understood your question 100% πŸ˜›
    When you try to login, your URL changes towp-login.php?redirect_to=http%3A%2F%2Fwww.MYSITE.uk%2Fwp-admin%2F&reauth=1 and NO login-form is shown – Correct?

    And to be able to assist you better – here are some follow-up questions:
    – What did you do prior to this error? (update, merge etc.)
    – Do you get any errors in the console?
    – What does your error-log say?

    I’m sure we’ll make it work πŸ™‚

    Best regards
    Aris Kuckovic

    David

    (@bennettskaya)

    I have the same problem with my site. Got it this morning. Last night I had admin panel open and Transmit FTP connection open. Decided to clear browser cookies this morning and wondered whether that triggered it. Tried logging in from different IP addresses.

    Hi @bennettskaya,

    Have you tried a different browser aswell?
    Another thing – do you have a plugin installed, that may have changed the login URL?
    I know you can do this in All In One WP Security & Firewall (https://da.ww.wp.xz.cn/plugins/all-in-one-wp-security-and-firewall/).

    Just a thought.

    / Aris Kuckovic

    David

    (@bennettskaya)

    Yes, tried different browser, VPN, and haven’t changed login URL

    @bennettskaya

    Okay, sounds weird.
    Can I ask you to check your error-logs – and enable wp_debug? (https://codex.ww.wp.xz.cn/Debugging_in_WordPress)

    And if there’s anything in the debug/error-log, please paste it here.
    I see some people having this issue while having Jetpack installed – but it is not confirmed though.

    Best regards
    Aris Kuckovic

    David

    (@bennettskaya)

    I tried that earlier. There’s nothing in the error log and debug didn’t make a log file at all.

    However, I solved it. There was a folder named with the name of my site, sitting outside public.html – nothing in it. I renamed it to .comx. and that allowed me in.

    I’ll try debug again to see what comes up.

    @bennettskaya

    Wow, okay!
    I would never have guessed an issue like that.
    But I’m glad you made it work again! πŸ™‚

    Please let me know if anything comes up regarding the debugging.

    Thread Starter Rik0399

    (@rik0399)

    @kuckovic

    Thank you for responding, appreciated it.

    Believe me when I say – I have tried everything.

    Five hours with no result,

    And to add to my original post – tried various browsers, incognito and many more.

    Regards,

    Thread Starter Rik0399

    (@rik0399)

    Hi,

    I think I may have found the issue but not the solution.

    I’m using ‘lockdown-wp-admin’ however, even if I diable this i.e. _lockdown-wp-admin still locked out.

    I’ll contact the Dev of this plugin to see if they can assist

    Regards

    @rik0399

    If you have access to your FTP – could you please rename your plugins-folder to: ex. “pluginsOLD” just to see if it’s a plugin that causes the error.

    Furthermore, have you checked the error-log and enabled wp_debug?

    Best regards
    Aris Kuckovic

    Thread Starter Rik0399

    (@rik0399)

    Hi

    I’m seeing ‘redirected you too many times’

    Disable Plugins folder

    Log showing :

    [06-Dec-2017 05:27:46 UTC] PHP Warning: include_once(/home/SITENAME/wp-content/themes/theme53987/includes/custom-function.php): failed to open stream: No such file or directory in /home/SITENAME/wp-content/themes/CherryFramework/functions.php on line 205

    I’m thinking there is an issue with functions file

    Regards

    @rik0399

    Seems like there is an issue with CherryFramework theme.
    Could you please paste line 205 from the functions file?

    Thread Starter Rik0399

    (@rik0399)

    Hi,

    //Loading Custom function
    include_once (CHILD_DIR . ‘/includes/custom-function.php’);

    I do not have or use a child theme?

    Many Thanks

    Thread Starter Rik0399

    (@rik0399)

    Hi @kuckovic

    Here is the debug report :

    Warning: include(/home/site/sitename.uk/wp-content/advanced-cache.php): failed to open stream: No such file or directory in /home/site/sitename.uk/wp-settings.php on line 84

    Warning: include(): Failed opening ‘/home/site/sitename.uk/wp-content/advanced-cache.php’ for inclusion (include_path=’.:/opt/alt/php71/usr/share/pear’) in /home/site/sitename.uk/wp-settings.php on line 84

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SEOFriendlyImages has a deprecated constructor in /home/site/sitename.uk/wp-content/plugins/seo-image/seo-friendly-images.class.php on line 2

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; MY_CommentWidget has a deprecated constructor in /home/site/sitename.uk/wp-content/themes/theme53987/includes/widgets/my-comment-widget.php on line 2

    Notice: The called constructor method for WP_Widget in MY_CommentWidget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/site/sitename.uk/wp-includes/functions.php on line 3901

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; MY_PostsTypeWidget has a deprecated constructor in /home/site/sitename.uk/wp-content/themes/theme53987/includes/widgets/my-posts-type-widget.php on line 4

    Notice: The called constructor method for WP_Widget in MY_PostsTypeWidget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/site/sitename.uk/wp-includes/functions.php on line 3901

    Appreciate your time in helping me figure this one out.

    Regards

    @rik0399

    Did you, or your host, by any chance, update your version of PHP??

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

The topic ‘Redirect’ is closed to new replies.