{"action":"created","comment":{"url":"https://api.github.com/repos/magento/devdocs/pulls/comments/195476059","pull_request_review_id":128850451,"id":195476059,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NTQ3NjA1OQ==","diff_hunk":"@@ -1,62 +1,55 @@\n ---\n group: cloud\n-subgroup: 170_trouble\n title: Add site map and search engine robots\n-menu_title: Add sitemap and robots.txt\n-menu_order: 40\n-menu_node:\n version: 2.1\n github_link: cloud/trouble/robots-sitemap.md\n functional_areas:\n   - Cloud\n   - Configuration\n ---\n-The `pub` directory is _read only_ in the {{site.data.var.ece}} Integration, Staging, and Production environments. An attempt to generate and write the `sitemap.xml` file to the root directory results in the following error:\n+An attempt to generate and write the `sitemap.xml` file to the root directory results in the following error:\n \n ```\n-The path \".:///app/app/\" is not writable.\n-Path \"/app/pub/static/sitemap.xml\" is protected and cannot be used.\n+Please make sure that \"/\" is writable by the web-server.\n ```\n \n-To avoid this error, you can only write to specific directories, such as `var`, `pub/media`, or `app/etc`. When using {{site.data.var.ece}}, you must use a redirect in the _read-only_ environments.  Generate the files on your local workstation and upload them to one of the write-enabled directories using the following, appropriate environment:\n+With {{site.data.var.ece}}, you can only write to specific directories, such as `var`, `pub/media`, `pub/static`,or `app/etc`. When you generate the `sitemap.xml` file using the Admin panel, you must specify the `/media/` path.\n \n--  For Starter, access the `staging` branch\n--  For Pro, access the `integration` branch\n+For version 2.1.11 and later, you do not have to generate a `robots.txt` because it generates on demand and stores the contents in the database. You can view the content in your browser with the url: `<domain.your.project>/robots.txt`\n \n-#### To add a `sitemap.xml` file:\n+This requires ECE-Tools version 2002.0.12 and later with an updated `.magento.app.yaml` file. See an example of these rules in the [magento-cloud repository](https://github.com/magento/magento-cloud/blob/master/.magento.app.yaml#L43-L49){:target=\"\\_blank\"}.\n \n-1.  On your local branch, access the Magento Admin panel.\n-1.  On the _Marketing_ menu, click **Site Map**.\n+#### To generate a `sitemap.xml` file in version 2.1.11 and later:\n+\n+1.  Access the Magento Admin panel.\n+1.  On the _Marketing_ menu, click **Site Map** in the _SEO & Search_ section.\n 1.  In the _Site Map_ view, click **Add Sitemap**.\n 1.  In the _New Site Map_ view, enter the following values:\n \n     -  **Filename**:`sitemap.xml`\n-    -  **Path**:`/pub/media/`\n+    -  **Path**:`/media/`\n \n-1.  Click **Save & Generate**.\n-1.  Import the generated files to the `pub/media` directory on the server.\n-1.  Log in to the remote environment using SSH.\n-1.  Move the files into the `/pub/media/` directory using the rsync command:\n+1.  Click **Save & Generate**. The new site map becomes available in the _Site Map_ grid.\n+1.  Click the path in the `Link for Google` column.\n \n-    ```bash\n-    rsync -azvP pub/media/ <user_name>@<environment_IP_address>:pub/media/\n-    ```\n+{% include note.html type=\"warning\" content=\"Do not change the location of the files during deployment.\" %}","path":"guides/v2.1/cloud/trouble/robots-sitemap.md","position":56,"original_position":56,"commit_id":"379b05399705ebf9c3a3735bb0bdae1d296a5125","original_commit_id":"379b05399705ebf9c3a3735bb0bdae1d296a5125","user":{"login":"arhiopterecs","id":1901448,"node_id":"MDQ6VXNlcjE5MDE0NDg=","avatar_url":"https://avatars3.githubusercontent.com/u/1901448?v=4","gravatar_id":"","url":"https://api.github.com/users/arhiopterecs","html_url":"https://github.com/arhiopterecs","followers_url":"https://api.github.com/users/arhiopterecs/followers","following_url":"https://api.github.com/users/arhiopterecs/following{/other_user}","gists_url":"https://api.github.com/users/arhiopterecs/gists{/gist_id}","starred_url":"https://api.github.com/users/arhiopterecs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arhiopterecs/subscriptions","organizations_url":"https://api.github.com/users/arhiopterecs/orgs","repos_url":"https://api.github.com/users/arhiopterecs/repos","events_url":"https://api.github.com/users/arhiopterecs/events{/privacy}","received_events_url":"https://api.github.com/users/arhiopterecs/received_events","type":"User","site_admin":false},"body":"I think it will be better if we remove it","created_at":"2018-06-14T15:51:31Z","updated_at":"2018-06-14T16:00:39Z","html_url":"https://github.com/magento/devdocs/pull/2089#discussion_r195476059","pull_request_url":"https://api.github.com/repos/magento/devdocs/pulls/2089","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/magento/devdocs/pulls/comments/195476059"},"html":{"href":"https://github.com/magento/devdocs/pull/2089#discussion_r195476059"},"pull_request":{"href":"https://api.github.com/repos/magento/devdocs/pulls/2089"}}},"pull_request":{"url":"https://api.github.com/repos/magento/devdocs/pulls/2089","id":192549385,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyNTQ5Mzg1","html_url":"https://github.com/magento/devdocs/pull/2089","diff_url":"https://github.com/magento/devdocs/pull/2089.diff","patch_url":"https://github.com/magento/devdocs/pull/2089.patch","issue_url":"https://api.github.com/repos/magento/devdocs/issues/2089","number":2089,"state":"closed","locked":false,"title":"MAGECLOUD-2214 Update Robots and sitemap","user":{"login":"hguthrie","id":5817319,"node_id":"MDQ6VXNlcjU4MTczMTk=","avatar_url":"https://avatars2.githubusercontent.com/u/5817319?v=4","gravatar_id":"","url":"https://api.github.com/users/hguthrie","html_url":"https://github.com/hguthrie","followers_url":"https://api.github.com/users/hguthrie/followers","following_url":"https://api.github.com/users/hguthrie/following{/other_user}","gists_url":"https://api.github.com/users/hguthrie/gists{/gist_id}","starred_url":"https://api.github.com/users/hguthrie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hguthrie/subscriptions","organizations_url":"https://api.github.com/users/hguthrie/orgs","repos_url":"https://api.github.com/users/hguthrie/repos","events_url":"https://api.github.com/users/hguthrie/events{/privacy}","received_events_url":"https://api.github.com/users/hguthrie/received_events","type":"User","site_admin":false},"body":"<!-- (REQUIRED) What is the nature of this PR? -->\r\n- [x] Content fix or rewrite\r\n\r\n<!-- (REQUIRED) What does this PR change? -->\r\nI updated the Sitemap and Robots instructions for 2.1, 2.2, and 2.3. I had to remove the symlinks from 2.2 and 2.3, so they look as if they are new topics, but they aren't.\r\n\r\nwhatsnew\r\nThere is a new Cloud workflow to [add a `robots.txt` file and generate a `sitemap.xml` file](https://devdocs.magento.com/guides/v2.2/cloud/trouble/robots-sitemap.html) for a single domain configuration without requiring a change to the infrastructure.\r\n","created_at":"2018-06-04T22:54:26Z","updated_at":"2018-06-14T16:00:39Z","closed_at":"2018-06-14T15:02:38Z","merged_at":"2018-06-14T15:02:38Z","merge_commit_sha":"f1b3fd818c64cc8cb5f1a3f5906133e84abc4347","assignee":{"login":"hguthrie","id":5817319,"node_id":"MDQ6VXNlcjU4MTczMTk=","avatar_url":"https://avatars2.githubusercontent.com/u/5817319?v=4","gravatar_id":"","url":"https://api.github.com/users/hguthrie","html_url":"https://github.com/hguthrie","followers_url":"https://api.github.com/users/hguthrie/followers","following_url":"https://api.github.com/users/hguthrie/following{/other_user}","gists_url":"https://api.github.com/users/hguthrie/gists{/gist_id}","starred_url":"https://api.github.com/users/hguthrie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hguthrie/subscriptions","organizations_url":"https://api.github.com/users/hguthrie/orgs","repos_url":"https://api.github.com/users/hguthrie/repos","events_url":"https://api.github.com/users/hguthrie/events{/privacy}","received_events_url":"https://api.github.com/users/hguthrie/received_events","type":"User","site_admin":false},"assignees":[{"login":"hguthrie","id":5817319,"node_id":"MDQ6VXNlcjU4MTczMTk=","avatar_url":"https://avatars2.githubusercontent.com/u/5817319?v=4","gravatar_id":"","url":"https://api.github.com/users/hguthrie","html_url":"https://github.com/hguthrie","followers_url":"https://api.github.com/users/hguthrie/followers","following_url":"https://api.github.com/users/hguthrie/following{/other_user}","gists_url":"https://api.github.com/users/hguthrie/gists{/gist_id}","starred_url":"https://api.github.com/users/hguthrie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hguthrie/subscriptions","organizations_url":"https://api.github.com/users/hguthrie/orgs","repos_url":"https://api.github.com/users/hguthrie/repos","events_url":"https://api.github.com/users/hguthrie/events{/privacy}","received_events_url":"https://api.github.com/users/hguthrie/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":661803220,"node_id":"MDU6TGFiZWw2NjE4MDMyMjA=","url":"https://api.github.com/repos/magento/devdocs/labels/2.1.x","name":"2.1.x","color":"c5def5","default":false},{"id":769999399,"node_id":"MDU6TGFiZWw3Njk5OTkzOTk=","url":"https://api.github.com/repos/magento/devdocs/labels/2.2.x","name":"2.2.x","color":"c5def5","default":false},{"id":872662021,"node_id":"MDU6TGFiZWw4NzI2NjIwMjE=","url":"https://api.github.com/repos/magento/devdocs/labels/2.3.x","name":"2.3.x","color":"c5def5","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/magento/devdocs/pulls/2089/commits","review_comments_url":"https://api.github.com/repos/magento/devdocs/pulls/2089/comments","review_comment_url":"https://api.github.com/repos/magento/devdocs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/magento/devdocs/issues/2089/comments","statuses_url":"https://api.github.com/repos/magento/devdocs/statuses/379b05399705ebf9c3a3735bb0bdae1d296a5125","head":{"label":"magento:hg-mc1998-robots","ref":"hg-mc1998-robots","sha":"379b05399705ebf9c3a3735bb0bdae1d296a5125","user":{"login":"magento","id":168457,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODQ1Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/168457?v=4","gravatar_id":"","url":"https://api.github.com/users/magento","html_url":"https://github.com/magento","followers_url":"https://api.github.com/users/magento/followers","following_url":"https://api.github.com/users/magento/following{/other_user}","gists_url":"https://api.github.com/users/magento/gists{/gist_id}","starred_url":"https://api.github.com/users/magento/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magento/subscriptions","organizations_url":"https://api.github.com/users/magento/orgs","repos_url":"https://api.github.com/users/magento/repos","events_url":"https://api.github.com/users/magento/events{/privacy}","received_events_url":"https://api.github.com/users/magento/received_events","type":"Organization","site_admin":false},"repo":{"id":17608126,"node_id":"MDEwOlJlcG9zaXRvcnkxNzYwODEyNg==","name":"devdocs","full_name":"magento/devdocs","owner":{"login":"magento","id":168457,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODQ1Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/168457?v=4","gravatar_id":"","url":"https://api.github.com/users/magento","html_url":"https://github.com/magento","followers_url":"https://api.github.com/users/magento/followers","following_url":"https://api.github.com/users/magento/following{/other_user}","gists_url":"https://api.github.com/users/magento/gists{/gist_id}","starred_url":"https://api.github.com/users/magento/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magento/subscriptions","organizations_url":"https://api.github.com/users/magento/orgs","repos_url":"https://api.github.com/users/magento/repos","events_url":"https://api.github.com/users/magento/events{/privacy}","received_events_url":"https://api.github.com/users/magento/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/magento/devdocs","description":"Magento Developer Documentation","fork":false,"url":"https://api.github.com/repos/magento/devdocs","forks_url":"https://api.github.com/repos/magento/devdocs/forks","keys_url":"https://api.github.com/repos/magento/devdocs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/magento/devdocs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/magento/devdocs/teams","hooks_url":"https://api.github.com/repos/magento/devdocs/hooks","issue_events_url":"https://api.github.com/repos/magento/devdocs/issues/events{/number}","events_url":"https://api.github.com/repos/magento/devdocs/events","assignees_url":"https://api.github.com/repos/magento/devdocs/assignees{/user}","branches_url":"https://api.github.com/repos/magento/devdocs/branches{/branch}","tags_url":"https://api.github.com/repos/magento/devdocs/tags","blobs_url":"https://api.github.com/repos/magento/devdocs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/magento/devdocs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/magento/devdocs/git/refs{/sha}","trees_url":"https://api.github.com/repos/magento/devdocs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/magento/devdocs/statuses/{sha}","languages_url":"https://api.github.com/repos/magento/devdocs/languages","stargazers_url":"https://api.github.com/repos/magento/devdocs/stargazers","contributors_url":"https://api.github.com/repos/magento/devdocs/contributors","subscribers_url":"https://api.github.com/repos/magento/devdocs/subscribers","subscription_url":"https://api.github.com/repos/magento/devdocs/subscription","commits_url":"https://api.github.com/repos/magento/devdocs/commits{/sha}","git_commits_url":"https://api.github.com/repos/magento/devdocs/git/commits{/sha}","comments_url":"https://api.github.com/repos/magento/devdocs/comments{/number}","issue_comment_url":"https://api.github.com/repos/magento/devdocs/issues/comments{/number}","contents_url":"https://api.github.com/repos/magento/devdocs/contents/{+path}","compare_url":"https://api.github.com/repos/magento/devdocs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/magento/devdocs/merges","archive_url":"https://api.github.com/repos/magento/devdocs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/magento/devdocs/downloads","issues_url":"https://api.github.com/repos/magento/devdocs/issues{/number}","pulls_url":"https://api.github.com/repos/magento/devdocs/pulls{/number}","milestones_url":"https://api.github.com/repos/magento/devdocs/milestones{/number}","notifications_url":"https://api.github.com/repos/magento/devdocs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/magento/devdocs/labels{/name}","releases_url":"https://api.github.com/repos/magento/devdocs/releases{/id}","deployments_url":"https://api.github.com/repos/magento/devdocs/deployments","created_at":"2014-03-10T20:54:08Z","updated_at":"2018-06-14T16:00:33Z","pushed_at":"2018-06-14T16:00:23Z","git_url":"git://github.com/magento/devdocs.git","ssh_url":"git@github.com:magento/devdocs.git","clone_url":"https://github.com/magento/devdocs.git","svn_url":"https://github.com/magento/devdocs","homepage":"http://devdocs.magento.com","size":577055,"stargazers_count":328,"watchers_count":328,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":863,"mirror_url":null,"archived":false,"open_issues_count":169,"license":null,"forks":863,"open_issues":169,"watchers":328,"default_branch":"develop"}},"base":{"label":"magento:Cloud-2002.0.12","ref":"Cloud-2002.0.12","sha":"d78b7406cc3d30774b5243098a9ddbe529cfacb6","user":{"login":"magento","id":168457,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODQ1Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/168457?v=4","gravatar_id":"","url":"https://api.github.com/users/magento","html_url":"https://github.com/magento","followers_url":"https://api.github.com/users/magento/followers","following_url":"https://api.github.com/users/magento/following{/other_user}","gists_url":"https://api.github.com/users/magento/gists{/gist_id}","starred_url":"https://api.github.com/users/magento/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magento/subscriptions","organizations_url":"https://api.github.com/users/magento/orgs","repos_url":"https://api.github.com/users/magento/repos","events_url":"https://api.github.com/users/magento/events{/privacy}","received_events_url":"https://api.github.com/users/magento/received_events","type":"Organization","site_admin":false},"repo":{"id":17608126,"node_id":"MDEwOlJlcG9zaXRvcnkxNzYwODEyNg==","name":"devdocs","full_name":"magento/devdocs","owner":{"login":"magento","id":168457,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODQ1Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/168457?v=4","gravatar_id":"","url":"https://api.github.com/users/magento","html_url":"https://github.com/magento","followers_url":"https://api.github.com/users/magento/followers","following_url":"https://api.github.com/users/magento/following{/other_user}","gists_url":"https://api.github.com/users/magento/gists{/gist_id}","starred_url":"https://api.github.com/users/magento/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magento/subscriptions","organizations_url":"https://api.github.com/users/magento/orgs","repos_url":"https://api.github.com/users/magento/repos","events_url":"https://api.github.com/users/magento/events{/privacy}","received_events_url":"https://api.github.com/users/magento/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/magento/devdocs","description":"Magento Developer Documentation","fork":false,"url":"https://api.github.com/repos/magento/devdocs","forks_url":"https://api.github.com/repos/magento/devdocs/forks","keys_url":"https://api.github.com/repos/magento/devdocs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/magento/devdocs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/magento/devdocs/teams","hooks_url":"https://api.github.com/repos/magento/devdocs/hooks","issue_events_url":"https://api.github.com/repos/magento/devdocs/issues/events{/number}","events_url":"https://api.github.com/repos/magento/devdocs/events","assignees_url":"https://api.github.com/repos/magento/devdocs/assignees{/user}","branches_url":"https://api.github.com/repos/magento/devdocs/branches{/branch}","tags_url":"https://api.github.com/repos/magento/devdocs/tags","blobs_url":"https://api.github.com/repos/magento/devdocs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/magento/devdocs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/magento/devdocs/git/refs{/sha}","trees_url":"https://api.github.com/repos/magento/devdocs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/magento/devdocs/statuses/{sha}","languages_url":"https://api.github.com/repos/magento/devdocs/languages","stargazers_url":"https://api.github.com/repos/magento/devdocs/stargazers","contributors_url":"https://api.github.com/repos/magento/devdocs/contributors","subscribers_url":"https://api.github.com/repos/magento/devdocs/subscribers","subscription_url":"https://api.github.com/repos/magento/devdocs/subscription","commits_url":"https://api.github.com/repos/magento/devdocs/commits{/sha}","git_commits_url":"https://api.github.com/repos/magento/devdocs/git/commits{/sha}","comments_url":"https://api.github.com/repos/magento/devdocs/comments{/number}","issue_comment_url":"https://api.github.com/repos/magento/devdocs/issues/comments{/number}","contents_url":"https://api.github.com/repos/magento/devdocs/contents/{+path}","compare_url":"https://api.github.com/repos/magento/devdocs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/magento/devdocs/merges","archive_url":"https://api.github.com/repos/magento/devdocs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/magento/devdocs/downloads","issues_url":"https://api.github.com/repos/magento/devdocs/issues{/number}","pulls_url":"https://api.github.com/repos/magento/devdocs/pulls{/number}","milestones_url":"https://api.github.com/repos/magento/devdocs/milestones{/number}","notifications_url":"https://api.github.com/repos/magento/devdocs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/magento/devdocs/labels{/name}","releases_url":"https://api.github.com/repos/magento/devdocs/releases{/id}","deployments_url":"https://api.github.com/repos/magento/devdocs/deployments","created_at":"2014-03-10T20:54:08Z","updated_at":"2018-06-14T16:00:33Z","pushed_at":"2018-06-14T16:00:23Z","git_url":"git://github.com/magento/devdocs.git","ssh_url":"git@github.com:magento/devdocs.git","clone_url":"https://github.com/magento/devdocs.git","svn_url":"https://github.com/magento/devdocs","homepage":"http://devdocs.magento.com","size":577055,"stargazers_count":328,"watchers_count":328,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":863,"mirror_url":null,"archived":false,"open_issues_count":169,"license":null,"forks":863,"open_issues":169,"watchers":328,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/magento/devdocs/pulls/2089"},"html":{"href":"https://github.com/magento/devdocs/pull/2089"},"issue":{"href":"https://api.github.com/repos/magento/devdocs/issues/2089"},"comments":{"href":"https://api.github.com/repos/magento/devdocs/issues/2089/comments"},"review_comments":{"href":"https://api.github.com/repos/magento/devdocs/pulls/2089/comments"},"review_comment":{"href":"https://api.github.com/repos/magento/devdocs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/magento/devdocs/pulls/2089/commits"},"statuses":{"href":"https://api.github.com/repos/magento/devdocs/statuses/379b05399705ebf9c3a3735bb0bdae1d296a5125"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"arhiopterecs"}}