{"action":"closed","issue":{"url":"https://api.github.com/repos/KLicheR/wp-polylang-translate-rewrite-slugs/issues/31","repository_url":"https://api.github.com/repos/KLicheR/wp-polylang-translate-rewrite-slugs","labels_url":"https://api.github.com/repos/KLicheR/wp-polylang-translate-rewrite-slugs/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/KLicheR/wp-polylang-translate-rewrite-slugs/issues/31/comments","events_url":"https://api.github.com/repos/KLicheR/wp-polylang-translate-rewrite-slugs/issues/31/events","html_url":"https://github.com/KLicheR/wp-polylang-translate-rewrite-slugs/issues/31","id":115842205,"number":31,"title":"No luck with translations working for slugs","user":{"login":"SeenNotHurd","id":4599971,"avatar_url":"https://avatars.githubusercontent.com/u/4599971?v=3","gravatar_id":"","url":"https://api.github.com/users/SeenNotHurd","html_url":"https://github.com/SeenNotHurd","followers_url":"https://api.github.com/users/SeenNotHurd/followers","following_url":"https://api.github.com/users/SeenNotHurd/following{/other_user}","gists_url":"https://api.github.com/users/SeenNotHurd/gists{/gist_id}","starred_url":"https://api.github.com/users/SeenNotHurd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeenNotHurd/subscriptions","organizations_url":"https://api.github.com/users/SeenNotHurd/orgs","repos_url":"https://api.github.com/users/SeenNotHurd/repos","events_url":"https://api.github.com/users/SeenNotHurd/events{/privacy}","received_events_url":"https://api.github.com/users/SeenNotHurd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-09T09:52:43Z","updated_at":"2016-04-29T07:14:43Z","closed_at":"2016-04-29T07:14:43Z","body":"Hey this seems like a great plugin... buuuuuuut I can't seem to get it to work at all?\r\n\r\nI have followed the instructions (it might be time to update them? Can't find any info about implementing translations for custom archive slugs...) but I seem to be missing something. As soon as I set everything up, the re-writing of the URLs works perfectly, but all the urls give me a 404, even english (which I have set up in the filter hook) which is the same url is failing. \r\n\r\nI know this isn't a support forum or anything but hoping someone can give me a nudge in the right direction?\r\n\r\n    function orn_cpt_slug_translate($post_type_translated_slugs) {\r\n        $post_type_translated_slugs = array(\r\n            'orn_article' => array(\r\n                'en' => array(\r\n                    'has_archive' => true,\r\n                    'rewrite' => array(\r\n                        'slug' => 'article',\r\n                    ),\r\n                ),\r\n                'fi' => array(\r\n                    'has_archive' => true,\r\n                    'rewrite' => array(\r\n                        'slug' => 'artikkeli',\r\n                    ),\r\n                ),\r\n            ),\r\n        );\r\n        return $post_type_translated_slugs;\r\n    }\r\n\r\n    add_filter('pll_translated_post_type_rewrite_slugs', 'orn_cpt_slug_translate');\r\n\r\nWP 4.3.1\r\nPolylang 1.7.11\r\nWP Polylang translate rewrite slugs 0.3.6\r\n\r\nThanks in advance for any advice"}}