• Resolved csigabiga83

    (@csigabiga83)


    Hi,

    I’m wondering why in 3 of my sitemaps, the URLs of the pages under those sitemaps are showing up example.com/post-name instead of example.com/post-type/post-name as they should be.

    For example, if the post type is tagged as “culture” the pages in the culture_sitemap.xml are listed as:
    example.com/post-name rather than
    example.com/culture/post-name

    When I fetch as Google
    /post-name shows 404, and not indexed BUT if I try to fetch
    /culture/post-name all is good!

    I suspect the issue is that the URLs are not showing up completely within those sitemaps. Any help would be appreciated.

    My website is casadragones.com

Viewing 1 replies (of 1 total)
  • Plugin Support amboutwe

    (@amboutwe)

    Sometimes strange behavior may be caused by a plugin or theme conflict. The fastest way to rule out conflicts is to deactivate all non-Yoast plugins and switch to a standard theme like Twenty Sixteen. If this resolves the issue, you have a conflict and should activate one plugin at a time until you locate the conflict. Finally, after all plugins are active, switch to your theme. This will narrow down the conflict to a specific plugin or theme.

    If you are unfamiliar with checking for conflicts, we wrote a small guide that will walk you through the steps. You can find it here: How To Check For Plugin Conflicts

Viewing 1 replies (of 1 total)
  • The topic ‘Pages in Sitemap not showing post-type in URL – Getting 404s’ is closed to new replies.