When you move a WordPress site, fix a broken one or work on it over FTP or a file manager, it helps to know which files, folders and database tables matter. This is my short map of the ones I look at most often.
Files wp-config.php file contains all information about your database connection and some salts which are used for password generation. It holds the database name, user, password and host, and the table prefix ($table_prefix). Strictly speaking, the keys and salts are used to secure login cookies and nonces rather than to hash the passwords themselves, which is why changing them logs every user out. Never share this file, and keep a copy when you move the site. index.php handles all the requests on your WordPress blog. It’s a tiny file that loads WordPress, which then works out which post or page was asked for. On Apache, the permalink rules in .htaccess send every address that isn’t a real file or folder to it. yourblog.com/wp-login.php or yourblog.com/wp-admin/ can be used for logging into the WordPress backend. Folders wp-content/themes contains all the themes installed in your blog. wp-content/plugins contains all the plugins installed in your blog. wp-content/uploads contains all your file uploads, including all the images in the media library. They are usually organised in folders by year and month, like 2018/08, 2018/09 and so on. That’s controlled by the “Organize my uploads into month- and year-based folders” option under Settings > Media. Together with the database, wp-content is what makes your site yours. The wp-admin and wp-includes folders are WordPress core and are replaced on every update, so never edit anything in them.
...