2

Our intranet was originally setup to be at the root of its site collection. We are trying to change this so that our new internet site will live in the root and the intranet will be a sub-site.

At this point I have created a new web application and site collection to house the internet and intranet. I used the 'stsadm -o backup' command to create a backup of our current intranet. I then ran the 'stsadm -o restore' command to restore the intranet site collection to wss/sites/intranet. This seems to have worked as I am able to access the intranet from this location.

The issue I now seem to have is that images, sub-sites, etc. are all making reference as if the intranet is still the root site. So for example a link to a sub-site is pointing to wss/department/technology/default.aspx and it needs to point to wss/sites/intranet/department/technology/default.aspx.

I am looking for help and/or clarification on two things: 1. Am I approaching the migration of a root site collection to a sub-site the best way? 2. How would I go about updating the link references so that they are based on the intranet now being a sub-site instead of the root site?

3 Answers3

1

I think you need to use STSADM Import/Export instead of BackUp/Restore or better to use some third party tools. I am still not clear about how can you back up a site collection and restore it as a subsite ? It would be possible if you restore it as another site collection. BackUp/Restore doesnt update the GUIDs and the references, it just creates the exact dump of the contents, so try to use Export/Import and Import it as another site collection.

Dhaval
  • 11
0

You can move a site between site collections using stsadm -o export to dump the site, then stsadm -o import to import into your new site collection - this is applicable to the root site as any other site.

You can then use Sharepoint URL Redirector to redirect traffic to the new URL.

dunxd
  • 9,874
0

Could you share a little more information on why you are wanting to subordinate the existing root site collection to a new site collection in its place? Internet and Intranet sites typically have different audiences, and putting content in a place where authenticated and unauthenticated users will both have access is asking for accidental information disclosure as I have yet to see a SharePoint installation where people didn't screw up permissions and inheritance. Also, as you are finding, you are going to have to (manually) update a ton of links.

I would think the process would be much easier using alternate access mappings, separate web applications, and links than it would be to move the whole site collection.

intranet.domain.com --> existing web app and site collection
internet.domain.com --> new web app and separate root site collection. (you can provide a link to the intranet from the internet site if needed for some reason)

Sean Earp
  • 7,267