• Resolved DreamTexan

    (@dreamtexan)


    When I enter the home url ASA Royal Hotel I get redirected to the wp admin login page. After 7 hours of frustration still no success.
    Steps taken:
    1.cleared cache
    2.edit function.php as per Changing Site URL
    3.verified table wp-options shows correct url
    4.changed themes… changed back
    5. uploaded functions.php from local directory
    6. Re-uploaded full theme
    I am still no further than I was earlier today. Any advice on the next six steps?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter DreamTexan

    (@dreamtexan)

    I do need help with this please This is not like the other problems I read where the admins cannot log in because I CAN log in and edit. The problem that any visitor that comes is directed to the login page too

    Moderator keesiemeijer

    (@keesiemeijer)

    Try replacing the “Security Keys” in your wp-config.php

    Thread Starter DreamTexan

    (@dreamtexan)

    Thanks keesiemeijer I looked at the ref That allows more security yes but that is not my problem.

    Somewhere there is a redirect order that tells the incoming visitor (new, old, even bot) to go to the login page. It does not EVER open the home URL That is what I need to correct

    Moderator keesiemeijer

    (@keesiemeijer)

    The problem could be corrupt cookies. With changing the security keys you make sure all all existing cookies are invalidated.
    And yes, corrupt cookies can mess with redirection (&reauth=1).

    You can change these at any point in time to invalidate all existing cookies.

    Did you even try?

    Try:
    – renaming or deleting the .htaccess file by using FTP or whatever file management application your host provides. If you delete it make a backup first.

    – deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    Do you have plugin installed that is requiring users to be signed in before accessing the site?

    Thread Starter DreamTexan

    (@dreamtexan)

    @dbmartin I do not have a login for members It is a simple website for a hotel in Accra Ghana

    @keesiemeijer Thank you for the direction. I thought that the security key method was only a “before any incident” practice. But if it will clear any bugs by activating the security keys I will try it. But I will do the .htaccess and rolling off the plugins to see it that works first.

    I genuinely appreciate your help

    There are 23 websites I manage so far on my reseller account and all of them are wordpress installs

    Thread Starter DreamTexan

    (@dreamtexan)

    Bless it ALL !! I just went to do the steps as noted and the site works correctly without me doing anything
    I can only guess that the actions taken on function.php yesterday finally resolved. Otherwise I do not have an explanation to offer the WP community on what did work

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘entering URL redirects to admin login’ is closed to new replies.