• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 299
  • Last Modified:

Move SharePoint Sub-sites

I would like to move 3 sub-sites from one site to another site.
Site A/Knowledge Management
Site A/Human Resources
Site A/Information Management

The above subsites need to be moved to another site called "Site B".

Also, once the sub-sites are moved, I would like there to be a redirect to new locations if
a user accidentally browses to the old sub-sites.

Is this possible?

Thanks!
0
Isaac
Asked:
Isaac
  • 5
  • 4
  • 2
  • +1
2 Solutions
 
Justin SmithSr. System EngineerCommented:
You didn't specify, so I"m assuming SharePoint 2007.

You need to export and import the sites.  Sites on the new destination must already exist and they must be the same site template as the source sites.

Export: http://technet.microsoft.com/en-us/library/cc262759(office.12).aspx 
Import: http://technet.microsoft.com/en-us/library/cc261866(office.12).aspx 

0
 
62277Commented:
If this is 2007:

you can also move them under
Site Actions
Manage Content and Structure
Check Box Your site
Actions
Move

as far as redirecting them just change the path on your navigation to the new url..because it will automatically change when you move them..
0
 
Justin SmithSr. System EngineerCommented:
http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=48

Skip down to the "Redirect Deep URL's" section in this helpful post.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
IsaacSharePoint Client Side DeveloperAuthor Commented:
I am using SharePoint 2007.

62277, I tried what you said before I posted my question here, I just could not get the redirect working.
Not sure what you mean here...
"as far as redirecting them just change the path on your navigation to the new url..because it will automatically change when you move them.. "
0
 
Justin SmithSr. System EngineerCommented:
I'm under the impression that 62277's solution only works when moving within the same site collection.

Don't you want to move between site collections?
0
 
IsaacSharePoint Client Side DeveloperAuthor Commented:
ACH1LLES,
I'm actually within the same site collection.
0
 
IsaacSharePoint Client Side DeveloperAuthor Commented:
sorry for not clarifying.
0
 
Justin SmithSr. System EngineerCommented:
Did you try the redirect options in the blog I posted?  Did the content manager work for moving?  You can still use my method for moving.
0
 
Ted BouskillSenior Software DeveloperCommented:
There are actually two questions here (related) but two questions which is making the thread hard to read and isn't fair to the experts because we get less points!

Anyway, in 2007 the easiest choice to move the sites is:

1) Save the site as a site template using 'Site Actions'
2) Create the site using the site template in the new location
3) Delete the site template
0
 
Justin SmithSr. System EngineerCommented:
Ted Are there size restrictions with that method?
0
 
IsaacSharePoint Client Side DeveloperAuthor Commented:
ACH1LLES,

No I did not for two reasons,
1) According to the site, "it breaks your users' Back Button in their browsers."
2) Even though it's being moved to another site, when a user clicks on a link that drills down to a subsite, it must take them to the equivalent place in the new site and not the home page all the time.
The solution I came up with is below and your site helped me with that, but I'm a little hesitant and I will explain why below.

I will place this in a CEWP and place it in all sites and subsites that need it.
<script type=”text/JavaScript”>
var pathName = window.location.pathname; //pathName value: https://myServerDomain/mySite/oldsubsite/Default.aspx
var newPathName = pathName.replace(“oldsubsite”, “newsubsite”);
alert(“Please take note of the new location.  You are now under knowledge Management structure.”);
window.location.replace(newPathName); //newPathName value: https://myServerDomain/mySite/newsubsite/Default.aspx
</script>
This works well b/c even if a user clicks on a link in their 'Favorites' that's a subsite of a subsite, it will redirect them to the equivalent site in the new location.

I will follow 62277's guidance but instead of a 'Move', I will 'Copy'. Therefore there will be two sites that are the same that will exist in SP.  

This does not seem to be best practice and that's why I have not implemented it.  I came back to EE b/c I was thinking maybe some one will come up with a better solution.

What do you guys think of this?
0
 
Ted BouskillSenior Software DeveloperCommented:
@ACH1LLES: There might be a size restriction but we never hit it, even with fairly large sites.
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 5
  • 4
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now