• Resolved craigstubing

    (@craigstubing)


    Hi,

    For some reason when I click on either Plugins or Update from the dashboard I get a 404 error on my website. Everything else works fine, just those two pages. I’m on a server with a few WordPress installations, if that would make a difference.

    I tried turning off all the plugins via FTP.
    I tried reinstalling all the WordPress files (except wp-content) via FTP
    I checked the .htaccess file (described here)
    I tried repairing the databases via WP_ALLOW_REPAIR and phpMyAdmin
    I tried restoring 4 different backups from the last month

    I’ve run out of ideas. Has anyone else had this problem? I’m not sure what to do besides making the site from scratch again–if that would even fix it.

    Thanks for your help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • axiski

    (@axiski)

    Hello,

    This sounds strange. Are you absolutely certain the directory structure is as it should be and the URL it’s trying to go to is correct?

    Obviously, the nature of the 404 meaning it can’t find it, implies the directory either isn’t there or it’s called something different to what it’s trying to load.

    Thread Starter craigstubing

    (@craigstubing)

    @axiski, it’s really weird. I’m not absolutely sure of the directory structure, but if that was the case, wouldn’t a backup to a previously working state fix it?

    axiski

    (@axiski)

    @craigstubing

    A back up may fix it, if you get your host to back up your whole FTP / server space.

    First though, if you go into your FTP, and go into wp-content, does your directory look like this exactly?

    plugins
    themes
    upgrade
    uploads
    index.php
    Thread Starter craigstubing

    (@craigstubing)

    @axiski

    Yeah, the wp-content folder looks exactly like that.

    I’ve since changed some of the other websites hosted on my server, so I really wouldn’t want to restore the whole thing from a backup.

    Do you think this would work:

    I make a backup of the website in Softaculous and export my theme settings .xml file, then delete the installation of WP through Softaculous and create a new WP install and install my theme. Then I restore only the content of my backup, not the databases, then I restore the .xml export generated by my theme.

    Arto Simonyan

    (@artosimonyan)

    @craigstubing

    I recommend that you first make a backup from Softaculous and then simply try to replace the current files with a fresh copy of the WordPress files which you can download from:

    Download WordPress Here.

    Replacing the existing core files with fresh ones can really fix some issues with missing files or corrupted ones. This can be helpful with incorrect permissions as well.

    Also, make sure that you have the correct RewriteBase directives in your .htaccess file if you have changed the permalink type. You can find the default WordPress .htaccess at:

    WordPress Codex

    Let me know if you’re still having troubles after trying the above suggested.

    Best Regards.

    axiski

    (@axiski)

    Hi @craigstubing

    What’s said above is pretty good advice. Beat me to it

    = )

    Thread Starter craigstubing

    (@craigstubing)

    @arto Simonyan

    Changing my .htaccess file back to the defaults did the trick. Thank you so much!

    @axiski, thanks for your help too!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Plugins and Update Pages Not Loading’ is closed to new replies.