Skip to content

Instantly share code, notes, and snippets.

@folkertsj
Created August 11, 2011 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save folkertsj/1139765 to your computer and use it in GitHub Desktop.
Save folkertsj/1139765 to your computer and use it in GitHub Desktop.
Adding The Virtual Mapping To EPiServer.config
<virtualPath customFileSummary="~/FileSummary.config">
<providers>
<clear />
<add showInFileManager="false" virtualName="CreateNewPage" virtualPath="~/Templates/PageTypeTemplates/Overrides/CreateNewPage.aspx" bypassAccessCheck="false" physicalPath="" name="CreateNewPageMapping" type="EPiServer.Web.Hosting.VirtualPathMappedProvider,EPiServer" />
</providers>
<filters />
</virtualPath>
<!-- virtualPathMappings are used by "VirtualPathMappedProvider". -->
<virtualPathMappings>
<add url="~/secure/CMS/Edit/NewPage.aspx" mappedUrl="~/Templates/PageTypeTemplates/Overrides/CreateNewPage.aspx" />
</virtualPathMappings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment