WordPress.org

Forums

Getting an HTTP404 error when going to wp-admin page (48 posts)

  1. dave16
    Member
    Posted 4 years ago #

    Hello everyone,

    I am really struggling and would appreciate any advice you can give me. I have a number of wordpress sites. My two main sites when I try to go to the wp-admin to sign in all I get is a web page cannot be found HTTP 404 error. I have cleared my cookies and browser caching. I have tried moving the plugins and re uploading the wp-login.php file but still no joy. One of my other wordpress sites works fine so it should not be browser related. Any ideas please.

    Dave

  2. dave16
    Member
    Posted 4 years ago #

    Hi guys, have scoured the internet but cannot find an answer to my dilemma, so I am open to all ideas.

  3. dremeda
    Sucuri Wizard
    Posted 4 years ago #

    If you rename your active theme directory, the site should default to the Twenty Ten them, this takes potential theme problems out of the loop. Same thing applies for your plugins.

    The other potential issue here is permalinks. You can try:

    - Rename your plugins folder temporarily
    - Copy/backup your .htaccess file
    - Remove current .htaccess file from the server
    - Try to login via wp-admin

  4. esmi
    Forum Moderator
    Posted 4 years ago #

    Try:
    - switching to the Twenty Ten theme by renaming your current theme's folder in wp-content/themes using FTP or whatever file management application your host provides.

    - resetting the plugins folder by FTP or phpMyAdmin.

    - re-uploading the wp-admin and wp-includes folders from a fresh download of your version of WordPress.

  5. dave16
    Member
    Posted 4 years ago #

    Hi there, thank you dremeda and esmi for the comments. I have tried renaming the plugins, and removing the .htaccess but still will not login via wp-admin. Just checking how can I tell which version of wordpress that I have with not being able to access the admin please.

  6. dave16
    Member
    Posted 4 years ago #

    Just having to go to work now its 23:30hrs in the UK, will check back in 8 hours time, might need the matchsticks to prop the eyelids open. I really appreciate your help I really need to get this sorted

  7. esmi
    Forum Moderator
    Posted 4 years ago #

    how can I tell which version of wordpress that I have with not being able to access the admin please

    With great difficulty...

    You need to look for the database version number in the wp-options table of your database. :-(

  8. dremeda
    Sucuri Wizard
    Posted 4 years ago #

    Can you post your site address?

  9. dave16
    Member
    Posted 4 years ago #

    Hi there, yes my site address is http://www.sixpackquest.net

  10. dave16
    Member
    Posted 4 years ago #

    Just for info I have tried renaming the theme folder and when I click on my site it just shows a blank page

  11. esmi
    Forum Moderator
    Posted 4 years ago #

    Not the wp-content/themes folder. Just your current theme's folder.

  12. dave16
    Member
    Posted 4 years ago #

    Sorry, I had a bit of a dumb moment I will give it a try

  13. dave16
    Member
    Posted 4 years ago #

    I have renamed my current theme folder and I still get a totally blank page when site is clicked, :(

  14. dremeda
    Sucuri Wizard
    Posted 4 years ago #

    Here are a couple more steps you can take:

    - Deleting .htaccess File and uploading the fresh one (Back your current one up first)
    - Replace wp-login.php with a fresh copy
    - Disable all plugins
    - Reinstall WordPress

  15. dave16
    Member
    Posted 4 years ago #

    Hi there,

    I have tried deleting the .htaccess and uploading one that works from my other sites, i have also replaced the wp-login.php with a fresh copy from a working site. I have disabled the plugins as well, gosh its frustrating

  16. dave16
    Member
    Posted 4 years ago #

    If I have to reinstall wordpress will I lose all my posts etc

  17. dremeda
    Sucuri Wizard
    Posted 4 years ago #

    As long as you don't touch the database you should be fine. It is also recommended to do a full backup before upgrading.

    - Download the latest WordPress files
    - Login via FTP
    - Replace all WordPress files and directories EXCEPT for the wp-content folder

  18. dave16
    Member
    Posted 4 years ago #

    Righty oh! will give it a go my friend and see how it goes

  19. dave16
    Member
    Posted 4 years ago #

    Well I am lost I have replaced all the wordpress files and directories except the wp-content folder and when I go to http://www.sixpackquest.net/wp-admin I still get a 404 page error. Any other ideas please

  20. dave16
    Member
    Posted 4 years ago #

    They only one thing I noticed on the latest wordpress download is that there is no wp-config.php only the wp-config-sample.php

  21. dremeda
    Sucuri Wizard
    Posted 4 years ago #

    By default WordPress does not install wp-config on a manual install. It is created in the install process. In your case, it already exists :) so you're good to go.

    So right now, do you have your plugins disabled, and are you on the default Twenty Ten theme?

  22. dave16
    Member
    Posted 4 years ago #

    Anybody got any new ideas to solve this unsolvable problem

  23. dave16
    Member
    Posted 4 years ago #

    Hi Dremeda, I am just going to disable the plugins and rename the current theme back in two ticks

  24. dave16
    Member
    Posted 4 years ago #

    Right, I am working on http://www.musclebuildinglive.com. I have uploaded all the new wp files and directories except for wp-content folder. I have renamed the plugins folder, I have renamed the current theme folder. When I click on the site I do not get the twenty ten theme I just get a blank page

  25. dremeda
    Sucuri Wizard
    Posted 4 years ago #

    Something is off here.

    Are you sure your plugins are disabled? No caching enabled?

    If Twenty Ten theme is in /themes/, it should default to that theme when no other themes exist, or when you rename the active theme.

    Make sure you didn't rename wp-content/themes/ and that you renamed the active theme wp-content/themes/active-theme.

  26. dave16
    Member
    Posted 4 years ago #

    Just checking when we say ensure the plugins are disabled do we mean simply changing the the folder name from plugin to something different, I have called the original plugin folder plugin.hold. I can see the twentyten inside the wp-content/themes/ folder okay, my current theme is flexibility3 I have renamed this folder to a totally different name

  27. dremeda
    Sucuri Wizard
    Posted 4 years ago #

    Yes, since you can't reach wp-admin, the quickest way is to rename to something like plugins.hold and create a new plugins folder.

    It sounds like the themes are ok too.

    Can you please backup and remove your .htaccess file while the plugins folder is empty and the theme folder name is changed?

    Dre

  28. dave16
    Member
    Posted 4 years ago #

    Certainly can, will do now, thank you for all the help back in two ticks

  29. dave16
    Member
    Posted 4 years ago #

    Have deleted the .htaccess file and clicked on website http://www.musclebuildinglive.com and it is just a blank page

  30. dremeda
    Sucuri Wizard
    Posted 4 years ago #

    Just wondering, you're still on the same theme. http://www.sixpackquest.net/

    Can you please rename the theme and default to Twenty Ten? Have you recently made any changes to the theme?

Topic Closed

This topic has been closed to new replies.

About this Topic