简体   繁体   English

如何在 Dnn 中更改门户 url?

[英]how to change portal url in Dnn?

I am working on dnn, I have one parent portal and two child portals.我正在研究 dnn,我有一个父门户和两个子门户。 my parent portal have a URL like(www.abc.com/abc) but i have to change it sub subdirectory to main Url that is www.abc.com how it will possible in dnn?我的父门户有一个 URL 之类的(www.abc.com/abc),但我必须将其子目录更改为主 Url,即 www.abc.Z4D236D9A2D102C5FE6AD1C50DA4BEC5

In the web.config you'll find an entry that looks like:在 web.config 中,您会找到如下所示的条目:

<add key="HostHeader" value="" />
<!-- Host Header to remove from URL so "www.mydomain.com/johndoe/Default.aspx" is treated as "www.mydomain.com/Default.aspx" -->

Just fill this out and it should fix your problem.只需填写此内容,它应该可以解决您的问题。

<add key="HostHeader" value="abc" />
<!-- Host Header to remove from URL so "www.mydomain.com/johndoe/Default.aspx" is treated as "www.mydomain.com/Default.aspx" -->

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM