WordPress.org

Ready to get started?Download WordPress

Forums

wp-admin and wp-login.php redirecting to 404 error (16 posts)

  1. or1gb1u3
    Member
    Posted 4 years ago #

    I have been facing this issue for a few hours now. I have looked through the forum posts on this topic to no avail.
    back ground on the site. did a manual upgrade after a suspected automatic upgrade was assumed failed. spent 4~hours fixing that. got logged in that day and reactivated my plugins. this was Friday(01/15/2010). have not touched hte site from then once it was back up. went to log in today and the site was throwing a 404 error when attempting to log in.

    pertinent info.
    url= http://prhstaugustine.com
    login should be at= http://prhstaugustine.org/blog/wp-admin
    running wp 2.9.1
    have tried renaming the plug-in dir and nothing changed
    re uploaded the wp-login.php and nothing changed

    the login link is at the bottom under the footer

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Try resetting your custom permalinks to the default setting and deleting/renaming the WP root .htaccess file. If that works, then set your custom permalink structure back up again.

  3. or1gb1u3
    Member
    Posted 4 years ago #

    esmi
    deleting the .htaccess throws a 500 error and how can I try the change on the permalinks with out access to the wp-admin area?

  4. esmi
    Forum Moderator
    Posted 4 years ago #

    What's in your .htaccess file?

  5. or1gb1u3
    Member
    Posted 4 years ago #

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

    # END WordPress

    that is the only thing in the .htaccess

  6. Shane G.
    Member
    Posted 4 years ago #

    Hi,

    Disable all the plugins and add this code in htaccess:

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

    Thanks,

    Shane G.

  7. or1gb1u3
    Member
    Posted 4 years ago #

    same issues still not showing the admin login screen

  8. esmi
    Forum Moderator
    Posted 4 years ago #

    There's nothing untoward in your .htaccess file. Have you tried renaming your current theme's folder so that the default theme activates? Just in case this is a theme problem.

  9. or1gb1u3
    Member
    Posted 4 years ago #

    now the site is just showing a white page.
    hum this is not good. wonder if something borked bad when I had all the upgrade problems.
    I do not have an export of the post and pages but I do have backups of my database. how hard would it be to rebuild the install from scratch?

  10. esmi
    Forum Moderator
    Posted 4 years ago #

    I'd try repairing your database first and re-running the auto-upgrade via Admin/Tools before you start trying to set up a fresh database.

  11. or1gb1u3
    Member
    Posted 4 years ago #

    I was thinking fresh install with the old database. but the main issue is I cannot get in to the dashboard of the site. the site was setup with 2.9 and the upgrade to 2.9.1 was an adventure and a half with all the stuff not working.

  12. mattx
    Member
    Posted 4 years ago #

    i am having the same issue, already backed up / reinstalled...how do you get into the dashboard without this login?

  13. esmi
    Forum Moderator
    Posted 4 years ago #

    If the upgrade borked your db, you could simply regenerate the same problems with a fresh install. What you could do is set up a new db, change the settings in wp-config.php to point to the new db and re-run the install script. If that works, then it would seem to suggest that your old db is damaged.

  14. or1gb1u3
    Member
    Posted 4 years ago #

    the only problem I have with that is there is information from a plugin I use in the old database that is used for a directory used on the site.
    that issue aside could I export the needed data from a local backup of the database and import it to the new database and just do a fresh install for everything?

  15. esmi
    Forum Moderator
    Posted 4 years ago #

    In theory, yes - though image/attachment urls may present a problem.

  16. or1gb1u3
    Member
    Posted 4 years ago #

    no images just the tables and information from the connections plugin. other than that all information is recoverable.

    Esmi I thank you for all your help this afternoon I am going to do the fresh install route tomorrow and rebuild piece by piece until everything is back up.
    any other thoughts before I do that in the AM

  17. esmi
    Forum Moderator
    Posted 4 years ago #

    Only re-backup everything and anything you can. And be careful when re-installing plugins. For all you know, one of your old plugins could have caused your initial problems. Good luck!

  18. or1gb1u3
    Member
    Posted 4 years ago #

    being as I cant get to the dashboard and nothing has been changed from before the upgrade I am just going to do a backup of the DB from the phpMyadmin in my fatcow control panel.
    again thanks and I will see if this helps any

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags