CREATING GOOGLE WEBMASTER SITEMAP IN XML FORMAT
If you have already opened the sitemap-1.xml then view source of the same for better understanding !
1) Open any text editor programs like Notepad
2) Add starting two lines as
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3) Add <url><loc> in next line.
4) Add one complete link (with http:// or https:// as the case may be).
5) Add </loc></url> in next line.
6) Repeat step 3 to 5 for each link.
8) Add </urlset> in the last line
9) Click on "File" and choose "Save As.."
10) Give "File Name" as you wish, preferably sitemap.xml (remember to give file extension as .xml)
11) Save the file on Desktop.
12) Upload the file into the root folder of your server (www or public_html).
This simple xml file should do what you want, that is adding your web pages to Google but if you want more control then you can use optional tags like
<lastmod>
<changefreq>
<priority>
Also remember that the xml format complies with standard sitemap format (read sitemap protocol) and hence can be used with various search Engine crawlers like Bing, Yahoo etc.
For more details please go through
www.sitemaps.org/protocol.html and
http://support.google.com/webmasters/bin/answer.py?hl=en&answer=183668
While it is easier and recommended using any online sitemap generator, but still its good to know how to generate sitemap manually. I am using the optional tags also and you can view the sitemap for jahajee.com at www.jahajee.com/sitemap.xml
-
YOU MAY ALSO LIKE
- How Google Webmaster Sitemap can help your Website ?
