DotNetNuke - 如何在 Web 界面中更改默认门户别名
在 DotNetNuke 中,我为门户添加了多个 URL 别名。添加的第一个是默认别名,无法删除或更改。
当然,我可以直接在数据库中的门户别名表中执行此操作(使用 Management Studio),但没有访问权限的人则不能。有办法吗?这似乎是一个显而易见的需求 - 但我找不到任何东西。
In DotNetNuke, I have added multiple URL aliases for a portal. The first one added is the default alias which cannot be removed or changed.
Of course I can do this in the Portal alias table in the database directly (using Management Studio), but people who have no access can't. Is there a way? It seems like such an obvious need - but I couldn't find anything.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以直接在 DotNetNuke 中编辑门户别名。
作为管理员,选择“管理|站点设置”、“高级”、“门户 Alises”以查看/编辑该门户的值。
作为主持人,选择“主持人|门户”,编辑任何门户,“高级”、“门户别名”以查看/编辑任何门户。
门户别名不会经常更改,但如果用户确实需要访问权限,您可以轻松地将用户分配给管理员角色。您无法修改当前门户别名的原因是您将禁用您自己对门户的访问。
请注意,通过 SSMS 修改门户别名可能会破坏工作的 DNN 门户。
另请注意,应重新启动应用程序以反映门户别名更改(通过 IIS 管理器或编辑 web.config)。您必须以主机身份登录才能使用主机设置通过 DotNetNuke 重新启动应用程序。
You can edit the Portal Aliases directly in DotNetNuke.
As Admin select Admin|Site Settings, Advanced, Portal Alises to view/edit the values for that portal.
As Host, select Host|Portals, edit any portal, Advanced, Portal Aliases to view/edit any portal.
Portal aliases do not change very often but you can easily assign a user to the administrators role if they really need access. The reason you can't modify the current portalalias is that you would disable your own access to the portal.
Note that modifying the portalalias through SSMS may break working DNN portals.
Also note the application should be restarted to reflect portal alias changes (via IIS Manager or editing web.config). You must be logged in as a host to use host settings to restart the application via DotNetNuke.