Forum Discussion
Adrian Urgyan
Feb 21, 2019Copper Contributor
Redirecting tenant root to SharePoint home
I want to redirect tenant root (https://xyz.sharepoint.com/default.aspx) to SharePoint home (https://xyz.sharepoint.com/_layouts/15/sharepoint.aspx). What would be the best way to achieve this? ...
Feb 21, 2019
Two options:
(1) If you want to make the redirection from the default page and this is a classic page, you can add a content editor WebPart there with the JS Code that makes the redirection
(2) If the home page is a modern page, then you will need to create a SPFx extension where you can add the redirection
(1) If you want to make the redirection from the default page and this is a classic page, you can add a content editor WebPart there with the JS Code that makes the redirection
(2) If the home page is a modern page, then you will need to create a SPFx extension where you can add the redirection
Adrian Urgyan
Feb 21, 2019Copper Contributor
It is still a classic page. Is there a better way than a JS code? It's client side redirection, a server side could be more smooth (if it's available at all!).
- Feb 21, 2019In SPO you cannot do anything on the server side...it has to be a client side redirection