(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.
(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
301 Redirects, UrlRewriting.Net configuration, UseDirectoryUrls
Hi,
I am moving an old site to Umbraco. My old site had urls like this:
www.myDomain.com/front-page-feature/my-article-name/
(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:
www.myDomain.com/front-page-feature/my-article-name/
To:
www.myDomain.com/Features/my-article-name/
(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
Thanks!
Bob -
is working on a reply...