Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!


Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 




From the folks who brought you High Rankings!

- - - - -

Xml Sitemaps - I See Two Types Of Urlsets, And I Don't Know Which

  • Please log in to reply
1 reply to this topic

#1 websitebeginner


    HR 1

  • Members
  • Pip
  • 8 posts

Posted 16 January 2011 - 02:01 PM


I've been studying how to write a sitemap. From studying the information at sitemaps.org, it looks like the very top of the code should be written like this:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

However, when I went to xml-sitemaps.com, their code wizard said the very top of the code should look like this:
<?xml version="1.0" encoding="UTF-8"?>

Which one is the correct one to use? (This is for a simple xml sitemap, not something fancy like joining two sitemaps together).

Thanks for any ideas.

#2 qwerty


    HR 10

  • Moderator
  • 8,695 posts
  • Location:Somerville, MA

Posted 16 January 2011 - 06:09 PM

I use the first example, but that's because the tool I use to generate the sitemap codes them that way. Whichever you choose, just make sure it's search engine friendly by submitting it in Webmaster Tools and checking to see if Google has issues with it.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

We are now a read-only forum.
No new posts or registrations allowed.