Viewing 11 replies - 1 through 11 (of 11 total)
  • This could be either an apache reverse proxy in place or more likely a .htaccess error. Post your .htaccess here so we can see what’s going on, or just delete it and fix your permalinks later.

    Thread Starter qwertyu63

    (@qwertyu63)

    Where would that file be? I have no clue.

    Look in the public web folder (it’s different for each host). The .htaccess file should be at the site root, by default the same folder as you installed WordPress.

    How many wordpress installs are on this domain?

    Thread Starter qwertyu63

    (@qwertyu63)

    There are 3 installs (I can login to the other two just fine). Also, I went and looked, the file in question is blank.

    Try sticking this in .htaccess:

    # BEGIN WordPress
    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    You MAY need to adjust RewriteBase to whatever folder you installed wordpress in; I’m not very knowledgeable about .htaccess syntax…

    Thread Starter qwertyu63

    (@qwertyu63)

    That changed nothing, except the failure page took longer to load.

    If you visit /wp-admin, the link it redirects to is:

    http://localhost/?redirect_to=http%3A%2F%2Ffletcherrpggames.com%2Fwp-admin%2F&reauth=1

    Do you have “localhost” somewhere in your wp-config.php maybe?

    Thread Starter qwertyu63

    (@qwertyu63)

    After checking, yes it is.

    wp-config.php contains the following:

    /** MySQL hostname */
    define('DB_HOST', 'localhost');

    That shouldn’t be a problem… Do you have access to the database via command line or phpmyadmin? I suppose this could happen if Site Address is set to localhost in Settings > General.

    It would be nice if somebody with more experience would chime in haha.

    Thread Starter qwertyu63

    (@qwertyu63)

    I don’t think so, but I just went and tried again and it worked. So, solved by fluke I guess.

    Thread Starter qwertyu63

    (@qwertyu63)

    …or not. It has started acting up again. It is now directing me to 127.0.0.1 and yes I know that means the same thing.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Login link keeps redirecting’ is closed to new replies.