Uploading a Site Template in MOSS 2007
1. Download the site template EXE file to your computer.
2. Run the EXE file to unpack the template file to a location on your computer.
3. Select the template file, <template_name>.stp, from the extracted distribution for the application template you wish to install.
4. Log into your SharePoint site as the site Administrator.
5. From the Site Actions drop-down menu in the top right, select Site Settings.
6. Under the Galleries section, select Site templates.
7. Select Upload to load an application template into this SharePoint site.
8. Browse to the <template_name>.stp file from the distribution and select Open. If you have several application templates to load into your site, you can use the Upload Multiple Files… option to load them all at once.
9. Click Ok to complete the upload of the application template to your SharePoint site.
Applying the new Site Template:
1. Log into your SharePoint site as the site Administrator.
2. From the Site Actions drop-down menu in the top right, select Site Settings.
3. Under the Site Administration section, select Sites and Workspaces.
4. Select Create to create a new site using a site template.
5. Complete the new SharePoint site information. In the Template Selection section, select the Custom tab. Any application templates that have been uploaded will be listed here.
6. Select the template to use for this site and click Create.
7. A site has now been created using the application template.




Hi, I have a sub site in my development server of which I would like to make it a Top Level Site in my production Server.
Can I make use of the .stp file to migrate the Sub Site to the Top Level Site?
I tried to save the Sub Site as a .stp file and upload it to the Site Template Gallery of my Central Admin Site. And I tried to Create a New Web Application and Create a Site Collection based on the Site Template.
It throw me errors.
Do you have any idea on this?
Hi Ting,
Thanx for ur message…
You are correct, the template story of SharePoint is a little complicated….and specially when it comes to subsites.
Here is a workaround…
use backup and restore…
make a site in ur production server at the top level…but when the time comes to apply a template to it….dont do it jus stop there!…do not select any template teamsite, blank, doc workspace etc. leave that screen as it is…
Now go to front page and open ur site that is to be transferred. Then go to Tools>Server>Backup Website option….click ok to backup ur site. A backup of ur site is created.
close the current opened site or close front page…
Open the site using front page that we just created in production at the first step (with no template applied to it yet)………….(Were u saying: “but its not created yet”, trust me it will open
and it is created already)…URL should look like this:
http://pk-lhr-rehman:8088/sites/NewSiteInProd
After the site is opened, go to the Tools menu, select Server, select Restore Web Site, select the file that was created as a backup file and click open…and OK on the msg.
Your site will be saved to the production…
go to the site we were creating in production, where template page is still displayed, select any template, click OK, an error msg occurs, IGNORE IT…
Ur site is ready in Production…
Hope it helps….
bye
Hi,
i’ve build my application in vs 2005 and uploaded the .stp to site templates gallery.
When i want to create a new site, it’s not listed under custom (or in another tab, too).
But when i save a site collection as .stp and upload it, i can select it and create a new site of it.
Can you figure out what went wrong?
Johannes
Hi,
I just want to ask, is it possible to add a template on a web application? If so, how?
Thanks,
/Ino