我可以在 WebMatrix 中重命名站点吗?
我正在使用 Umbraco,我通过 Web 平台安装程序安装它。现在 WebMatrix 中出现了 3 个不同的站点,它们是 Umbraco CMS1、Umbraco CMS2 和 Umbraco CMS3。有没有办法更改该名称?目前很混乱。
I am playing around with Umbraco which I install though the Web Platform Installer. 3 different sites are now showing up in WebMatrix, and they are just Umbraco CMS1, Umbraco CMS2 and Umbraco CMS3. Is there a way to change that name? It's pretty confusing at the moment.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
找到 applicationhost.config 文件(我的文档 > IISExpress > config)并在其中更改站点名称。
Find the applicationhost.config file (My Documents > IISExpress > config) and change the site name there.
实际上,您可以通过在 WebMatrix 中打开站点、转到“站点”工作区、右键单击左窗格树中的站点文件夹项,然后选择重命名来重命名站点。
请注意,这不会更改文件夹名称,只会更改 applicationhost.config 文件中的条目。
You can actually rename sites by opening the site in WebMatrix, going to the Site workspace, right-clicking the site folder item in the left pane tree, and choosing Rename.
Note that this does not change the folder name, only the entry in applicationhost.config file.