Welcome to WebmasterWorld Guest from 54.162.227.136

Message Too Old, No Replies

How to create a Sitemap index xml file for Mobile site?

     
4:00 am on Feb 1, 2012 (gmt 0)



I am creating a mobile Sitemaps at the moment. I only see the sample of Mobile Sitemap format but I need to create a Sitemap index just like my normal site as well.

I couldn't find any example anywhere of how to create a Mobile Sitemapindex in a right format. Or I can use the same format as normal one?

Can anyone help me on this?

Thanks a lot in advance.
4:50 pm on Feb 1, 2012 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



I can't find any specific instructions about a sitemaps index, either. I always assumed that the format was the same no matter what kind of sitemaps were being linked to - regular, mobile, video, whatever. I have seen that in practice, as well.

You might check the robots.txt file for a couple sites that you know are major and have a dedicated mobile site - just to see what the major players do.
5:40 pm on Feb 1, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<?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>http://mobile.example.com/article100.html</loc>
<mobile:mobile/>
</url>
</urlset>

More info [support.google.com]

Just an FYI - if your mobile version is on the same domain as your regular version, you may get warnings about duplicate titles or descriptions in WMT. However, I have not seen any warnings about duplicate content. Supposedly, using the mobile site map lets Google know it is not to be treated as duplicate content.

Marshall
6:25 pm on Feb 1, 2012 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Thanks, Marshall. That page does offer the XML format for a mobile sitemap. But I still don't see any instruction for a mobile Index file when there is more than on sitemap involved - such as happens on bigger sites when a single sitemap goes beyond 50,000 URLs (10MB unzipped.)

I've been assuming that the format is the same for specialized sitemaps as it is for the general multple sitemap case - as given here: [support.google.com...]

[edited by: tedster at 6:56 pm (utc) on Feb 1, 2012]

6:44 pm on Feb 1, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



tedster,

My bad, misread the OP. I must confess, i do not have an answer then. :(

Marshall
3:38 am on Feb 2, 2012 (gmt 0)



Thanks guys.

@ tedster: I checked on robots.txt of few major players as you suggested but couldn't find any XML Sitemap URL included in there.

Also looks like no one ever ask this kind of question out there on the internet as well which is strange to me.
4:38 am on Feb 2, 2012 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



looks like no one ever ask this kind of question out there on the internet

And that's why I assume there's nothing special going on for mobile or other kinds of dedicated index files for multiple sitemaps. I can't even imagine why there would need to be a difference.
10:27 am on Feb 2, 2012 (gmt 0)



OK, thanks again. I'll create the same format as my normal site. Let's see if it works.
7:58 am on Mar 5, 2012 (gmt 0)



Google can accept Web Sitemaps in a number of formats, but we recommend creating a Sitemap based on the Sitemap protocol because the same file can be submitted to the other search engines, such as Bing and Yahoo!, that are members of sitemaps.org.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month