grappler / polylang-slug

A unique post slug within the language in Polylang. This allows for a page to have same/identical slug in multiple languages.
275 stars 84 forks source link

See same post in different urls #31

Closed theyuv closed 8 years ago

theyuv commented 8 years ago

Question:

Hello,

Under Polylang settings->Custom Post types and Taxonomies, I have not selected my custom post to be translated.

Will this plugin still work for these custom posts? Or do I need to first tell Polylang to internationalize posts so that Polylang creates a separate page for each custom post who's url I want to duplicate.

Ultimately, I want a single post to be displayed for several urls, like: example.com/blog/fr/some-post example.com/blog/en/some-post

can I do that with this plugin?

Thanks.

grappler commented 8 years ago

The plugin will not show the same content in different URLS. The easiest solution is to copy the content across when you have made changes.

I am not sure if it is a good idea for SEO as Google will see the second post and duplicate content.

theyuv commented 8 years ago

Thanks a lot for your input. I don't know why I didn't realize that it wouldn't be good for SEO.

I think I will just have a single url per post and then set the header, footer and some other links according to language (which for posts maybe I'll set with a cookie or something rather than via the url)...Any other suggestions/input?

Thanks

grappler commented 8 years ago

Sorry, I don't have any better ideas.