"Save site as template" option and the publishing feature
A common question I receive is the following:
I have tried to save my site as a template using "Site Action" - "Save site as template" but this option is not available as soon as I enable the publishing feature. After some tries I managed to save the site as a template my adding "_layouts/savetmpl.aspx" behind the site URL. But after creating a site based on this template the new site does not behave correct. How can I fix this?
Unfortunatelly the answer for this question is: saving publishing enabled sites as a template is not supported and it does not work. You cannot use this option to create new sites. Instead you should create site definitions (..\web server extensions\12\template\SiteTemplates) and provision the new site based on such a site definition.
Update April 24th, 2008: The same statement applies if you save the template from SharePoint Designer. Also not supported.