Title: Redirect
Last modified: December 6, 2017

---

# Redirect

 *  [Rik0399](https://wordpress.org/support/users/rik0399/)
 * (@rik0399)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/redirect-102/)
 * 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)

1 [2](https://wordpress.org/support/topic/redirect-102/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/redirect-102/page/2/?output_format=md)

 *  [kuckovic](https://wordpress.org/support/users/kuckovic/)
 * (@kuckovic)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/redirect-102/#post-9755354)
 * Hi [@rik0399](https://wordpress.org/support/users/rik0399/),
 * I need to make sure, that I understood your question 100% 😛
    When you try to
   login, your URL changes to`wp-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](https://wordpress.org/support/users/bennettskaya/)
 * (@bennettskaya)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/redirect-102/#post-9755640)
 * 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.
 *  [kuckovic](https://wordpress.org/support/users/kuckovic/)
 * (@kuckovic)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/redirect-102/#post-9755813)
 * Hi [@bennettskaya](https://wordpress.org/support/users/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.wordpress.org/plugins/all-in-one-wp-security-and-firewall/](https://da.wordpress.org/plugins/all-in-one-wp-security-and-firewall/)).
 * Just a thought.
 * / Aris Kuckovic
 *  [David](https://wordpress.org/support/users/bennettskaya/)
 * (@bennettskaya)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/redirect-102/#post-9755942)
 * Yes, tried different browser, VPN, and haven’t changed login URL
 *  [kuckovic](https://wordpress.org/support/users/kuckovic/)
 * (@kuckovic)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/redirect-102/#post-9755960)
 * [@bennettskaya](https://wordpress.org/support/users/bennettskaya/)
 * Okay, sounds weird.
    Can I ask you to check your error-logs – and enable wp_debug?(
   [https://codex.wordpress.org/Debugging_in_WordPress](https://codex.wordpress.org/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](https://wordpress.org/support/users/bennettskaya/)
 * (@bennettskaya)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/redirect-102/#post-9756276)
 * 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.
 *  [kuckovic](https://wordpress.org/support/users/kuckovic/)
 * (@kuckovic)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/redirect-102/#post-9756308)
 * [@bennettskaya](https://wordpress.org/support/users/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](https://wordpress.org/support/users/rik0399/)
 * (@rik0399)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/redirect-102/#post-9756365)
 * [@kuckovic](https://wordpress.org/support/users/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](https://wordpress.org/support/users/rik0399/)
 * (@rik0399)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/redirect-102/#post-9756483)
 * 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
 *  [kuckovic](https://wordpress.org/support/users/kuckovic/)
 * (@kuckovic)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/redirect-102/#post-9756509)
 * [@rik0399](https://wordpress.org/support/users/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](https://wordpress.org/support/users/rik0399/)
 * (@rik0399)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/redirect-102/#post-9756592)
 * 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
 *  [kuckovic](https://wordpress.org/support/users/kuckovic/)
 * (@kuckovic)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/redirect-102/#post-9756698)
 * [@rik0399](https://wordpress.org/support/users/rik0399/)
 * Seems like there is an issue with CherryFramework theme.
    Could you please paste
   line 205 from the functions file?
 *  Thread Starter [Rik0399](https://wordpress.org/support/users/rik0399/)
 * (@rik0399)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/redirect-102/#post-9756760)
 * 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](https://wordpress.org/support/users/rik0399/)
 * (@rik0399)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/redirect-102/#post-9757074)
 * Hi [@kuckovic](https://wordpress.org/support/users/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
 *  [kuckovic](https://wordpress.org/support/users/kuckovic/)
 * (@kuckovic)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/redirect-102/#post-9758848)
 * [@rik0399](https://wordpress.org/support/users/rik0399/)
 * Did you, or your host, by any chance, update your version of PHP??

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

1 [2](https://wordpress.org/support/topic/redirect-102/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/redirect-102/page/2/?output_format=md)

The topic ‘Redirect’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 24 replies
 * 3 participants
 * Last reply from: [Rik0399](https://wordpress.org/support/users/rik0399/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/redirect-102/page/2/#post-9765497)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
