Support » Plugin: Yoast SEO » WPML is adding non-existent homepage URLs in Siteap

  • Resolved marcusataylor


    The yoast sitemap on has 3x URLs being added to it by WPML that are 404’ing:

    /nl, /it and /de

    You can see them here:

    These URLs are created by WPML as subfolders so that we can have content like /nl/an-article-in-dutch/ but the pages do not exist.

    I’d like to remove these 3x pages from the sitemap and can’t figure it out.

    1) I can’t remove them from the Yoast dashboard as that only allows you to exclude posts by ID, and these URLs are not actually saved as posts/pages, therefore there’s no ID to exclude.

    2) My best guess would be to identify the taxonomy that WPML is using to create these URLs and then register that taxonomy as public so that I could exclude that taxonomy in Yoast, but I cannot work out what taxonomy is creating these URLs.

    Anyone have any ideas? Is there something I can add to the htaccess or a workaround to remove these URLs?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Md Mazedul Islam Khan


    Can you please submit the issue to our GitHub repository for Yoast SEO? Thanks!

    As the issue is a conflict with another plugin, we highly recommend reporting the issue to the development or support team of the other plugin. Having both teams work on the issue is a benefit to you.

    If you have not submitted an issue previously, this guide will help you submit a complete report which may result in a faster resolution.

    Plugin Support Jerlyn


    Closed due to inactivity.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WPML is adding non-existent homepage URLs in Siteap’ is closed to new replies.