Created
March 7, 2021 21:03
-
-
Save bhowe/f83743d20bf268650e9ec9ac04996dce to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-> go to all sites > Add new site | |
-> After adding go to all All sites again and edit the newly added site.. change it's url to https://dev.test.com/ | |
-> After that you have to go to all domains in cpanel. | |
-> Change the directory path of https://dev.test.com/ to public_html | |
-> Next.. go to wp-config.php in public_html | |
Change | |
define('DOMAIN_CURRENT_SITE', 'dev.whatever.com'); | |
to | |
define('DOMAIN_CURRENT_SITE', $_SERVER['HTTP_HOST'] ); | |
user nscloner if you want to copy the current site |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment