Saturday, March 11, 2017

How to redirect your site collection from one site collection to another

If you would like to redirect your site collection from https://abc.sharepoint.com to https://xyz.sharepoint.com
1. Go to A site collection
2. Edit Page
3. Insert > Web Part
4. Under Media and Content > click on Script Editor > Add
5. Select Script Editor Web Part > click on Web Part Tab > Web Part Properties
6. In web part > click on Edit Snippet
7. Paste the below script

<script '"text/javascript"'>//<![CDATA[alert("This site has been moved to New site. Please check it out . You will be redirected within 5 second.");//]]></script> 

<meta http-equiv="refresh" content="5;url=https://xyz.sharepoint.com">

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Search Box