Is it better to wipe out root folder and reinstall Wordpress for a brand new site build for a client?
I’ve built a brand new site with a custom theme and it’s currently on a staging site in a subdirectory. The old site was built with elementor and a bunch of plugins that’s super bloaty.
My plan is to:
- Backup the old site
- Completely delete everything in the root directory besides the staging subdirectory
- Reinstall Wordpress via Installatron
- Duplicate the staging db to a new one for the prod site to point to
- Migrate the plugins and folders from staging
- Sync the theme via git
My question is: is it even worth deleting Wordpress completely to start from scratch or should I just use WP reset tools to just delete plugins etc from the prod site? The benefits of not completely removing WP only seems like I would be able to keep current usernames and logins, and perhaps avoiding any conflicts that may remain from the old site. Would reinstalling Wordpress via Installatron wipe out the subdirectory? What do you guys do usually?