You're browsing: KeithJamesLock.com » Blogging, Make Money Online, Online Business » Blog article: Manually Creating Sitemap Files
Bookmark and Share

Manually Creating Sitemap Files

I have some static sites where I choose to manually create sitemap files. Here's how I do it...

First, I create a text file (I use TextPad but pretty much any basic text editor should do the trick).. and I save the file as "sitemap.xml". In sitemap.xml I have lines of code such as:


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

http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">

<url>
<loc>http://domain.com/</loc>
<changefreq>monthly</changefreq>
</url>
<url>
<loc>http://domain.com/category1/article1/</loc>
<changefreq>monthly</changefreq>
</url>
<url>
<loc>http://domain.com/category1/article2/</loc>
<changefreq>monthly</changefreq>
</url>

</urlset>

Just keep adding 'url' blocks like shown above for each and every page on the site.

Next I compress the file into a file called "sitemap.xml.gz". I use this 7-zip tool to create the gz file. After installing 7-zip it created an option in my context menu (right-click menu) on my Windows Vista machine. So, I right-click the original "sitemap.xml" file, click "7-zip", then click "Add to archive...".

Then I choose "GZip" as the "Archive format" and make sure "Add and replace files" is selected under "Update mode:" which I believe it is by default. Then I click "OK" and it will create (or overwrite) the gz file.

Now.. it doesn't hurt to create a "urllist.txt" file as well, which is simply the list of URLs on your site, kinda like this (but without the extra line break):

http://domain.com/

http://domain.com/category1/article1/

http://domain.com/category1/article2/

...and so on

Now.. upload the files to the root of your site. You can now submit the xml sitemap to Google Webmaster Tools if you want. You can then wait for the other engines to pick up whichever file they need... or better yet, use Traffic-Bug to tell all 130+ search engines right now where your site is and they will look at the appropriate sitemap file for indexing.

Related posts:

  1. Creating PDF Files Containing Hyperlinks with Free Software
  2. Creating Unique Videos & Using Them to Bring Traffic Directly to an Affiliate Offer
  3. Creating Affiliate Marketing Websites The Easy Way
  4. Advanced Domain Name Basics
  5. Creating Partnerships With Non-Marketers

Bookmark and Share

© Earn a living online in your pj's

Share this post:
http://keithjameslock.com/wp-content/plugins/sociofluid/images/digg_48.png http://keithjameslock.com/wp-content/plugins/sociofluid/images/reddit_48.png http://keithjameslock.com/wp-content/plugins/sociofluid/images/stumbleupon_48.png http://keithjameslock.com/wp-content/plugins/sociofluid/images/delicious_48.png http://keithjameslock.com/wp-content/plugins/sociofluid/images/technorati_48.png http://keithjameslock.com/wp-content/plugins/sociofluid/images/google_48.png http://keithjameslock.com/wp-content/plugins/sociofluid/images/myspace_48.png http://keithjameslock.com/wp-content/plugins/sociofluid/images/facebook_48.png http://keithjameslock.com/wp-content/plugins/sociofluid/images/yahoobuzz_48.png http://keithjameslock.com/wp-content/plugins/sociofluid/images/sphinn_48.png http://keithjameslock.com/wp-content/plugins/sociofluid/images/mixx_48.png

If you enjoyed this post, make sure you subscribe to my RSS feed!

, , ,

 

Enter your first name and email address below to receive exclusive money making tips.
First Name:
Your Email:
Spam protection; double opt-in:
Using AWeber Autoresponder
 


$1.99/mo Web Site Hosting Sale at GoDaddy.com!

Leave a Reply