Ajax software
Free javascripts
↑
Main Page
Figure 16-10
Sitemap Generator Plugin
The Sitemap Generator plugin does exactly what its name implies — it generates a sitemap for your
blog as shown in Figure 16-11. See the official sitemap demo page at
http://www.dagondesign.com/
sitemap/
. To install this plugin:
1.
Go to
http://www.dagondesign.com/articles/sitemap-generator-plugin-for-word-
press/
. Download
dd-sitemap-gen.txt
from the main page, and save it as
dd-sitemap-
gen.php
to your
/blog/wp-content/plugins
folder.
2.
If you now load the Plugins section in the admin page, you’ll see the new entry named Dagon
Design Sitemap Generator. Click Activate to activate the plugin.
3.
After activating the plugin, go to Options
?
DDSitemapGen to configure the sitemap generator.
Set a permalink,
sitemap
, for the sitemap. Next, set “Items per page” to 0 so all items are on
one page. After you select your options, don’t forget to click the Update button.
4.
To add the sitemap to your blog, navigate to the Write
?
Write Page section to create a new
page for it. Set the page title to the value “Sitemap.” Add
<!-- ddsitemapgen -->
as shown
in Figure 16-12. (Note that when editing the page, the markup will not show up because it is an
HTML comment. To edit the markup or an existing page, you must edit the page in HTML
mode by clicking the HTML button of the editor.)
5.
Visit the Sitemap page of your blog to see your new sitemap in action — see Figure 16-13.
299
Chapter 16: : Creating an SE-Friendly Blog
c16.qxd:c16 11:04 299
Ajax software
Free javascripts
→