Quantcast
Channel: polylang – WordPress.org Forums
Viewing all articles
Browse latest Browse all 11471

Chouby on "polylang unable to get access to custom post archives"

$
0
0

But polylang changes behaviour of get_post_type_archive_link() and forces 'en' to url even if I have particular cpt unchecked.

That's a bug. I just uploaded a new development version (1.7.5.1) to fix that. I would be glad if you could test it.
https://downloads.wordpress.org/plugin/polylang.zip

Also you can resolve duplicate content issue by adding canonical to wp_head action like "<link href="url-of-the-original-content" rel="canonical"/>"

Yes. That's a possibility, but WordPress generally keeps only one url and uses canonical redirection instead.


Viewing all articles
Browse latest Browse all 11471

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>