Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

User friendly URLs


We have a EPiServer page structure, with several levels deep.  When a page is displayed, the URL in the browser web address box is along the lines of http://<server>/en/securepages/MyPage/.  We want the url visible to the user to be, in the example above, http://<server>/MyPage/.

Can we 'hide' parts of the page tree structure in the URL without actually flattening it?  The 'pages' we want to hide in the URL themselves have no purpose other than being containers.

Any suggestions would be most appreciated.

Apr 11, 2011 15:26

Hello Daryl

This is possible by setting the "Simple Address for this page" value in the settings tab. This allows you to specify short URLs for your pages.


Apr 11, 2011 16:07

Thanks David.

We had looked at that option, but we were hoping to achieve this through code, without 'Simple Address for this Page' being used or at least not the responsiblility for the CMS editor who may be creating new pages.

Apr 11, 2011 16:28

One option could be to set up event handlers for Url rewriting events exposed by EPiServer.Web.UrlRewriteProvider. In your case you would need to have event handlers both for incoming and outcoming URLs.

Apr 13, 2011 7:09
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.