{"id":761,"date":"2011-10-23T11:51:00","date_gmt":"2011-10-23T18:51:00","guid":{"rendered":"http:\/\/blog.brainlitter.com\/2011\/10\/23\/how-to-move-a-site-collection-to-a-different-managed-path\/"},"modified":"2011-10-23T11:51:00","modified_gmt":"2011-10-23T18:51:00","slug":"how-to-move-a-site-collection-to-a-different-managed-path","status":"publish","type":"post","link":"https:\/\/regroove.ca\/brainlitter\/2011\/10\/23\/how-to-move-a-site-collection-to-a-different-managed-path\/","title":{"rendered":"How to move a site collection to a different managed path"},"content":{"rendered":"<p>I pulled this from the old OneNote archives the other day and figured I\u2019d share it with anyone that might need to do the same.<\/p>\n<h2>The Challenge<\/h2>\n<p>A customer had us upgrade them to SharePoint 2010.&#160; However, they didn\u2019t like that their site collection was at <a href=\"http:\/\/go.somewhere.com\/sites\/department\">http:\/\/go.somewhere.com\/sites\/department<\/a> and instead wanted a dedicated managed path (explicit inclusion to \u201c\/\u201d) of <a href=\"http:\/\/go.somewhere.com\/department\">http:\/\/go.somewhere.com\/department<\/a>.<\/p>\n<h2>The Approach<\/h2>\n<p>First off, we did the database attach migration as we always would. Let\u2019s get the database and content into SharePoint 2010 first and ensure it is healthy, before we start shaking things up.<\/p>\n<p>Next, it was time to do the following:<\/p>\n<ol>\n<li>Create the Managed Path for the Web Application of \/department (I\u2019m not covering that here, that is discussed all over the Interweb, <a href=\"http:\/\/www.lmgtfy.com\/?q=Managed+Path+in+Sharepoint+2010+Direct+SharePoint\" target=\"_blank\" rel=\"noopener noreferrer\">here\u2019s one via a quick Google<\/a>)<\/li>\n<li>Then perform the following:<\/li>\n<\/ol>\n<h4>Backup site collection<\/h4>\n<div id=\"codeSnippetWrapper\">\n<div id=\"codeSnippet\">\n<pre><span style=\"color: #606060\" id=\"lnum1\">   1:<\/span> stsadm -o backup -url http:\/\/go.somewhere.com\/sites\/department -filename c:tempdepartmentcollectionbackup<\/pre>\n<p><!--CRLF--><\/div>\n<\/div>\n<h4>Delete site collection<\/h4>\n<div id=\"codeSnippetWrapper\">\n<div id=\"codeSnippet\">\n<pre><span style=\"color: #606060\" id=\"lnum1\">   1:<\/span> stsadm -o deletesite -url http:\/\/go.somewhere.com\/sites\/department<\/pre>\n<p><!--CRLF--><\/div>\n<\/div>\n<h4>Restore site collection to your new managed path<\/h4>\n<div id=\"codeSnippetWrapper\">\n<div id=\"codeSnippet\">\n<pre><span style=\"color: #606060\" id=\"lnum1\">   1:<\/span> stsadm -o restore -url http:\/\/go.somewhere.com\/department -filename c:tempdepartmentcollectionbackup<\/pre>\n<p><!--CRLF--><\/div>\n<\/div>\n<p>&#160;<\/p>\n<p>I\u2019m too lazy to update this today with a PowerShell equivalent but this gets the job done.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I pulled this from the old OneNote archives the other day and figured I\u2019d share it with anyone that might need to do the same. The Challenge A customer had us upgrade them to SharePoint 2010.&#160; However, they didn\u2019t like that their site collection was at http:\/\/go.somewhere.com\/sites\/department and instead wanted a dedicated managed path (explicit &hellip; <a href=\"https:\/\/regroove.ca\/brainlitter\/2011\/10\/23\/how-to-move-a-site-collection-to-a-different-managed-path\/\"><\/a><\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false},"categories":[399,334,453,450],"tags":[452,454],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to move a site collection to a different managed path - Brainlitter - Inside the mind of Sean Wallbridge<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/regroove.ca\/brainlitter\/2011\/10\/23\/how-to-move-a-site-collection-to-a-different-managed-path\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to move a site collection to a different managed path - Brainlitter - Inside the mind of Sean Wallbridge\" \/>\n<meta property=\"og:description\" content=\"I pulled this from the old OneNote archives the other day and figured I\u2019d share it with anyone that might need to do the same. The Challenge A customer had us upgrade them to SharePoint 2010.&#160; However, they didn\u2019t like that their site collection was at http:\/\/go.somewhere.com\/sites\/department and instead wanted a dedicated managed path (explicit &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/regroove.ca\/brainlitter\/2011\/10\/23\/how-to-move-a-site-collection-to-a-different-managed-path\/\" \/>\n<meta property=\"og:site_name\" content=\"Brainlitter - Inside the mind of Sean Wallbridge\" \/>\n<meta property=\"article:published_time\" content=\"2011-10-23T18:51:00+00:00\" \/>\n<meta name=\"author\" content=\"Sean Wallbridge\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sean Wallbridge\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/2011\/10\/23\/how-to-move-a-site-collection-to-a-different-managed-path\/\",\"url\":\"https:\/\/regroove.ca\/brainlitter\/2011\/10\/23\/how-to-move-a-site-collection-to-a-different-managed-path\/\",\"name\":\"How to move a site collection to a different managed path - Brainlitter - Inside the mind of Sean Wallbridge\",\"isPartOf\":{\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#website\"},\"datePublished\":\"2011-10-23T18:51:00+00:00\",\"dateModified\":\"2011-10-23T18:51:00+00:00\",\"author\":{\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77\"},\"breadcrumb\":{\"@id\":\"https:\/\/regroove.ca\/brainlitter\/2011\/10\/23\/how-to-move-a-site-collection-to-a-different-managed-path\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/regroove.ca\/brainlitter\/2011\/10\/23\/how-to-move-a-site-collection-to-a-different-managed-path\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/2011\/10\/23\/how-to-move-a-site-collection-to-a-different-managed-path\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Brainlitter\",\"item\":\"https:\/\/regroove.ca\/brainlitter\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to move a site collection to a different managed path\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#website\",\"url\":\"https:\/\/regroove.ca\/brainlitter\/\",\"name\":\"Brainlitter - Inside the mind of Sean Wallbridge\",\"description\":\"Dad. Husband. Drummer. Learner of Things.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/regroove.ca\/brainlitter\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77\",\"name\":\"Sean Wallbridge\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g\",\"caption\":\"Sean Wallbridge\"},\"url\":\"https:\/\/regroove.ca\/brainlitter\/author\/swallbridge\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to move a site collection to a different managed path - Brainlitter - Inside the mind of Sean Wallbridge","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/regroove.ca\/brainlitter\/2011\/10\/23\/how-to-move-a-site-collection-to-a-different-managed-path\/","og_locale":"en_US","og_type":"article","og_title":"How to move a site collection to a different managed path - Brainlitter - Inside the mind of Sean Wallbridge","og_description":"I pulled this from the old OneNote archives the other day and figured I\u2019d share it with anyone that might need to do the same. The Challenge A customer had us upgrade them to SharePoint 2010.&#160; However, they didn\u2019t like that their site collection was at http:\/\/go.somewhere.com\/sites\/department and instead wanted a dedicated managed path (explicit &hellip;","og_url":"https:\/\/regroove.ca\/brainlitter\/2011\/10\/23\/how-to-move-a-site-collection-to-a-different-managed-path\/","og_site_name":"Brainlitter - Inside the mind of Sean Wallbridge","article_published_time":"2011-10-23T18:51:00+00:00","author":"Sean Wallbridge","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Sean Wallbridge","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/regroove.ca\/brainlitter\/2011\/10\/23\/how-to-move-a-site-collection-to-a-different-managed-path\/","url":"https:\/\/regroove.ca\/brainlitter\/2011\/10\/23\/how-to-move-a-site-collection-to-a-different-managed-path\/","name":"How to move a site collection to a different managed path - Brainlitter - Inside the mind of Sean Wallbridge","isPartOf":{"@id":"https:\/\/regroove.ca\/brainlitter\/#website"},"datePublished":"2011-10-23T18:51:00+00:00","dateModified":"2011-10-23T18:51:00+00:00","author":{"@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77"},"breadcrumb":{"@id":"https:\/\/regroove.ca\/brainlitter\/2011\/10\/23\/how-to-move-a-site-collection-to-a-different-managed-path\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/regroove.ca\/brainlitter\/2011\/10\/23\/how-to-move-a-site-collection-to-a-different-managed-path\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/regroove.ca\/brainlitter\/2011\/10\/23\/how-to-move-a-site-collection-to-a-different-managed-path\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Brainlitter","item":"https:\/\/regroove.ca\/brainlitter\/"},{"@type":"ListItem","position":2,"name":"How to move a site collection to a different managed path"}]},{"@type":"WebSite","@id":"https:\/\/regroove.ca\/brainlitter\/#website","url":"https:\/\/regroove.ca\/brainlitter\/","name":"Brainlitter - Inside the mind of Sean Wallbridge","description":"Dad. Husband. Drummer. Learner of Things.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/regroove.ca\/brainlitter\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77","name":"Sean Wallbridge","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g","caption":"Sean Wallbridge"},"url":"https:\/\/regroove.ca\/brainlitter\/author\/swallbridge\/"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts\/761"}],"collection":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/comments?post=761"}],"version-history":[{"count":0,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts\/761\/revisions"}],"wp:attachment":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/media?parent=761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/categories?post=761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/tags?post=761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}