WordPress.org

Ready to get started?Download WordPress

Forums

Can't find login redirect (8 posts)

  1. joellem92
    Member
    Posted 8 months ago #

    Hello,

    I've inherited a WP site that has started having issues in the past month or so. When you click on Log in, it tries to re-direct you back to the main page, and after a while you get a "too many redirects" error. No one trying to log in is able to, regardless of OS, location or user status (admin vs. regular user). I have tried the following steps, found in other similar help topics:

    1. Cleared cache/cookies
    2. Disabled plugins
    a. When I did this, the log in button disappeared completely.
    3. Disabled any .htaccess files I could find
    4. There is a plugin called "Login-Logout" installed that I have re-downloaded and reinstalled.
    5. Disabled themes
    a. When I did this, the entire page disappeared.

    Nothing seems to affect the redirect at all. I'm not a WordPress expert, and this is driving me crazy. I have noticed that when I hover over the log in button, it shows that it will redirect, and when I right click and view page source it also shows the redirect, like it was part of the HTML code. I have searched for hours through the individual files, but can't find anything that could be causing this.

    Does anyone know anything else I can try? Obviously I don't have access to the admin dashboard, but I can FTP into the files.

    Thanks!

  2. JarretC
    Member
    Posted 8 months ago #

    By main page do you mean the root domain of the site or back to the login page so you have to log into the site again?

  3. joellem92
    Member
    Posted 8 months ago #

    It's the root domain. It never even gets to a screen where you can enter your username and password. The site is http://www.MacFarlane.org, if you want to take a look.

  4. JarretC
    Member
    Posted 8 months ago #

    Has this redirect problem been happening since you acquired the site or you've had it for awhile and then within the last month it started up?

    If the latter, did you make any changes to anything before the issue started occurring?

  5. joellem92
    Member
    Posted 8 months ago #

    My husband is Director of Membership for the organization, and it worked when he took over that role earlier this year. Now it doesn't, and because I have some experience with HTML and making websites, he's asked me if I can fix. I think he must have done something, but he doesn't have any idea what. He was only supposed to be updating passwords and email addresses, and uploading newsletters. Somewhere along the line this happened.

    Thanks!

  6. JarretC
    Member
    Posted 8 months ago #

    Hard to say without being able to look at the files themselves.

    When you were trying to fix it earlier, did you disable all plugins at once and switch over to one of the default TwentyEleven/TwentyTwelve/TwentyThirteen themes and see if you can access http://www.macfarlane.org/wp-admin then?

    Its odd that the link in the sidebar of your site already has the redirect added onto it.

  7. joellem92
    Member
    Posted 8 months ago #

    I disabled the plugins, but when I disable the current theme (agentpress 1.02), it does not switch to the default TwentyEleven, it just goes blank.

    I found the document that causes the link to show the redirect. It's in the login-logout.php file. If I comment the line out, it no longer shows in the link, but it still does the redirect loop. I tried uploading a fresh copy of the file, but it still does the same thing.

    As it turns out, the people who made this site hired a company to make it for them, and it's not a basic WP install, I think it's a custom install. I'm sure that makes a difference. It was several years ago, so we're no longer paying them for support, so it's still up to me to fix this problem. I'm starting to wonder if I should just reinstall basic WP files completely.

  8. joellem92
    Member
    Posted 8 months ago #

    Oh, and when I disable the plugins and the current theme and try to go directly to http://www.macfarlane.org/wp-admin, it still redirects. Thanks!

Reply

You must log in to post.

About this Topic