I recently took over a WordPress site with the following directory structure inside of /public_html:
wp_config.php
/wp-admin
/wp-content
/wp-includes
...
...
...
/development
The root (production) site is pointed to /public_html. Inside of /public_html, I have a sub-folder called /development. This subfolder has its own separate installation of Wordpress with a directory tree that looks like:
wp_config.php
/wp-admin
/wp-content
/wp-includes
...
...
...
You can access this WordPress instance via www.mywebsite.com/development. I am at a point where I would like to promote the development build to production.
What's the "WordPress" way of doing this? This is hosted on a machine that can be accessed via cPanel. I've noticed that while you can add "Addon Domains" and "Subdomains" via cPanel, you can't change the root public directory through cPanel. I would like to avoid SSHing into the machine and manually editing the httpd.conf file since that can cause conflicts with cPanel.
Ideally, I would like to avoid moving files all together and just point Apache's root directory to /public_html/development.