Issue with Sitemaps for Custom Post Types
-
Hi, I have a client site using your plugin to generate a sitemap. I won’t share the link publicly.
We have a number of custom post types set and have found that CPTs with single-word slugs (such as “products”) have working sitemaps (products-sitemap.xml) with the expected links listed. But if the CPT has a multi-word slug (such as “for-example”), the sitemap (for-example-sitemap.xml) lists no urls at all. Any idea why that might be?
I’ve confirmed this on the latest version of the plugin on the latest version of WordPress on a dev environment on the host Pantheon. We have Yoast enabled but its sitemap function turned off. The only caching plugin enabled is Pantheon’s own “Pantheon Advanced Page Cache.”
The topic ‘Issue with Sitemaps for Custom Post Types’ is closed to new replies.