{"id":2531,"date":"2013-04-04T18:07:23","date_gmt":"2013-04-04T17:07:23","guid":{"rendered":"http:\/\/blogs.oucs.ox.ac.uk\/adamweblearn\/?p=2531"},"modified":"2013-04-30T12:50:29","modified_gmt":"2013-04-30T11:50:29","slug":"do-you-want-to-change-a-site-url","status":"publish","type":"post","link":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/2013\/04\/do-you-want-to-change-a-site-url\/","title":{"rendered":"Do you want to change a site URL?"},"content":{"rendered":"<p>The release of WebLearn version 2.8-ox5 has introduced a way to move a WebLearn site to a new URL and set up a redirection from the old site URL to the new location.<\/p>\n<p>This is very useful in the following situations:<\/p>\n<ol>\n<li>A department changes its name<\/li>\n<li>A department moves to a new division<\/li>\n<li>A site was given a poor URL in error which needs correcting<\/li>\n<\/ol>\n<p>The procedure for moving a single site is as follows:<\/p>\n<ol>\n<li>Go to the new location, use &#8220;Bring Site&#8221; to attach the site to be moved making sure to use the desired URL, (if you wish to move a parent site plus all its sub-sites then you must<a title=\"Email the WebLearn team\" href=\"mailto:weblearn@it.ox.ac.uk\"> contact the WebLearn team<\/a> who will do this for you). Make a note of the URL.<\/li>\n<li>Go to the old location and make a note of the site title and last component of URL of the site to be moved. For example, if you want to move the site <em>&#8230;.\/physics\/windscale\/<\/em> to <em>&#8230;.\/physics\/sellafield\/<\/em> then the last component is &#8216;<em>windscale<\/em>&#8216;.<\/li>\n<li>Use &#8220;Arrange Site&#8221; then &#8220;Remove Site&#8221; to detach the offending site from the hierarchy. Make sure you don&#8217;t opt to delete the site as well. After successful completion, you will be placed in the parent site.<\/li>\n<li>Click on &#8220;Arrange Site&#8221;;\u00a0 cast your eyes to the &#8220;Redirects&#8221; part of the page in order to set up the redirect.<br \/>\n<a href=\"http:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/files\/2013\/04\/redirect.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2533\" src=\"http:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/files\/2013\/04\/redirect.jpg\" alt=\"\" width=\"528\" height=\"202\" srcset=\"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/files\/2013\/04\/redirect.jpg 528w, https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/files\/2013\/04\/redirect-300x114.jpg 300w\" sizes=\"auto, (max-width: 528px) 100vw, 528px\" \/><\/a><\/p>\n<ul>\n<li><strong>Path<\/strong> &#8211; this is the last component of the URL of the now-removed site, in our example, this is &#8216;<em>windscale<\/em>&#8216;.<\/li>\n<li><strong>Title<\/strong> &#8211; this is the title of the redirect that will appear in the sub-sites menu. In most cases this will be the name of the site that was just deleted.<\/li>\n<li><strong>URL<\/strong> &#8211; this is the new URL of the site, i.e., the place where the user will be taken when they click on the site title. You can use a full URL or a relative path, in our example, this will end with &#8216;<em>sellafield<\/em>&#8216;<\/li>\n<li>Select <strong>Append Path<\/strong> if the site that has moved had sub-sites, the sub-sites have\u00a0 also been moved and you would like redirects to work for these sub-sites as well.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>To test that the redirect has worked, try entering the old URL into your browser, WebLearn should redirect you to the new location of the site.<\/p>\n<p>Try the same test with one or more URLs of sub-sites that have also moved.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The release of WebLearn version 2.8-ox5 has introduced a way to move a WebLearn site to a new URL and set up a redirection from the old site URL to the new location. This is very useful in the following &hellip; <a href=\"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/2013\/04\/do-you-want-to-change-a-site-url\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[90,105],"tags":[378],"class_list":["post-2531","post","type-post","status-publish","format-standard","hentry","category-sakai","category-weblearn","tag-site-management"],"_links":{"self":[{"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/posts\/2531","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/comments?post=2531"}],"version-history":[{"count":12,"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/posts\/2531\/revisions"}],"predecessor-version":[{"id":2543,"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/posts\/2531\/revisions\/2543"}],"wp:attachment":[{"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/media?parent=2531"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/categories?post=2531"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/tags?post=2531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}