Home > MOSS, MS SharePoint Sever > Uploading a Site Template in MOSS 2007

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.

  1. Ting Fong
    March 13, 2007 at 4:07 am

    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?

  2. March 14, 2007 at 7:08 pm

    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:


    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….


  3. Johannes
    January 30, 2008 at 10:43 am


    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?


  4. Ino
    September 1, 2008 at 4:08 am


    I just want to ask, is it possible to add a template on a web application? If so, how?



  5. Angel
    May 13, 2010 at 9:20 pm

    thanks a lot of, work very well. this tutorial is fine

  6. GregK
    July 12, 2010 at 8:07 am

    You had really helped me. Thanks 🙂

  7. August 12, 2011 at 3:01 pm

    We are running SP 2007. We are experiencing an issue where we cannot see .stp templates display in the “Select a Template > Custom” tab when we try to create a new site. We can clearly see the uploaded .stp template as an available file in the Template Gallery. Why can’t we see the template in the Custom tab? Has a setting on the server been inadvertently turned off? I am logged in as a user w/ admin rights and I uploaded the template @ the root of the site collection. Not sure what else to do. Please help!

  8. August 18, 2011 at 5:24 am

    Under “Look and Feel” in “Site Settings” click “Page Layout and Site Template Settings”……….here you can enable or disable usage of a Site Template by users………

  1. January 9, 2010 at 6:17 am
  2. January 9, 2010 at 7:41 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: