TECHNOLOGIES
ANSWERS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Redirect a SharePoint Site Using the Content Editor Web Part
Rajkiran Swain
May 16, 2015
12.9
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
Here you will learn how to redirect a SharePoint Site Using the Content Editor Web Part.
Redirect a SharePoint Site
Edit the page where you would like to include the redirect script
Add a Content Editor Web Part on the page
Edit the Content Editor Web Part properties, remove chrome, rename the web part to something more meaningful than 'Content Editor' (such as, Redirect), and make any other changes as applicable to your own situation
Select the Content Editor Web Part
Click here to add new content
link
Locate the HTML icon within the Markup section of the ribbon, select it, and then select
Edit HTML Source
Type in (or copy and paste) the code below in the
HTML Source
web page dialog that displays
<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://www.facebook.com"
>
7. Select
[OK]
and save the page.
Redirect a SharePoint Site Using the Content Editor Web Part
Next Recommended Reading
How to search content from specific SharePoint list in Content Search Web Part
Rotary International Infotech Pvt Ltd
Rotary International is an international service organization whose stated purpose is to bring toget