none
Sharepoint site url redirection RRS feed

  • Question

  • Hi,

    We are migrating sharepoint sites from sharepoint 2013 to Office 365, after migration client want url redirection.

    suppose any user trying to browse source site automatically redirect to target url. We have to implement for all sub sites.



    Thanking You, Nagendra.

    Wednesday, July 19, 2017 12:53 PM

All replies

  • Hi Nagendra,

    We can use JavaScript to redirect site page to target url, Add a content editor web part in your site home page and then insert the script below in the web part, then when access the site, it will redirect to target url:

    <script type="text/javascript">
    window.location.href = "https://www.google.com/";
    </script>
    

    Thanks

    Best Regards


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Friday, July 21, 2017 7:09 AM