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

1 Answer 1

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.

0

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