Redirect SharePoint Natively with a Content Editor Webpart

Getting sick of trying to get uses to update their links? Well
the following blog post by Joel Oleson will make life easier
for you. Joel had a session
and keynote
at the European SharePoint Conference in

It can be a pain as you reorganize your site and try to get
users to update their links.

Here’s a handy way to do a redirect without editing anything
server side.  Not that that’s what you should do in SharePoint
any way.

Add this snip of code below to the content editor web part in HTML
view on the page you want to redirect from.  You will likely
want to change the header bar to none to hide the web part as


Code Snip: Edit the URL and time as desired.


<script language=”JavaScript”>
function redirectAfterPause() {

setTimeout(“location.href=’'”, 15000);



Note 5000=1 second.  Replace bing with your target URL.
Thanks Darin, not sure where you got this, but if you found this
somewhere, thanks to that developer as well, and hope you don’t
mind me sharing it!

Check out Joel’s blog page by
clicking here

For more information on the next event and to keep a look out
for more content,  join our
community or follow us on twitter or facebook.

Share this on...

Rate this Post: