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.
@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?
@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
@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.
@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.
Hi @craigstubing
What’s said above is pretty good advice. Beat me to it
= )
@arto Simonyan
Changing my .htaccess file back to the defaults did the trick. Thank you so much!
@axiski, thanks for your help too!