I have a root site collection at https://a.site.com

Underneath this root site collection I have another site collection (host named) at https://a.site.com/sub

My users are interested in the site at https://a.site.com/sub and they have access to it. They do not have access to the root site collection at https://a.site.com.

The URL I want to tell them to use is https://a.site.com

Is it possible to set up a redirect so when they put https://a.site.com into their browsers they are taken to https://a.site.com/sub?

I have tried to use HTTP Redirect in IIS but have not been able to make it work correctly. The browser will throw "too many redirect" errors or the web server will show an error about the directory not existing.

  • 1
    Use a simple JavaScript redirect? – Akhoy Mar 10 '16 at 14:01
  • if you redirect from root site to 2nd level site collection, it will fix /sub issue but what will be the root level site collection, if user really want to access the root level then? it will always redirected to 2nd level – Waqas Sarwar MVP Mar 10 '16 at 14:07
  • Akhoy - not an option as users do not have access to the root site collection Waqas - I don't care about the root site, there is nothing there. It's actually the root site for the web application. – Submits Mar 10 '16 at 14:09
  • then why not move them to root level site collection? – Waqas Sarwar MVP Mar 10 '16 at 14:11
  • Move what, the site at /sub? Or user permissions? – Submits Mar 10 '16 at 14:14

I am thinking following options. As your Site collection is HSNC base.

  1. why not create another url, Lets say b.site.com and set that to your /sub site collection.
  2. Move the /Sub site collection to root level using backup and restore.
  3. lastly you can think about the Vanity URL and configured it to your IIS.check this or this
  • It was your second suggestion that I went with in the end. But I did not use backup/restore. I used export/import. – Submits Aug 18 '16 at 9:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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