Copied to clipboard

Flag this post as spam?

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


  • Tom 120 posts 448 karma points
    Jun 13, 2014 @ 11:00
    Tom
    0

    url rewrite - ignore a folder

    Hey guys!

    In some deep waters here.

    My content tree looks like this:

    Content --Website ----Frontpage ------(All the content) --Settings ----(Some settings)

    The default webpage is supposed to be "Frontpage" and I handled that with umbracoInternalRedirectId - but I also would like to rewrite the url.

    Now the url is looking like this: www.domainname.com/Frontpage/some-content/ Instead I want it to be: www.domainname.com/some-content/

    How do I achieve this, if possible?

  • Tom 120 posts 448 karma points
    Jun 13, 2014 @ 11:13
    Tom
    0

    Did the url-thing with the followring:

    <add name="redirect_brands" redirectMode="Permanent" ignoreCase="true"
    rewriteUrlParameter="IncludeQueryStringForRewrite"
    virtualUrl="/(.*)$" destinationUrl="/forside/$1" />
    

    Can I somehow change the rootnode to be "Frontpage" instead og "Website"??

    Edit: Wow, that content stucture thing in the prev post didn't look too good.

    Content 
    --Website 
    ----Frontpage 
    ------(All the content) 
    --Settings 
    ----(Some settings)
    
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies