Sorry for the N00b-Question, but I fucked up too many times with overwriting files and cores that I am VERY careful now.
So a website is going through it’s “critical-error after update” phase. The Site itself is reachable and works, just the wordpress login is throwing issues.
Some more or less helpful websites say “just overwrite everything in the wp-admin folder that will only update the core.
Is that really true?
I had some bad overwrites and work gone and painfully stacking stuff together again, because wordpress decided that this link is now invalid.
So am I correct in the assumption that downloading a new wordpress-install-package, and overwriting the wp-admin content on the webserver will keep all files and all plugins and all themes and all work and such in order and JUST let me access wordpress again?
Again sorry for the stupid question, I still have a trauma from my first mySQL-class back in ’99.
I do graphics now. I don’t want to do databases and baby’s first CMS.
Thanks you all!
[ad_2]
Hi, don’t worry, I (and many others) fully understand your tech frustrations… welcome to the club. 😉
Regarding your question about overwriting the wp-admin folder – you are right with your assumption that updating or replacing the files in the wp-admin directory should not affect your website’s content, plugins, or themes. These elements are stored separately, in the wp-content folder and the WP database.
However, before making any changes I would strongly suggest you to backup fully your site (files and database), as you never know. You have many plugins’ options for backuping, and it’s up to you to choose the one that suits you the most (we mainly use our hosting’s backup system/SiteGround and All in one WP migration plugin.
Generally speaking, the wp-admin folder contains the files needed for your WordPress dashboard, and replacing these shouldn’t affect your content, plugins, or themes since they are stored in the wp-content folder and the site’s database.
If you’re facing a “critical error” on your login, it might be a plugin or theme issue. An alternative to messing directly with the wp-admin is to temporarily rename the plugins folder via FTP; this deactivates all plugins and can often allow access to the admin area. This way, you can troubleshoot by reactivating them one by one to find the culprit.
Themes can also be an issue, and switching to a default theme via FTP (by renaming your current theme’s folder) is another strategy.