Search Engine Sitemaps

by: Jacob Khan

Another module has been added to our Open Source initiative. Search Engine Sitemaps is the old EPiGoogleSitemaps but now you can make your own changes that fits your needs. The project can be found on epicode.

This module makes it easy for search engines to index your site. An XML sitemap is generated showing what pages the site contains and when they last were changed. It also shows how important the page is and how often it is changed. The two latter are saved in the sitemap file depending on a property (dynamic or regular) put on each page.

If you decide to use a dynamic property this can have negative influences to your sites performance. But in this case you do not want to choose each page and set the property on that single page. The inheritance that comes with dynamic property makes the module easier to use.

Add a dynamic property to your site called SearchEngineSitemaps of type SearchEngineSitemaps.

There are 7 settings you can set for showing how often a page is changed.
searchenginesitemaps8

You can also set what priority the page has by choosing one of these

searchenginesitemaps2

When you set these values be sure to be honest. Don't set everything to High Priority and always changing unless it does change.

In the admin mode you can now test it by clicking testsearchenginesitemaps4

An index file is now generated showing where the sitemap file is. (for sites larges than 5000 pages several sitemap files are in the index.

searchenginesitemaps5

The end results.

searchenginesitemaps7

Dont forget to add the link to the sitemapindex file in the robots.txt as following:

Sitemap: http://labs.episerver.com/EPiGoogleSitemaps.SiteMapIndex.aspx

 

This module has only been tested with a site as large as world.episerver.com and since the sitemap is created on the fly performance on your site may suffer.

To download the module go to epicode

Best Regards

Jacob Khan

30 January 2009


Comments

  1. Excellent, thanks. I've done this with a EPiServer website lately, but will check this out next time!
  2. Hi I'm unable to download the source code from EpiCode. It says something about FILE_VIEW permissions.
  3. You need to register on the site to download source code
  4. You also need to make sure that file permissions are set up correctly on the folder where episerver is installed. Or else you'll get an access denied error when you click test and you can only see this error if you view the source of the page.
  5. Hi, If I install this module, is there any way I can uninstall this from Episerver?
  6. U can always just delete the files in the folder. bin, googlesitemaps.
  7. Hi. Nice initiative! I installed the module, created the dynamic property and activated it for all the pages. I am now trying to run ... http://localhost/SearchEngineSitemaps.SiteMapIndex.aspx ... from Epi-admin by clicking "Provkör", but the sitemap structure will not update. Nothing happens. Have I missed some basic stuff? :) :) :)
  8. Oh yes I had missed some basic stuff. Sorry. Now it works just fine. It would have been nice, though, if only pages with status "published" were fetched by the sitemap. Is there a update coming up or should i modify the project?
  9. Feel free to submit your code to coderesort. The published code you are right. Doesnt change anything for google as they still wont be able to crawl them if they are unpublished. They would render 404. Please add the code on coderesort.
  10. Hi, I get an popup with login to the epi when try the link to sitemap index. /Hamid
  11. Hi Hamid, the page should be public. Could u email me your site specifications and url. jacob at episerver dot com
  12. I try to test by clicking "Prov kör" Now the login problem is fixed but when I try to click on "Provkör" I don't see any registerid sites. I use dynamic property and have everyting is done by the book as is explained here. my sitemap looks like this when i try - - http://www.stromma.se/SearchEngineSitemaps.SiteMap.aspx?SiteMap_0_.xml 2009-10-29T15:28:34+01:00
  13. and the siteMap_0_.xml is like this
  14. I'm trying to set the default value for SearchEngineSitemaps in a pagetype, but there's only a textbox for enterint the default value. I want to set the default value for the pagetype to "Enabled", "Always", "0.5". What should I enter in the default value textbox?
  15. Hi, I have a problem with this getting work for my other sites in same epi. It works with first site but it ends for other sites.
  16. Does anyone has experience of using SearchEngineSitemaps in conjunction with PageTypeBuilder? I've integrated the SearchEngineSitemaps code into to my solution, and have added a property of type SearchEngineSitemaps to my base page type. If I build the solution and request a page, I get the error: "Unable to map the type for the property SearchEngineSitemaps in BasePage to a suitable EPiServer CMS property." In order to get rid of this error I have to remove the property from the page type, rebuild, load a page (no error this time), replace the property in the base page type, rebuild and reload - now there is no error and the property is available in Edit mode. I think it's something to do with PageTypeBuilder but I haven't figured it out yet.
Post a comment    
User verification Image for user verification  
Jacob Khan

About me

I am a researcher at EPiServer based in Stockholm. I started working in the Research department in May 2008.
I also blog on world.episerver.com
See my profile card on world

 

Syndications


Archive


Tag cloud

EPiTrace logger