• Resolved +ES

    (@evelynmsdesigngraphicscom)


    Hello+
    I’m wondering if there are instructions somewhere that will show me how to enable the Yoast SEO Plugin’s XML Sitemaps to acknowledge the Anchor Tags used in a one-page website design? I would like the #about, #services, etc. to show in the site map for search engines… Any guidance/advice will be greatly appreciated.
    Thanks!

    https://www.ads-software.com/plugins/wordpress-seo/

Viewing 1 replies (of 1 total)
  • Hi,

    The XML sitemaps are supposed to list individual pages/documents and, as far as I know, hash links like those shouldn’t be included in it. These links generally refer to different parts of the same page. When such URL is requested, your server doesn’t even receive the part after the hash and the client just looks for the specified element in the page content (or look for instructions in Javascript) after receiving the content.

    If you only have one page on your site, I’d recommend disabling the sitemap functionality as it doesn’t really serve any purpose.

Viewing 1 replies (of 1 total)
  • The topic ‘How to get XML Site Map to recognize Anchors on One Page Site?’ is closed to new replies.