The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Intermediate & Advanced SEO
    4. XML Sitemaps - how to create the perfect XML Sitemap

    XML Sitemaps - how to create the perfect XML Sitemap

    Intermediate & Advanced SEO
    2 2 3.5k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JohnW-UK
      JohnW-UK last edited by

      Hello,

      We have a site that is not updated very often - currently we have a script running to create/update the XML sitemap every time a page is added/edited or deleted. I have a few questions about best practices for creating XML sitemaps.

      1. If the site is not updated for months on end - is it a bad idea to force the script to update i.e. changing the dates once a month? Will google noticed nothing has changed just the date i.e. all the content on the site is exactly the same. Will they start penalising you for updating an XML sitemap when there is nothing new about the website?
      2. Is it worth automating the XML file to link into Bing/Google to update via webmaster tools - as I say even if the site is never updated?
      3. Is the use of "priorities" necessary?
      4. The changefreq - does that mean Google/Bing expects to see a new file ever month?
      5. The ordering of the pages - the script seems pretty random and put the pages in a random order - should we make it order the pages with the most important ones first? Should the home page always be first?
      6. Below is a sample of how our XML sitemap appears - is there anything that we should change? i.e. all marked up properly?

      This XML file does not appear to have any style information associated with it. The document tree is shown below.
      <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url><loc>http://www.domain.com</loc>
      <lastmod>2013-11-06</lastmod>
      <changefreq>monthly</changefreq></url>
      <url><loc>http://www.domain.com/contact/</loc>
      <lastmod>2013-11-06</lastmod>
      <changefreq>monthly</changefreq></url>
      <url><loc>http://www.domain.com/sitemap/</loc>
      <lastmod>2013-11-06</lastmod>
      <changefreq>monthly</changefreq></url></urlset>

      Hope someone can help enlighten us to best practices

      1 Reply Last reply Reply Quote 0
      • AlanMosley
        AlanMosley last edited by

        1 Yes, Bing have stated that they will ignore the sitemap if it is not accurate

        2. no

        3, no

        4 yes

        5 no, use priorities for that

        6  looks ok

        I would look into using the Google and Bing sitemap generators, problem solved (if you have access to the server)

        http://www.bing.com/blogs/site_blogs/b/webmaster/archive/2013/05/23/bing-sitemap-plugin-1-0-launch.aspx
        http://googlesitemapgenerator.googlecode.com/svn/trunk/doc/gsg-installation.html

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        • Spotify XML Sitemap
          Martijn_Scheijbeler
          Martijn_Scheijbeler
          0
          2
          184

        • International XML Sitemaps - Standalone, or Integrate into Existing XML Sitemap?
          Martijn_Scheijbeler
          Martijn_Scheijbeler
          0
          2
          138

        • Xml sitemap Issue... Xml sitemap generator facilitating only few pages for indexing
          Paddy_Moogan
          Paddy_Moogan
          0
          6
          153

        • Sitemap.xml
          DarinPirkey
          DarinPirkey
          0
          2
          196

        • How to create XML sitemap for larger website?
          DCISEO
          DCISEO
          0
          5
          634

        • Sitemap.xml
          Richard555
          Richard555
          0
          3
          251

        • Video XML Sitemap
          MargaritaS
          MargaritaS
          0
          8
          447

        • Are there any disadvantages of switching from xml sitemaps to .asp sitemaps in GWT
          robertrRSwalters
          robertrRSwalters
          0
          3
          947

        Get started with Moz Pro!

        Unlock the power of advanced SEO tools and data-driven insights.

        Start my free trial
        Products
        • Moz Pro
        • Moz Local
        • Moz API
        • Moz Data
        • STAT
        • Product Updates
        Moz Solutions
        • SMB Solutions
        • Agency Solutions
        • Enterprise Solutions
        • Digital Marketers
        Free SEO Tools
        • Domain Authority Checker
        • Link Explorer
        • Keyword Explorer
        • Competitive Research
        • Brand Authority Checker
        • Local Citation Checker
        • MozBar Extension
        • MozCast
        Resources
        • Blog
        • SEO Learning Center
        • Help Hub
        • Beginner's Guide to SEO
        • How-to Guides
        • Moz Academy
        • API Docs
        About Moz
        • About
        • Team
        • Careers
        • Contact
        Why Moz
        • Case Studies
        • Testimonials
        Get Involved
        • Become an Affiliate
        • MozCon
        • Webinars
        • Practical Marketer Series
        • MozPod
        Connect with us

        Contact the Help team

        Join our newsletter
        Moz logo
        © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
        • Accessibility
        • Terms of Use
        • Privacy