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. Mobile Sitemap Issue

    Mobile Sitemap Issue

    Intermediate & Advanced SEO
    2 2 1.4k
    • 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.
    • DBC01
      DBC01 last edited by

      Hi there,

      I am having some difficulty with an error on Webmaster Tools.  I'm concerned with a possible duplicate content penalty following the launch of my mobile site.

      I have attempted to update my sitemap to inform Google that a different mobile page exists in addition to the desktop page.

      I have followed Google's guidelines as outlined here:
      http://support.google.com/webmasters/bin/answer.py?hl=en&answer=34648

      I'm having problems with my sitemap.xml file.  Webmaster tools is reporting that it is not able to read the file and when I validate it I am getting an error stating that the 'Namespace prefix xhtml on link is not defined'.

      All I am trying to do is to create a sitemap that uses the rel="alternate" to inform Google that their is a mobile version of that specific page in addition to the desktop version.

      An instance of the code I am using is below:

      xml version="1.0" encoding="UTF-8"?> xml-stylesheet type="text/xsl" href="gss.xsl"?> <urlset< span="">xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://www.google.com/schemas/sitemap/0.84 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> http://www.mydomain/info/detail/ <xhtml:link< span="">rel="alternate" media="only screen and (max-width: 640px)" href="http://m.mydomain.com/info/detail.html"/> <lastmod></lastmod>2013-02-01T16:03:48+00:00<changefreq></changefreq>daily0.50</xhtml:link<></urlset<>

      Any help would be much appreciated.

      Thanks

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

        Make sure you're using the rel="canonical" tag on that mobile page. That tells Google that the original content is elsewhere on your site. This will help keep you from getting dinged from search engines.

        You can learn more about the rel="canonical" tag here .... http://support.google.com/webmasters/bin/answer.py?hl=en&answer=139394

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        • Client wants to remove mobile URLs from their sitemap to avoid indexing issues. However this will require SEVERAL billing hours. Is having both mobile/desktop URLs in a sitemap really that detrimental to search indexing?
          RosemaryB
          RosemaryB
          0
          7
          89

        • Mobile Canonical Tag Issue
          ThompsonPaul
          ThompsonPaul
          0
          5
          68

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

        • Broken sitemaps vs no sitemaps at all?
          smarties954
          smarties954
          0
          2
          134

        • Google Sitemap Submission Issues
          NeilTompkins
          NeilTompkins
          0
          4
          381

        • Where to Include Mobile Version of Site in Sitemap
          AdoptionHelp
          AdoptionHelp
          0
          2
          927

        • Mobile site version - Is it a duplication issue?
          DanHill
          DanHill
          0
          4
          632

        • Are Mobile Sitemaps Necessary?
          SanketPatel
          SanketPatel
          0
          2
          1.0k

        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