WordPress.org

Support

Support » How-To and Troubleshooting » 404's on wp-admin and wp–comments-post.php…

404's on wp-admin and wp–comments-post.php…

  • Hi all

    This all started after a server move a few weeks back, although the site was exactly mirrored I’ve been unable to access wp-admin since. Here’s the site in question: link.

    For the record, WP is installed in its own directory, /em/, so the correct login address should be example.com/em/wp-admin.

    I’d really appreciate any help in solving out what the problem might be!

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator t-p

    @t-p

    Volunteer Moderator

    check with this codex article:

    http://codex.wordpress.org/Moving_WordPress

    Which part specifically?

    The entire server was mirrored on to the new one, so there should be no changes in setting I don’t think?

    Moderator t-p

    @t-p

    Volunteer Moderator

    try and see if any of these helps:

    1. check if the info in your wp-config.php is current

    2. if you have access to your admin panel, try deactivating all plugins. If you don’t have access to your admin panel, try manually resetting your plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    3. If that does not resolve the issue, try switching to the Default theme. If you don’t have access to your admin panel, access your server via FTP or SFTP, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the Default theme to activate and hopefully rule-out a theme-specific issue.

    4.If that does not resolve the issue, it’s possible that a .htaccess rule could be the source of the problem. To check for this, access your server via FTP or SFTP and rename the .htaccess file. If you can’t find a .htaccess file, make sure that you have set your FTP or SFTP client to view invisible files.

    Thanks for the tips. I’ve ruled out 1, 2 and 3. The .htaccess file in the root dir contains the following (followed by some redirects, which I’ll assume are irrelevant for now):

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

    Btw, just noticed the ‘Rewrite Base /foo/’ line, no idea what that’s about, but removing the ‘foo’ doesn’t resolve the problem.

    Also, my post from y’day might provide some more insight: http://wordpress.org/support/topic/500-error-on-permalinks?replies=2

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘404's on wp-admin and wp–comments-post.php…’ is closed to new replies.
Skip to toolbar