{"action":"created","comment":{"url":"https://api.github.com/repos/pantheon-systems/documentation/pulls/comments/46997709","id":46997709,"diff_hunk":"@@ -0,0 +1,93 @@\n+---\n+title: Up and Running with WordPress Site Networks\n+description: Get started with WordPress Site Networks. Learn about the Pantheon WordPress Site Network support, start developing, or import existing networks.\n+---\n+\n+Once a Pantheon employee has given you access to your WordPress Site Network site, you can import an existing network or start from scratch and begin developing your project on the platform.\n+\n+## Migrating Site Networks to Pantheon\n+\n+If your network already exists, follow the instructions in the [Migrate to Pantheon: WordPress Site Networks](/docs/articles/sites/migrate/wordpress-site-networks/) doc.\n+\n+## Create a Network\n+\n+Before you begin, switch the Development environment to SFTP mode. Creating the network requires making modifications to the `wp-config.php` file using either WP-CLI or the WordPress Dashboard, which is not possible if the site's connection mode is set to Git.\n+\n+### Create a Network with WP-CLI (Recommended)\n+\n+If you’re comfortable with the command line, Terminus and WP-CLI let you convert an existing WordPress environment to Multisite in one command: `wp core multisite-convert`\n+\n+Before you begin, make sure that:\n+\n+- Your WordPress environment is functioning as expected.\n+\n+- [Terminus](/docs/articles/local/cli) is configured locally, and you’re authenticated with Pantheon.\n+\n+Once you’ve confirmed these prerequisites, you can enable WordPress Multisite with one command.\n+\n+Subdirectory style:\n+```bash\n+terminus wp core multisite-convert --site=<pantheon-site> --env=dev\n+```\n+\n+Subdomains style:\n+```bash\n+terminus wp core multisite-convert --site=<pantheon-site> --env=dev --subdomains\n+```\n+\n+Optionally specify --title to use a custom title for your Multisite Network:\n+\n+```bash\n+terminus wp core multisite-convert --site=<pantheon-site> --env=dev --title=”My Awesome Multisite Network”\n+```\n+### Modify `DOMAIN_CURRENT_SITE`\n+\n+For compatibility with Pantheon, you’ll need to update `DOMAIN_CURRENT_SITE` to be set conditionally based on environment. Here is an example:\n+\n+<script src=\"https://gist.github.com/danielbachhuber/69c44664d4d63a6e19db.js\"></script>\n+\n+### Caveats for Creating the Network Via the WordPress Dashboard","path":"source/docs/articles/wordpress/site-networks/getting-started.md","position":49,"original_position":49,"commit_id":"65a29a190d9a52e4db0e70f3912f6b5b3958fda6","original_commit_id":"65a29a190d9a52e4db0e70f3912f6b5b3958fda6","user":{"login":"danielbachhuber","id":36432,"avatar_url":"https://avatars.githubusercontent.com/u/36432?v=3","gravatar_id":"","url":"https://api.github.com/users/danielbachhuber","html_url":"https://github.com/danielbachhuber","followers_url":"https://api.github.com/users/danielbachhuber/followers","following_url":"https://api.github.com/users/danielbachhuber/following{/other_user}","gists_url":"https://api.github.com/users/danielbachhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbachhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbachhuber/subscriptions","organizations_url":"https://api.github.com/users/danielbachhuber/orgs","repos_url":"https://api.github.com/users/danielbachhuber/repos","events_url":"https://api.github.com/users/danielbachhuber/events{/privacy}","received_events_url":"https://api.github.com/users/danielbachhuber/received_events","type":"User","site_admin":false},"body":"What's the caveat?","created_at":"2015-12-08T19:05:14Z","updated_at":"2015-12-08T19:05:14Z","html_url":"https://github.com/pantheon-systems/documentation/pull/1145#discussion_r46997709","pull_request_url":"https://api.github.com/repos/pantheon-systems/documentation/pulls/1145","_links":{"self":{"href":"https://api.github.com/repos/pantheon-systems/documentation/pulls/comments/46997709"},"html":{"href":"https://github.com/pantheon-systems/documentation/pull/1145#discussion_r46997709"},"pull_request":{"href":"https://api.github.com/repos/pantheon-systems/documentation/pulls/1145"}}},"pull_request":{"url":"https://api.github.com/repos/pantheon-systems/documentation/pulls/1145","id":52440670,"html_url":"https://github.com/pantheon-systems/documentation/pull/1145","diff_url":"https://github.com/pantheon-systems/documentation/pull/1145.diff","patch_url":"https://github.com/pantheon-systems/documentation/pull/1145.patch","issue_url":"https://api.github.com/repos/pantheon-systems/documentation/issues/1145","number":1145,"state":"open","locked":false,"title":"create site-networks docs","user":{"login":"bmackinney","id":646061,"avatar_url":"https://avatars.githubusercontent.com/u/646061?v=3","gravatar_id":"","url":"https://api.github.com/users/bmackinney","html_url":"https://github.com/bmackinney","followers_url":"https://api.github.com/users/bmackinney/followers","following_url":"https://api.github.com/users/bmackinney/following{/other_user}","gists_url":"https://api.github.com/users/bmackinney/gists{/gist_id}","starred_url":"https://api.github.com/users/bmackinney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmackinney/subscriptions","organizations_url":"https://api.github.com/users/bmackinney/orgs","repos_url":"https://api.github.com/users/bmackinney/repos","events_url":"https://api.github.com/users/bmackinney/events{/privacy}","received_events_url":"https://api.github.com/users/bmackinney/received_events","type":"User","site_admin":false},"body":"TODO\r\n - [x] Finish code merge instructions for `/sites/migrate/wordpress-site-networks.md`\r\n - [x] @nataliejeremy please edit\r\n - [x] Add output to https://github.com/pantheon-systems/documentation/pull/1145/files#diff-9b5ea65168ebe1836fc056bcb5c5b5f0R31","created_at":"2015-12-02T19:16:14Z","updated_at":"2015-12-08T19:05:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e892842cda5b4c7f81f20837dcc8e50a41a7206","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pantheon-systems/documentation/pulls/1145/commits","review_comments_url":"https://api.github.com/repos/pantheon-systems/documentation/pulls/1145/comments","review_comment_url":"https://api.github.com/repos/pantheon-systems/documentation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pantheon-systems/documentation/issues/1145/comments","statuses_url":"https://api.github.com/repos/pantheon-systems/documentation/statuses/65a29a190d9a52e4db0e70f3912f6b5b3958fda6","head":{"label":"pantheon-systems:wp-site-networks","ref":"wp-site-networks","sha":"65a29a190d9a52e4db0e70f3912f6b5b3958fda6","user":{"login":"pantheon-systems","id":513357,"avatar_url":"https://avatars.githubusercontent.com/u/513357?v=3","gravatar_id":"","url":"https://api.github.com/users/pantheon-systems","html_url":"https://github.com/pantheon-systems","followers_url":"https://api.github.com/users/pantheon-systems/followers","following_url":"https://api.github.com/users/pantheon-systems/following{/other_user}","gists_url":"https://api.github.com/users/pantheon-systems/gists{/gist_id}","starred_url":"https://api.github.com/users/pantheon-systems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pantheon-systems/subscriptions","organizations_url":"https://api.github.com/users/pantheon-systems/orgs","repos_url":"https://api.github.com/users/pantheon-systems/repos","events_url":"https://api.github.com/users/pantheon-systems/events{/privacy}","received_events_url":"https://api.github.com/users/pantheon-systems/received_events","type":"Organization","site_admin":false},"repo":{"id":26826032,"name":"documentation","full_name":"pantheon-systems/documentation","owner":{"login":"pantheon-systems","id":513357,"avatar_url":"https://avatars.githubusercontent.com/u/513357?v=3","gravatar_id":"","url":"https://api.github.com/users/pantheon-systems","html_url":"https://github.com/pantheon-systems","followers_url":"https://api.github.com/users/pantheon-systems/followers","following_url":"https://api.github.com/users/pantheon-systems/following{/other_user}","gists_url":"https://api.github.com/users/pantheon-systems/gists{/gist_id}","starred_url":"https://api.github.com/users/pantheon-systems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pantheon-systems/subscriptions","organizations_url":"https://api.github.com/users/pantheon-systems/orgs","repos_url":"https://api.github.com/users/pantheon-systems/repos","events_url":"https://api.github.com/users/pantheon-systems/events{/privacy}","received_events_url":"https://api.github.com/users/pantheon-systems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pantheon-systems/documentation","description":"Pantheon Docs","fork":false,"url":"https://api.github.com/repos/pantheon-systems/documentation","forks_url":"https://api.github.com/repos/pantheon-systems/documentation/forks","keys_url":"https://api.github.com/repos/pantheon-systems/documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pantheon-systems/documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pantheon-systems/documentation/teams","hooks_url":"https://api.github.com/repos/pantheon-systems/documentation/hooks","issue_events_url":"https://api.github.com/repos/pantheon-systems/documentation/issues/events{/number}","events_url":"https://api.github.com/repos/pantheon-systems/documentation/events","assignees_url":"https://api.github.com/repos/pantheon-systems/documentation/assignees{/user}","branches_url":"https://api.github.com/repos/pantheon-systems/documentation/branches{/branch}","tags_url":"https://api.github.com/repos/pantheon-systems/documentation/tags","blobs_url":"https://api.github.com/repos/pantheon-systems/documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pantheon-systems/documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pantheon-systems/documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/pantheon-systems/documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pantheon-systems/documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/pantheon-systems/documentation/languages","stargazers_url":"https://api.github.com/repos/pantheon-systems/documentation/stargazers","contributors_url":"https://api.github.com/repos/pantheon-systems/documentation/contributors","subscribers_url":"https://api.github.com/repos/pantheon-systems/documentation/subscribers","subscription_url":"https://api.github.com/repos/pantheon-systems/documentation/subscription","commits_url":"https://api.github.com/repos/pantheon-systems/documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/pantheon-systems/documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/pantheon-systems/documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/pantheon-systems/documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/pantheon-systems/documentation/contents/{+path}","compare_url":"https://api.github.com/repos/pantheon-systems/documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pantheon-systems/documentation/merges","archive_url":"https://api.github.com/repos/pantheon-systems/documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pantheon-systems/documentation/downloads","issues_url":"https://api.github.com/repos/pantheon-systems/documentation/issues{/number}","pulls_url":"https://api.github.com/repos/pantheon-systems/documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/pantheon-systems/documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/pantheon-systems/documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pantheon-systems/documentation/labels{/name}","releases_url":"https://api.github.com/repos/pantheon-systems/documentation/releases{/id}","created_at":"2014-11-18T19:26:21Z","updated_at":"2015-11-30T21:07:43Z","pushed_at":"2015-12-07T23:19:44Z","git_url":"git://github.com/pantheon-systems/documentation.git","ssh_url":"git@github.com:pantheon-systems/documentation.git","clone_url":"https://github.com/pantheon-systems/documentation.git","svn_url":"https://github.com/pantheon-systems/documentation","homepage":"https://pantheon.io/docs","size":84510,"stargazers_count":30,"watchers_count":30,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":97,"mirror_url":null,"open_issues_count":64,"forks":97,"open_issues":64,"watchers":30,"default_branch":"master"}},"base":{"label":"pantheon-systems:master","ref":"master","sha":"c8c722b49ab0e88f7883b01b3536eef763362bb4","user":{"login":"pantheon-systems","id":513357,"avatar_url":"https://avatars.githubusercontent.com/u/513357?v=3","gravatar_id":"","url":"https://api.github.com/users/pantheon-systems","html_url":"https://github.com/pantheon-systems","followers_url":"https://api.github.com/users/pantheon-systems/followers","following_url":"https://api.github.com/users/pantheon-systems/following{/other_user}","gists_url":"https://api.github.com/users/pantheon-systems/gists{/gist_id}","starred_url":"https://api.github.com/users/pantheon-systems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pantheon-systems/subscriptions","organizations_url":"https://api.github.com/users/pantheon-systems/orgs","repos_url":"https://api.github.com/users/pantheon-systems/repos","events_url":"https://api.github.com/users/pantheon-systems/events{/privacy}","received_events_url":"https://api.github.com/users/pantheon-systems/received_events","type":"Organization","site_admin":false},"repo":{"id":26826032,"name":"documentation","full_name":"pantheon-systems/documentation","owner":{"login":"pantheon-systems","id":513357,"avatar_url":"https://avatars.githubusercontent.com/u/513357?v=3","gravatar_id":"","url":"https://api.github.com/users/pantheon-systems","html_url":"https://github.com/pantheon-systems","followers_url":"https://api.github.com/users/pantheon-systems/followers","following_url":"https://api.github.com/users/pantheon-systems/following{/other_user}","gists_url":"https://api.github.com/users/pantheon-systems/gists{/gist_id}","starred_url":"https://api.github.com/users/pantheon-systems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pantheon-systems/subscriptions","organizations_url":"https://api.github.com/users/pantheon-systems/orgs","repos_url":"https://api.github.com/users/pantheon-systems/repos","events_url":"https://api.github.com/users/pantheon-systems/events{/privacy}","received_events_url":"https://api.github.com/users/pantheon-systems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pantheon-systems/documentation","description":"Pantheon Docs","fork":false,"url":"https://api.github.com/repos/pantheon-systems/documentation","forks_url":"https://api.github.com/repos/pantheon-systems/documentation/forks","keys_url":"https://api.github.com/repos/pantheon-systems/documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pantheon-systems/documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pantheon-systems/documentation/teams","hooks_url":"https://api.github.com/repos/pantheon-systems/documentation/hooks","issue_events_url":"https://api.github.com/repos/pantheon-systems/documentation/issues/events{/number}","events_url":"https://api.github.com/repos/pantheon-systems/documentation/events","assignees_url":"https://api.github.com/repos/pantheon-systems/documentation/assignees{/user}","branches_url":"https://api.github.com/repos/pantheon-systems/documentation/branches{/branch}","tags_url":"https://api.github.com/repos/pantheon-systems/documentation/tags","blobs_url":"https://api.github.com/repos/pantheon-systems/documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pantheon-systems/documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pantheon-systems/documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/pantheon-systems/documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pantheon-systems/documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/pantheon-systems/documentation/languages","stargazers_url":"https://api.github.com/repos/pantheon-systems/documentation/stargazers","contributors_url":"https://api.github.com/repos/pantheon-systems/documentation/contributors","subscribers_url":"https://api.github.com/repos/pantheon-systems/documentation/subscribers","subscription_url":"https://api.github.com/repos/pantheon-systems/documentation/subscription","commits_url":"https://api.github.com/repos/pantheon-systems/documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/pantheon-systems/documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/pantheon-systems/documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/pantheon-systems/documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/pantheon-systems/documentation/contents/{+path}","compare_url":"https://api.github.com/repos/pantheon-systems/documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pantheon-systems/documentation/merges","archive_url":"https://api.github.com/repos/pantheon-systems/documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pantheon-systems/documentation/downloads","issues_url":"https://api.github.com/repos/pantheon-systems/documentation/issues{/number}","pulls_url":"https://api.github.com/repos/pantheon-systems/documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/pantheon-systems/documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/pantheon-systems/documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pantheon-systems/documentation/labels{/name}","releases_url":"https://api.github.com/repos/pantheon-systems/documentation/releases{/id}","created_at":"2014-11-18T19:26:21Z","updated_at":"2015-11-30T21:07:43Z","pushed_at":"2015-12-07T23:19:44Z","git_url":"git://github.com/pantheon-systems/documentation.git","ssh_url":"git@github.com:pantheon-systems/documentation.git","clone_url":"https://github.com/pantheon-systems/documentation.git","svn_url":"https://github.com/pantheon-systems/documentation","homepage":"https://pantheon.io/docs","size":84510,"stargazers_count":30,"watchers_count":30,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":97,"mirror_url":null,"open_issues_count":64,"forks":97,"open_issues":64,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pantheon-systems/documentation/pulls/1145"},"html":{"href":"https://github.com/pantheon-systems/documentation/pull/1145"},"issue":{"href":"https://api.github.com/repos/pantheon-systems/documentation/issues/1145"},"comments":{"href":"https://api.github.com/repos/pantheon-systems/documentation/issues/1145/comments"},"review_comments":{"href":"https://api.github.com/repos/pantheon-systems/documentation/pulls/1145/comments"},"review_comment":{"href":"https://api.github.com/repos/pantheon-systems/documentation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pantheon-systems/documentation/pulls/1145/commits"},"statuses":{"href":"https://api.github.com/repos/pantheon-systems/documentation/statuses/65a29a190d9a52e4db0e70f3912f6b5b3958fda6"}}}}