Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sean Thompson 14 posts 34 karma points
    May 04, 2010 @ 23:30
    Sean Thompson
    0

    Alternative Links for Content Pages

    Is there a way to add alternative links for a page? For example, if I have a page titled "Home" and the main link for it is /home.aspx; is there to set the default.aspx to direct to that page? So that when someone goes to the main domain, gets directed to that page?

  • Harald Ulriksen 207 posts 249 karma points
    May 05, 2010 @ 00:59
    Harald Ulriksen
    0

    You can use umbracoUrlAlias property or another option might be urlrewriting, see urlrewriting.config in the config folder.

    <

     

    add name="nottested"

     

     

    virtualUrl="^default.aspx"

     

     

    rewriteUrlParameter="ExcludeFromClientQueryString"

    destinationUrl

     

    ="home.aspx"

     

     

    ignoreCase="true" />


    Hope this helps,
    Harald

  • Chris Dunn 210 posts 401 karma points
    May 05, 2010 @ 02:43
    Chris Dunn
    0

    As long as it's the first node directly under the Content folder, it should redirect automatically. If it's not you can move it by right clicking on the Content folder and choosing sort, then drag it to the top.  It should then work for home.aspx, default.aspx or / (no page specified).

    -Chris

Please Sign in or register to post replies

Write your reply to:

Draft