Accidentally put wordpress files into a folder – site crashed
-
Hi guys.
Unfortunately I’m a bigger noob at server hosting than I thought. While using cPanel, I saw that the Softaculous reported multiple updates, one of them being wordpress. I clicked to see the update, but it said it can’t find the wordpress directory because it was looking for /wordpress. I thought that if I placed my wordpress files (wp-content, wp-admin etc.) from the original install location into a new folder called “wordpress” it should find the directory and let me update it. Unfortunately this totally destroyed my website, causing critical errors and internal server errors.
I managed to restore previous backups, but for some reason the only way the 500 error disappeared was to revert the PHP version back to 7.3 (it was 7.4 before). Now however, the frontend works, but elementor has a 400 server error and won’t let me change anything, plugins are not updating because they can’t find folders and I just feel like something is definitely wrong.
I replaced the woocommerce folder in /plugins to a fresh install, and also wordpress /wp-includes and /wp-admin. Deactivating the plugins and theme didn’t help either.
Long story short: I was thinking that by changing the location of the files, maybe some path got corrupted that wasn’t replaced in the restore. I was hoping to find the culprit or at least somehow create a fresh install of wordpress without losing my data (as I have hundreds of products in woocommerce and thousands of images).
I know this is a very specific problem, so any help is appreciated.
- The topic ‘Accidentally put wordpress files into a folder – site crashed’ is closed to new replies.