SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can any one explain what are Web definition and webtemplate and site defintion and site template in sharepoint 2010

Regards, Suresh Pydi

share|improve this question

Site Definitions

  • A site definition is the core definition of what a site is in SharePoint.
  • A site definition is installed on file system of web front ends, located at ..\12\Template\SiteTemplates. This directory is language-neutral.
  • A site definition consists of .aspx pages and .xml files with Collaborative Application Mark-up Language (CAML).
  • A major benefit is that the Page and List definition is read locally from the file system, not from Content Database.

Site Template

  • A site template (*.stp file) is created through the user interface or through implementation of the object model.

  • The site template package is a package containing a set of differences and changes from a base site definition.

  • The site template package is stored as a CAB-based file that can be downloaded or uploaded to site collections by users with the appropriate rights.

For more details you can check these link out Site Definition Vs Site tempalte

share|improve this answer

WebTemplates and Site Definitions

Deciding Between Custom Web Templates and Custom Site Definitions

Site Definitions vs. Web Templates

A site definition is the basic blueprint for a site, including how it looks, what lists it contains, default navigational structures, and so on. You normally create a site definition by hand-editing CAML.

A site template can be created from within the Sharepoint application, and is basically a "diff" between the site definition and any changes made since the site was created. A site template is based on the underlying site definition, which means that if you create a new site from a template, and later change the underlying site definition, you run the very real risk of irreversibly screwing up your site.

A best practice is to configure a minimal site definition that, once created, is never modified again, and use site templates to store reusable customizations.

Above taken from here:

Site Features vs Site Templates vs Site Definitions

I hope this helps!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.