Hot answers tagged site-collection
4
In one web application, can we create multiple root site collections ?
No, only one 'root' can exist, if you mean at the root of the URL i.e. http://domain.com/. You can create many more at http://domain.com/path/site1, http://domain.com/path/site2, etc. I just wanted to clarify the use of the word 'root'
2
First of all you will create a web application with URL looking like this, (HostName as referenced by yourself)
portal.companyName.com //we call it host header, this URL looks like a intranet
www.companyName.com //if its going to be a public site
Then you create Managed paths, which you referenced as Drop Down List in your question.
I just found this ...
2
Yes,
You can have three different site collections based on three different templates. It doesn't matter if they are based on custom templates or not.
In a web application you can create
750,000 (500,000 Personal Sites and 250,000 other sites per farm)
The maximum recommended number of site collections per farm is 500,000
Personal Sites plus ...
1
A Site considerably different from a Site Collection in that a site is simply a child web of the site collection whereas the Site Collection is the top level data container. Only deleted sites appear in the recycle bin because the recycle bin itself is contained in the Site Collection. If you delete the Site Collection, you are deleting the recycle bin as ...
1
I finally solved my issue with the following code in a Feature in the activate method.
SPSite site = properties.Feature.Parent as SPSite;
SPWeb web = site.RootWeb;
try
{
using (SPLimitedWebPartManager manager = web.GetLimitedWebPartManager("person.aspx", PersonalizationScope.Shared))
{
......
......
manager.AddWebPart(new ...
Only top voted, non community-wiki answers of a minimum length are eligible
