locked
redirect user to home page RRS feed

  • Question

  • hi friends

    i am using publishing site with sub sites. 

    if user want to see some page through url without logged. sharepoint will ask credentials as a popup after successful login he will go to the page what he enterred in url.

    but i need to redirect user to home page instead of other page which he entered in url.

    how to do it.

    Saturday, September 6, 2014 9:35 AM

Answers

  • 1- Add script editor in your page where you would like to do the redirect

    2- Add this code

    <script '"text/javascript"'>//<![CDATA[alert("This site has been moved to another location.");//]]></script>
    <meta http-equiv="refresh" content="10;url=https://www.">


    Kind Regards, John Naguib Technical Consultant/Architect MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation

    • Proposed as answer by John NaguibMVP Saturday, September 6, 2014 11:21 AM
    • Marked as answer by Dennis Guo Sunday, September 14, 2014 6:43 AM
    Saturday, September 6, 2014 11:21 AM