Welcome to WebmasterWorld Guest from 100.24.209.47

Forum Moderators: goodroi

Message Too Old, No Replies

Sitemap xml for mobile site - what is most updated version 2015

Sitemap xml for mobile site - what is most updated version?2015

     
10:00 am on Oct 15, 2015 (gmt 0)

Junior Member from US 

10+ Year Member

joined:July 15, 2007
posts: 75
votes: 1


Hi,
I have 2 versions of sites one desktop site example: "www.exmple.com" and one mobile site example: m.xxx.com/sitemap.xml
My question is what version of sitemap xml is the most relevant for google to index the mobile version of sitemap?
Do i have to use <mobile:mobile/> tag for the mobile sitemap ? or do i have to add this mobile url to the standard sitemap example: ? Also do i need to add "rel alternate" tag ?

Example for mobile version sitemap: http://m.example.com/sitemap.xml

<?xml version="1.0" encoding="UTF-8" ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0">
<url>
<loc>m.example.com/</loc>
<mobile:mobile/>
</url>
</urlset>

Example for standard sitemap :

<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>http://m.example.com/sitemap.mobile.xml</loc>
</sitemap>
</sitemapindex>

Please send me examples of an a correct versions for XML mobile sitemaps.

Regards.