• I developed a WordPress site locally on my Mac. When I changed the General Settings for the url’s (thinking it a good idea at the time) I couldn’t get back to the admin area of the site.

    I found a way to change the url’s back, but now I get a message saying (in Firefox):

    “The page isn’t redirecting properly
    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
    This problem can sometimes be caused by disabling or refusing to accept cookies.”

    In Chrome I get this:

    “This page isn’t working
    localhost redirected you too many times.
    Try clearing your cookies.
    ERR_TOO_MANY_REDIRECTS”

    Any idea how to fix this so that I can get back into my wp-admin of my local WordPress site?

    Thank you!
    Doug

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    If you’re working the site via your “Mac”, I think you may need to remove temporary all of your plugins, and see if you can get back to the admin. Then put back one by one all plugins and see who is the culprit that causing you the error.

    Also make sure to remove any trailing slash to your site url/wp url.

    Hope this help you.

    Thread Starter dougcoe

    (@dougcoe)

    @imarkdesigns—Thank you for the reply!

    Yes, I’m working on this on my Mac, as that is the only place it exists.

    Since I can’t get into my wp-admin, I can’t know how to disable any plugins.

    I tried https://localhost:8888/tsg-wp/wp-admin without the trailing slash, but both Firefox and Chrome added the slash back on after delivering the “redirect” message I talked about above.

    So, those ideas were nice, but didn’t solve the problem.

    Any other ideas (anyone)?

    Thank you!
    Doug

    ok i got you there. Have you tried removing temporary the plugin? If not, have you tried accessing your tsg-wp folder and locate the plugins folder inside wp-content and there inside the plugins folder, find the plugin might causing you the issues?

    If still causing you issue on redirecting, probably its inside the database, you have to access the phpMyAdmin and locate your database, once inside, locate the table labeled wp_option or related to table *_option… Find the site url and wp url and replace it with “https://localhost:8888/tsg-wp” on both fields

    • This reply was modified 7 years, 10 months ago by imarkdesigns. Reason: improve answer
    • This reply was modified 7 years, 10 months ago by imarkdesigns.
    Thread Starter dougcoe

    (@dougcoe)

    @imarkdesigns—Thank you for the quick reply. Unfortunately, I still have the problem.

    I have no idea which plugin might be the problem. So I went into tsg-wp > wp-content > plugins and renamed it (plugins-disable). Should that disable all my plugins?

    Also, I had already checked the two url’s as you suggest and they are correct: https://localhost:8888/tsg-wp.

    So, I could use another tip, please. Thank you!
    Doug

    how about the htaccess?

    Thread Starter dougcoe

    (@dougcoe)

    What about the .htaccess file? Should I do something with it?

    Thanks.
    Doug

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Locked out of local WordPress admin: Page isn’t redirecting properly’ is closed to new replies.