Sitemaps made easy with CakePHP 1.2
Sitemaps are an essential aspect of most websites whether its just for SEO or simply to assist with user site navigation. CakePHP 1.2 makes sitemaps a breeze to create and what makes it even better is that CakePHP can generate portions of your sitemap automatically.
The Mental Ramblings site has an excellent article on how to set this up under CakePHP. If you follow this article you will easily create an XML formatted sitemap and optionally a user specific sitemap for your site. Static pages are the only links you will need to add manually, the rest for example posts can be generated automatically.
In terms of SEO the search engines, at the time of writing, that can make use of sitemaps are google and yahoo. With google having around a 60% search engine market share and yahoo around 21% it makes some form of sitemap worth while implementing.
A couple of things to note about google sitemaps, firstly the page importance number, google explains it as follows:Show Plain Text
- The relative importance of pages on your site. For example, your home page might have a relative importance of 1.0, category pages have an importance of 0.8, and individual blog entries or product pages have an importance of 0.5. This priority only indicates the importance of a particular URL relative to other URLs on your site, and doesn't impact the ranking of your pages in search results.
The second thing to remember is to make sure your site links use the same relative path that has been set as your prefered path under your google webmasters. For example say you have set your preferred path as wiltonsoftware.com rather than www.wiltonsofware.com, then all site links should be relative to the path wiltonsoftware.com