SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    Non-Member
    Join Date
    Dec 2013
    Location
    Chennai
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Provide suggestion for Multilingual Sitemap

    Dear Experts,

    I own a website www.example.com which is completely in English Language. But I would like to spread my content to worldwide audience. For that, I am using Google Translate to create my website in Spanish Language (i.e) www.example.com/es-mx for Spanish audience.

    Before start promote my website in Spanish Language, I need to submit Multilingual Sitemap in GWT. I really don't know the exact procedure to do this..

    Is the below sitemap.xml file is correct or should I need to change anything?

    Code XML:
    <?xml version="1.0" encoding="UTF-8"?>
    <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
      xmlns:xhtml="http://www.w3.org/1999/xhtml">
      <url>
        <loc>http://www.example.com/</loc>
        <xhtml:link 
                     rel="alternate"
                     hreflang="de"
                     href="http://www.example.com/es-mx"
                     />
       <xhtml:link 
                     rel="alternate"
                     hreflang="de"
                     href="http://www.example.com/es-mx/page1"
                     />
          <xhtml:link 
                     rel="alternate"
                     hreflang="de"
                     href="http://www.example.com/es-mx/page2"
                     />
          <xhtml:link 
                     rel="alternate"
                     hreflang="de"
                     href="http://www.example.com/es-mx/page3"
                     />
      </url>
    </urlset>

    Please provide your valid suggestions..!
    Last edited by Mittineague; Dec 26, 2013 at 18:22. Reason: reformatting bbcode tags

  2. #2
    Non-Member
    Join Date
    Dec 2013
    Location
    Chennai
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is anyone here to help me on this?? I need immediate suggestion! Kindly post a reply!

  3. #3
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,260
    Mentioned
    196 Post(s)
    Tagged
    2 Thread(s)
    Hi Dori Kutty, welcome to the forums and Happy Holidays

    First thing I notice is hreflang="de"
    de is German not Spanish no?

    Other that that it looks close to what I see at GWT and GWCB
    https://support.google.com/webmaster..._topic=2370587
    http://googlewebmastercentral.blogsp...onal-site.html

    What's puzzling is that those don't show examples for pages, but folders.

  4. #4
    Non-Member
    Join Date
    Dec 2013
    Location
    Chennai
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, that is what my problem is! How do I make index for my inner pages (around 800+ pages)? Please do suggest me the right way to create this sitemap file!

    Quote Originally Posted by Mittineague View Post
    Hi Dori Kutty, welcome to the forums and Happy Holidays

    What's puzzling is that those don't show examples for pages, but folders.

  5. #5
    Life is not a malfunction gold trophysilver trophybronze trophy
    TechnoBear's Avatar
    Join Date
    Jun 2011
    Location
    Argyll, Scotland
    Posts
    6,422
    Mentioned
    273 Post(s)
    Tagged
    5 Thread(s)
    Quote Originally Posted by Mittineague View Post
    What's puzzling is that those don't show examples for pages, but folders.
    The examples don't seem to be very clear, but your first link:
    https://support.google.com/webmaster..._topic=2370587
    says this, at the foot of the page:
    You must create a separate url element for each URL. Each url element must include a loc tag indicating the page URLs, and an xhtml:link rel="alternate" hreflang="XX" subelement for every alternate version of the page, including itself.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •