Local Development URLs
-
Hello,
I am running a WordPress Network running on WordPress 4.1 with the WordPress MU Domain Mapping plugin. I have currently asked our developers to edit their hosts file so they can connect to the development environment. The team is becoming frustrated with toggling the hosts file on (for development) and off (for production).
I’m proposing the following idea to make it easier for the team to jump between development and production:
- Add an additional domain on the /wp-admin/tools.php?page=domainmapping page for the development environment
- In the wp-config.php, define a constant stating which environment we’re in
- If we’re in development, set the development hostname as primary
Will this work?
Is there an easier way to do this?
Thank you,
Ryanhttps://www.ads-software.com/plugins/wordpress-mu-domain-mapping/
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Local Development URLs’ is closed to new replies.