• Resolved dekk3r

    (@dekk3r)


    Hi!

    I have searched everywhere but cannot find the answer. So hence my question here. I have some pages as subpages, only they are not showing in my sitemap. How can I get this done?

    For example:
    url.com/page1/page2

    Page1 is in the sitemap, page2 is not.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello,

    We understand that some of your pages are missing in the sitemap. This could be because you have set it to noindex or using a wrong canonical URL. Can you please share the URL of the missing page?

    Thanks.

    Thread Starter dekk3r

    (@dekk3r)

    Plugin Support Maybellyne

    (@maybellyne)

    Thanks for sharing.

    We viewed the page source of https://www.rocketing.nl/product-sampling-kennismaken/social-sampling/ and it has no noindex tag:

    <meta name='robots' content='index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' />

    But the canonical URL is:

    <link rel="canonical" href="https://www.rocketing.nl/social-sampling/" />

    In essence, your page is missing in the sitemap because of a wrong canonical URL. To fix this, please remove the custom canonical URL you have set for the page in the advanced tab of the Yoast SEO metabox under the default WordPress content editor. Leaving the field blank will allow the Yoast SEO plugin use self-referencing canonicals.

    If you want to learn more about why we use self-canonical, please refer to this article.

    • This reply was modified 3 years, 11 months ago by Maybellyne. Reason: formatting
    Thread Starter dekk3r

    (@dekk3r)

    Thank you! This was the trick!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Subpages in sitemap’ is closed to new replies.