如何将域重定向到 SharePoint 中的子文件夹

How to redirect domain to subfolder in SharePoint

我有问题,我需要像这样将域重定向到 SharePoint 中的子文件夹:

Subdomain.domain.com 到 www.domain.com/subfolder

如果它是一个物理域,那会很容易,但该文件夹实际上并不存在。

你能帮我解决这个问题吗?

谢谢。

Ps:对不起我的英语。

好的,因为您想要重定向到 Sharepoint 中的文件夹 -> 开箱即用的功能是不可能的。 IIS Url 重写也无济于事。

您可以做的唯一方法是将 IIS Url 重写功能与 SharePoint 自定义应用程序页面上的自定义逻辑相结合。

也就是说,你会重写

www.mydomain.com/mysubfolder

http://sharepoint/sites/solution/myredirectpage.aspx?foder=foldername

然后页面将获取库并通过 C# 代码获取文件夹,然后是文件夹的正确 url。之后它会将您重定向到正确的文件夹。

"IIS URL Rewrite"。请看看

Simple IIS URL Rewrite

IIS7 URL Rewrite to redirect based on path

或有关该主题的许多其他答案 https://www.google.de/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=Whosebug%20iis%20url%20rewrite