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. Technical SEO Issues
    4. Sitemaps:

    Sitemaps:

    Technical SEO Issues
    5 3 50
    • 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.
    • romaro
      romaro last edited by

      Hello, doing an audit found in our sitemaps the tag which at the time was to say that the url was mobile. In our case the URL is the same for desktop and mobile.
      Do you recommend leaving or removing it?
      Thank you!

      1 Reply Last reply Reply Quote 0
      • Roman-Delcarmen
        Roman-Delcarmen last edited by

        Depends on how you have set up your website, I will assume that you use Bootstrap on AMP, so if the tag is used to trigger some elements or hide others based on the users device maybe is not a good idea to touch it.

        1 Reply Last reply Reply Quote 1
        • romaro
          romaro last edited by

          Hello Roman, thanks for your answer.
          We are a marketplace and do not use bootstrap and AMP, we use dynamic code to display the mobile or desktop version (not responsive), but the URL is the same.

          What is the benefit of the <mobile: mobile="">tag in the Sitemap?</mobile:>

          Roman-Delcarmen 1 Reply Last reply Reply Quote 0
          • Roman-Delcarmen
            Roman-Delcarmen @romaro last edited by

            Google uses XML schemas to define the elements and attributes that can appear in your Sitemap file. A Sitemap may contain both core Sitemap elements and elements specific to Mobile.

            So it defines which elements are tagged for mobiles

            If my answer were useful don't forget to mark it as a good answer
            Cheers 🙂

            1 Reply Last reply Reply Quote 1
            • bridget.randolph
              bridget.randolph last edited by

              Hi romaro,

              From my understanding, using these tags as part of a mobile XML sitemap is not necessary and in fact, Google don't recommend having a separate mobile sitemap: https://www.seroundtable.com/google-mobile-sitemaps-20137.html

              Instead, for a dynamically served site, the important things are:

              • Use the Vary HTTP header to signal your changes depending on the user-agent.
              • Detect user-agent strings correctly.

              You can read more about Google's guidelines for dynamic serving here: https://developers.google.com/search/mobile-sites/mobile-seo/dynamic-serving

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post
              • Sitemap: Linking horizontal pages on a sitemap that has a vertical hierarchy structure
                0
                2
                84

              • Sitemap
                Martijn_Scheijbeler
                Martijn_Scheijbeler
                0
                3
                69

              • Sitemap
                Leonie-Kramer
                Leonie-Kramer
                0
                5
                57

              • Are mobile annotation in PC xml sitemaps a replacement for mobile xml sitemaps?
                bridget.randolph
                bridget.randolph
                0
                4
                377

              • How could i create sitemap with 1000 page and should i update sitemap frequently?
                magician
                magician
                0
                4
                841

              • Can you have a /sitemap.xml and /sitemap.html on the same site?
                ThompsonPaul
                ThompsonPaul
                0
                6
                2.2k

              • Sitemaps
                informatica810
                informatica810
                0
                3
                257

              • Does anyone know a sitemap generation tool that updates your sitemap based on changes on your website?
                Lifequotes
                Lifequotes
                0
                4
                383

              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