Copied to clipboard

Flag this post as spam?

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

  • Bob LoCicero 13 posts 32 karma points
    Mar 08, 2012 @ 15:45
    Bob LoCicero

    301 Redirects, UrlRewriting.Net configuration, UseDirectoryUrls


    I am moving an old site to Umbraco. My old site had urls like this:

    (notice: no .aspx page; the site used directory urls like Umbraco)

    I've set the web.config parameter umbracoUseDirectoryUrls=true and followed instructions for configuring the UrlRewritingModuel for my site so directory Url's are now used for my pages. So far, so good.

    My next challenge is I have some pages that have moved. I need to configure 301 permanent redirects. I've read dozens of posts on this, but it still isn't clear to me how to redirect an entire folder.

    For example: I need to remap:


    (i.e. Only the folder has changed. The rest of the url is the same.)

    I've seen redirect examples for pages, but not folders and never with the umbracoUseDirectoryUrls feature. The documentation for UrlRewriting.Net isn't clear and I can't read regular expressions (seriously, who can?).

    Help is GREATLY! appreciated. It seems like someone else would have solved this by now. I'm using 4.7.1


    Bob -

Please Sign in or register to post replies

Write your reply to: