SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

Is there a good link that can show how to add a sub-site under the existing site collection based on "Team Site" (STS#0) Template? (the sitecollection url is http://local/sites/Amtrack). The url for sub site is going to be then http://local/sites/Amtrack/newSubsite

share|improve this question
up vote 1 down vote accepted

This link has a good code example for creating a site from a Site Definition:

share|improve this answer
Thanks. I was on the same page. I guess, I will feature with receiver and kick start the code on feature activation. – Bob Dinero Oct 12 '10 at 18:36

Your Answer


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