{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/amp-wp/issues/1389","repository_url":"https://api.github.com/repos/Automattic/amp-wp","labels_url":"https://api.github.com/repos/Automattic/amp-wp/issues/1389/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/amp-wp/issues/1389/comments","events_url":"https://api.github.com/repos/Automattic/amp-wp/issues/1389/events","html_url":"https://github.com/Automattic/amp-wp/issues/1389","id":356003412,"node_id":"MDU6SXNzdWUzNTYwMDM0MTI=","number":1389,"title":"Automatically append ?amp to URLs in Paired mode (AMP-to-AMP navigation)","user":{"login":"jukefr","id":2154296,"node_id":"MDQ6VXNlcjIxNTQyOTY=","avatar_url":"https://avatars0.githubusercontent.com/u/2154296?v=4","gravatar_id":"","url":"https://api.github.com/users/jukefr","html_url":"https://github.com/jukefr","followers_url":"https://api.github.com/users/jukefr/followers","following_url":"https://api.github.com/users/jukefr/following{/other_user}","gists_url":"https://api.github.com/users/jukefr/gists{/gist_id}","starred_url":"https://api.github.com/users/jukefr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jukefr/subscriptions","organizations_url":"https://api.github.com/users/jukefr/orgs","repos_url":"https://api.github.com/users/jukefr/repos","events_url":"https://api.github.com/users/jukefr/events{/privacy}","received_events_url":"https://api.github.com/users/jukefr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-31T14:28:48Z","updated_at":"2018-09-05T06:38:50Z","closed_at":null,"author_association":"NONE","body":"Hey again,\r\n\r\nWanted to say thanks for the awesome work you put into this project and that the v1 is looking better and better every day :clap: \r\n\r\nNow for my issue :\r\nI want the entirety of my Wordpress to be available as AMP.\r\nI have activated the plugin in Paired mode and started transitioning my templates with is_amp_endpoint()\r\nThe **problem I am having** is that any links that get rendered on an AMP page will point to the non-amp version of the page.\r\n\r\nI have beta 2 and activated automatic stripping of non valid markup.\r\nI have tested accessing said pages (the first one and the one that is linked) directly with `?amp` and all went well.\r\n\r\nI was planning on maybe checking the query parameters inside a hook and append ?amp to every link that gets rendered for that call.\r\nI am pretty sure however that there might be a better way to do this.\r\n\r\nI might also have a problem on my end or a bad understanding of how things work as I'd expect that this would be a feature that would be enabled by default for an AMP plugin. I tried searing in the Wiki and the Issues but could not find anything relating to this apart from trying to manually enable paired mode and setting a template folder in my `functions.php` but that did not help.\r\n\r\nIf there is a more appropriate place to ask question like those so that I don't end up spamming the issues I'd be glad to hear about it ! \r\nCheers"},"comment":{"url":"https://api.github.com/repos/Automattic/amp-wp/issues/comments/418616240","html_url":"https://github.com/Automattic/amp-wp/issues/1389#issuecomment-418616240","issue_url":"https://api.github.com/repos/Automattic/amp-wp/issues/1389","id":418616240,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODYxNjI0MA==","user":{"login":"pbakaus","id":43004,"node_id":"MDQ6VXNlcjQzMDA0","avatar_url":"https://avatars1.githubusercontent.com/u/43004?v=4","gravatar_id":"","url":"https://api.github.com/users/pbakaus","html_url":"https://github.com/pbakaus","followers_url":"https://api.github.com/users/pbakaus/followers","following_url":"https://api.github.com/users/pbakaus/following{/other_user}","gists_url":"https://api.github.com/users/pbakaus/gists{/gist_id}","starred_url":"https://api.github.com/users/pbakaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbakaus/subscriptions","organizations_url":"https://api.github.com/users/pbakaus/orgs","repos_url":"https://api.github.com/users/pbakaus/repos","events_url":"https://api.github.com/users/pbakaus/events{/privacy}","received_events_url":"https://api.github.com/users/pbakaus/received_events","type":"User","site_admin":false},"created_at":"2018-09-05T06:38:50Z","updated_at":"2018-09-05T06:38:50Z","author_association":"COLLABORATOR","body":"@cramforce to add thoughts on A2A (if there's anything to share). This would indeed be more a feature for the AMP Caches or AMP itself, vs. the WordPress plugin."}}
{"actor":{"display_login":"pbakaus"}}