Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Redirect a SharePoint Site Using the Content Editor Web Part
WhatsApp
Rajkiran Swain
9y
114.7
k
0
1
25
Blog
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
Up Next
Add Content Editor Web Part In SharePoint Online Site
Ebook Download
View all
SharePoint Online And Office 365 Administration
Read by 3.6k people
Download Now!
Learn
View all
HCL Tech
HCL Tech
Membership not found