Forum Discussion

Matts Christensen's avatar
Matts Christensen
Copper Contributor
Jun 27, 2019

Redirect from root to site collection

Hi there
 
I have created a root site collection with following http://"name".sharepoint.com

I want to auto redirect all users who browse to the root site collection to another site collection with this http://"name".sharepoint.com/test1 so that nobody can use root site collection.

 

Note: I don't want to Add content editor web part method adding script to webpart What can be the best solution.

 

Thanks for advices.

  • Hey Matts Christensen,

     

    Are you using the modern layout in your site?

    Well, if you're not willinig to insert a script, I don't think there's much you could do. Just my two cents, though.

    Although, from the top of my head, if you're familiar with the Sharepoint Framework, you could create an extension that just redirects the user to your desired site. Or maybe a Webpart, if you want it for just a page.

    Lemme know if you need any help.

     

    Regards,

Resources