Forum Discussion
Matts Christensen
Jun 27, 2019Copper Contributor
Redirect from root to site collection
Hi there I have created a root site collection with following http://sp.domain.com/ I want to auto redirect all users who browse to the root site collection to another site collection with t...
Carlos_Marins
Jun 27, 2019Iron Contributor
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,
- Matts ChristensenJun 28, 2019Copper Contributor
Hi Carlos_Marins and jcgonzalezmartin
Thanks for the Replies - All right if I have to use a Script what would it look like?
- Norman YoungJun 28, 2019MVP
Using SharePoint Designer add redirect HTML code.
I.e. <meta http-equiv="Refresh" content="0; url=https://www.w3docs.com" />
I hope this helps.
Norm
- Jun 27, 2019Hi said he don't want to add the redirection in a script...something interesting since it's the way to make the redirection required