I'm in a somewhat odd development situation where I need to develop a WP site at http://dev.example.com/
and then make it live at https://example.com/
.
The summary is:
- Develop on
http
, publish onhttps
- Develop on
dev.example.com
, publish onexample.com
What should be done on the WP side of things? Is it as simple as updating the db replacing all occurences of http://dev.example.com
to https://example.com
?
What about wp-config.php?
I'm aware that plugins will probably have their own options that need updating. I'm mainly concerned about the core requirements. Media library links comes to mind.
Heck, maybe there's even a plugin that will do this for me? Or maybe development should be started in a specific way / or with a specific plugin?
I'm an experienced developer, but new to the WP-side of things. I'm very comfortable around the linux/db command line. I'm mainly looking for the general outline, but feel free to be as specific as you like. Every bit of info will help me sleep better at night.