如何在 EPIServer 中将页面设置为起始页

Utp*_*pal 2 episerver episerver-7

我在 EPIServer 中创建了一个包含 4 个页面的 CMS 站点。现在我想将 id '5' 的页面设置为起始页面。在 episerver.config 部分中,我没有找到 sitesettings 部分。我正在开发.NET提供的MVC应用程序模板。但没有获得任何设置 pagestarid 的选项。在 episever.config 文件中设置 taht 的位置。

我的配置文件是这样的:

<episerver xmlns="http://EPiServer.Configuration.EPiServerSection">
  <workflowSettings>
    <workflowHost type="EPiServer.WorkflowFoundation.AspNetWorkflowManager,EPiServer.WorkflowFoundation" />
    <definitions>
      <!-- definition:           Workflow definitions that should be predefined, that is if no definition with
                                 specified type exists it will be created-->
      <!-- 
              <definition name="Sequential Approval"    description="A sequential approval workflow for pages"          type="EPiServer.WorkflowFoundation.Workflows.SequentialApproval,EPiServer.WorkflowFoundation"/>
              <definition name="Parallel Approval"      description="A paralell approval workflow for pages"            type="EPiServer.WorkflowFoundation.Workflows.ParallelApproval,EPiServer.WorkflowFoundation"/>
              <definition name="Request for feedback"   description="Assigns request for feedback tasks to users/roles" type="EPiServer.WorkflowFoundation.Workflows.RequestForFeedback,EPiServer.WorkflowFoundation"/>
              <definition name="Ready for translation"  description="Assigns translation tasks to users/roles"          type="EPiServer.WorkflowFoundation.Workflows.ReadyForTranslation,EPiServer.WorkflowFoundation"/>
        -->
    </definitions>
    <externalServices>
      <!-- externalService:      Custom services that is to be registered with workflow runtime-->
      <externalService type="EPiServer.WorkflowFoundation.Workflows.ApprovalService,EPiServer.WorkflowFoundation" />
      <externalService type="EPiServer.WorkflowFoundation.Workflows.ReadyForTranslationService,EPiServer.WorkflowFoundation" />
      <externalService type="EPiServer.WorkflowFoundation.Workflows.RequestForFeedbackService,EPiServer.WorkflowFoundation" />
    </externalServices>
    <references>
      <!-- reference:            References for xoml based workflows, used at compiling of xoml based workflows-->
      <!-- reference path="C:\Inetpub\wwwroot\mysiste\bin\customdependency.dll" /-->
    </references>
  </workflowSettings>
  <applicationSettings httpCacheability="Public" pageValidateTemplate="false" uiShowGlobalizationUserInterface="true" urlRebaseKind="ToRootRelative" uiUrl="~/EPiServer/CMS/" utilUrl="~/util/" />
</episerver>
Run Code Online (Sandbox Code Playgroud)

šlj*_*ker 5

在 EPiServer 7 中,如果进入管理模式/配置/管理网站,您可以更改起始页。
希望这可以帮助

在此输入图像描述

  • @Tchami,在最新版本的 EPiServer 7 中,站点定义已从配置转移到数据库。更多信息请访问以下链接:http://world.episerver.com/Documentation/Items/Upgrading/EPiServer-CMS/75/Breaking-changes/ (3认同)