{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/6069","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6069/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6069/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6069/events","html_url":"https://github.com/joomla/joomla-cms/issues/6069","id":57476880,"number":6069,"title":"canonical does not show appropriate URL","user":{"login":"pieter-groeneweg","id":10771283,"avatar_url":"https://avatars.githubusercontent.com/u/10771283?v=3","gravatar_id":"","url":"https://api.github.com/users/pieter-groeneweg","html_url":"https://github.com/pieter-groeneweg","followers_url":"https://api.github.com/users/pieter-groeneweg/followers","following_url":"https://api.github.com/users/pieter-groeneweg/following{/other_user}","gists_url":"https://api.github.com/users/pieter-groeneweg/gists{/gist_id}","starred_url":"https://api.github.com/users/pieter-groeneweg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pieter-groeneweg/subscriptions","organizations_url":"https://api.github.com/users/pieter-groeneweg/orgs","repos_url":"https://api.github.com/users/pieter-groeneweg/repos","events_url":"https://api.github.com/users/pieter-groeneweg/events{/privacy}","received_events_url":"https://api.github.com/users/pieter-groeneweg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/No%20Code%20Attached%20Yet","name":"No Code Attached Yet","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-02-12T15:45:28Z","updated_at":"2016-05-19T10:01:39Z","closed_at":null,"body":"I did install latest 3.4.0b3\r\n\r\nwhen browsing to http://dev.bizgo.nl/category-test/1-art-test.html there is no canonical set as one would expect.\r\nHowever when addressing same page as http://dev.bizgo.nl/category-test/1 the canonical shows:\r\n\r\n    <link href=\"http://dev.bizgo.nl/category-test.html?id=1\" rel=\"canonical\" />\r\n\r\nInstead of expected\r\n\r\n    <link href=\"http://dev.bizgo.nl/category-test/1-art-test.html\" rel=\"canonical\" />\r\n\r\nMeaning when unlucky one will have three pages indexed.... as duplicates.... :(\r\nThis is on a vanilla Joomla 3.4.0b3, \r\n\r\n    public $sef = '1';\r\n    public $sef_rewrite = '1';\r\n    public $sef_suffix = '1';\r\n    public $unicodeslugs = '0';\r\n    public $sitename_pagetitles = '0';\r\n\r\n.htaccess set.\r\n\r\napache 2.2.15\r\nphp 5.4.16\r\n\r\nHow can this be addressed?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/220280870","html_url":"https://github.com/joomla/joomla-cms/issues/6069#issuecomment-220280870","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6069","id":220280870,"user":{"login":"ggppdk","id":5092940,"avatar_url":"https://avatars.githubusercontent.com/u/5092940?v=3","gravatar_id":"","url":"https://api.github.com/users/ggppdk","html_url":"https://github.com/ggppdk","followers_url":"https://api.github.com/users/ggppdk/followers","following_url":"https://api.github.com/users/ggppdk/following{/other_user}","gists_url":"https://api.github.com/users/ggppdk/gists{/gist_id}","starred_url":"https://api.github.com/users/ggppdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggppdk/subscriptions","organizations_url":"https://api.github.com/users/ggppdk/orgs","repos_url":"https://api.github.com/users/ggppdk/repos","events_url":"https://api.github.com/users/ggppdk/events{/privacy}","received_events_url":"https://api.github.com/users/ggppdk/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T10:01:39Z","updated_at":"2016-05-19T10:01:39Z","body":"@roland-d \r\n\r\nThat code J3.5.0 code, no longer exists in J3.5.1+, comment is no longer valid,\r\n\r\nthe issue is fixed in J3.5.1 , \r\n\r\n- the SEF plugin can never guess what the canonical URL should be, so no canonical is added at all, so it is now the current URL, unless component decides otherwise\r\n- the SEF plugin will only care to fix the alternative domain ...  please read the initial posting of this PR, and all of the postings to know more:\r\n\r\nhttps://github.com/joomla/joomla-cms/pull/9565\r\n\r\nI think this can be closed"}}