Sitemap with WPML & Custom Post Types
-
I read the KB article here: https://kb.theseoframework.com/kb/translation-plugin-compatibility/ and am following up on a separate thread about a similar topic.
We run a real estate listing site with a custom post type called Properties.
In WPML we set this post type to ‘Translatable – use translation if available or fallback to default language’. So the posts are translatable, but users will see non-translated post content in a translated UI. This is useful for posts that aren’t fully translated yet, but still lets users understand the post.
The problem is that the English post URLs are still showing up in non-English sitemaps, so they are duplicated. Ideally we’d like only Property posts with the /ja/ directory in the URL to be in the Japanese sitemap.
The page I need help with: [log in to see the link]
- The topic ‘Sitemap with WPML & Custom Post Types’ is closed to new replies.