1

I am having difficulty in redirecting my SharePoint Online Homepage to a a new communications page I created. Can someone please help me with a script that works? All the scripts I have inputted into the Web part do not work.

Thanks

0

You can place this code in a script editor web part, or create a .html file in the site assets library and then use a content editor webpart and link to the .html file and this code will execute and redirect. obviously changing the window.open parameter to your communications site.

<script type="text/javascript"> window.open('http://siteYouWantToRedirectToURL.com') </script>

  • 1
    Thank you so very much! It worked!! – Chrissy Jul 11 at 23:17
  • Please mark this as answered, glad it worked for you :) – SP-Kyle Jul 11 at 23:21
  • Sorry how do I do that? I am new here. Thanks – Chrissy Jul 11 at 23:25
  • There should be a green check mark next to my answer or something to indicate that it is correct. LOL sorry I am somewhat new as well :) – SP-Kyle Jul 11 at 23:26
  • Maybe under the down arrow, there should be a green check I believe. – SP-Kyle Jul 11 at 23:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.