sub site

Custom Site Definition for Creating Sub Site

Suppose you create a Custom Site Definition.  Now when the user creates an instance of this you also want to create a SubSite (from a different Site Definition) in the current site. Below is the solution to achieve this. The way to do this is through the publishing assemblies in the webtemp file of your Custom Site Definition for Creating Sub Site