The easiest way to use WordPress locally is using softwares like ServerPress or Local.
- A Production Site is our live site people visit.
- A Staging Site is a hosted site used for testing.
- The Local Setup is used for development only.
The workflow should can be summaried as following steps:
- Pull from production to staging to local for latest version of our site.
- Push from local to staging for testing.
- Make and test any changes we need in staging.
- Push from staging to production.
The production & staging handled by hosting (e.g. BlueHost... etc), and the local to staging handled by plugins (e.g. All-in-One WP Migration).