0

SharePoint Online- We recently migrated a site from an old location to a new location. Users have the link(URL) to our old site. How can i redirect the users to the new location(new URL) when the try to access the Old URL?

Thanks

5

You "could" add a CEWP to the homepage to insert some javascript to redirect them automatically.

<script>
window.location.href = "https://sharepointtenant.sharepoint.com/";
</script>

Ideally, if you were coming from onprem, you could add this javascript to the 404 error page and turn off all the sites so that the 404 page will redirect them.

protected by Community Jun 12 '18 at 10:54

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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