Sitemaps

| | Comments (0) | TrackBacks (0)
Here's a quick way to create a sitemap in movable type (should work for 3.x, I've got it here on 4).

Create a new index template, save it as sitemap.xml (other names can work fine too if you want), then paste in the following:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
<url>
<loc><$MTBlogURL encode_xml="1"$></loc>
<priority>1.0</priority>
</url>
<MTEntries lastn="9999">
<url>
<loc><$MTEntryPermalink encode_xml="1"$></loc>
<lastmod><$MTEntryModifiedDate utc="1" format="%Y-%m-%dT%H:%M:%SZ"$></lastmod>
</url>
</MTEntries>
</urlset>

If you have any other specific pages you want to add, you can just put in an explicit <url> record, with a priority from 0 to 1.0, one receiving the most attention.  You can also add a changefreq [daily|weekly|monthly]
to help crawlers know when to look.

When you have that in place, go to the google webmaster tools to submit your sitemap, and add your rss feed while you're at it.

Categories

0 TrackBacks

Listed below are links to blogs that reference this entry: Sitemaps.

TrackBack URL for this entry: http://halls.lug-nut.com/cgi-bin/mt/mt-tb.cgi/1191

Leave a comment

About this Entry

This page contains a single entry by Jayce^ published on July 29, 2007 12:06 AM.

Perl Survey was the previous entry in this blog.

Come See My Presentation is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Technorati

Technorati search

» Blogs that link here

February 2008

Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29  
Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by Movable Type 4.01