Our
Client migrated all its sites from MOSS 2007 to SharePoint 2010, and there was
a need to redirect users from one site to another in some sites.
·
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 , rename the web part to something more
meaningful such as, Redirect.
·
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 another location. You will be
redirected momentarily.");//]]></script>
<meta http-equiv="refresh" content="10;url=http://sharepointdirect.blogspot.in/">
<meta http-equiv="refresh" content="10;url=http://sharepointdirect.blogspot.in/">
·
Select
Ok and save the page.
·
The
script above is set up to redirect after 10 seconds. You can increase or decrease the time frame.
·
Remember
to also replace the URL above
with the appropriate destination URL that applies to your particular situation.
Thanks! Worked like a charm :-)
ReplyDeleteWow awesome explanation ...very good in content delivery
ReplyDeletesharepoint administrator training
Wow awesome explanation ...very good in content delivery
ReplyDeletesharepoint developer training
worked! thanks!
ReplyDelete