{"id":8370446,"date":"2016-10-29T07:23:47","date_gmt":"2016-10-29T07:23:47","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/compatibility-with-wpml-polylang\/"},"modified":"2016-10-29T07:23:47","modified_gmt":"2016-10-29T07:23:47","slug":"compatibility-with-wpml-polylang","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/compatibility-with-wpml-polylang\/","title":{"rendered":"Compatibility with WPML \/ Polylang"},"content":{"rendered":"<p>Hi there,<br \/>\nI have added a second language to my website using the Polylang Plugin, and have previously used Custom Permalinks-Plugin which hat serious bugs when working together with Polylang. So now that I have tried this plugin, it works better, but still has one issue.<br \/>\nMy URL-Structure is example.com\/en\/ for my english website. When I add a new english page in WP-Admin, and enter into the Permalinks-Customizer-Field &#8220;about\/&#8221;, I would expect the page to appear under example.com\/en\/about\/, as I am editing an english page which can only be under \/en\/. But when I do that, the link that is generated in my menu on my homepage is correct (http:\/\/www.example.com\/en\/about\/), yet when I click on it WP redirects me to http:\/\/www.example.com\/about\/ and gives a 404-Error. When I then go back to WP-Admin and enter &#8220;en\/about\/&#8221; into the Permalink-Field, the menu generates a link to http:\/\/www.example.com\/en\/en\/about\/, and upon click WP redirects to http:\/\/www.example.com\/en\/about\/ and shows the page.<\/p>\n<p>The expected behavior would be, that the Permalink-Field shows &#8220;http:\/\/www.example.com\/en\/&#8221; as the grey, uneditable text and adds the en automatically to every english page. Would that be possible?<br \/>\nThanks a lot,<br \/>\nVincens von Bibra<\/p>\n","protected":false},"template":"","class_list":["post-8370446","topic","type-topic","status-publish","hentry","topic-tag-internationalization","topic-tag-localization","topic-tag-multilingual-website"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8370446","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8370446\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=8370446"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}