Mobile app version of vmapp.org
Login or Join
Steve110

: Trying to create my first sitemap I'm inserting a website map for the first time. I found this page: http://www.sitemaps.org/protocol.html That page shows examples about sitemaps with xml, should

@Steve110

Posted in: #Html #Sitemap #XmlSitemap

I'm inserting a website map for the first time. I found this page:
www.sitemaps.org/protocol.html

That page shows examples about sitemaps with xml, should I insert and xml code in my html? any advice for my first sitemap?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Steve110

2 Comments

Sorted by latest first Latest Oldest Best

 

@Shelley277

This is a sitemap intended for web-crawlers. It is not inserted in any page but left as a separate XML file on your server. By the way, there is also a text version of this which is simply one absolute URL per line in a text-file. It does not have any metadata though.

For it to be found, you simply add a line identifying the file from your robots.txt. This will let any crawler find it. Google also accept a manual sitemap submission through their Webmaster Tools. Both methods are explained by Google here.

10% popularity Vote Up Vote Down


 

@Connie744

The Sitemap is an external file. There is no code to insert in your HTML pages.

The sitemap aims to list all urls of your website in order to help search engines to index them. If your website doesn't have a lot of pages or if Google indexes your web pages correctly, I wouldn't recommend you to spend too much time on it.

Google explains how to manually create a Sitemap: support.google.com/webmasters/bin/answer.py?hl=en&answer=34657
Once the xml file uploaded, you will need to submit it to Google: support.google.com/webmasters/bin/answer.py?hl=en&answer=156184
You can also declare the URL of your sitemap in your robots.txt file: www.sitemaps.org/protocol.html#submit_robots

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme