url rewriting - Umbraco UrlReWrite -
i wanna setup url rewrite in umbraco setup , after couple of hourse of trial , errors still stucked. hope can guys here.
i want urlrewrite links older pdf files been redirect umbraco page.
i have tried creating following doesnt work, return standard iis 404 page.
<add name="pdfs" virtualurl="~/oldpdfs/*.pdf" rewriteurlparameter="excludefromclientquerystring" destinationurl="/mycustom404page.aspx" redirectmode="permanent" ignorecase="true" /> why it's not working me? suggestion?
perhaps try this:
<add name="pdfs" virtualurl="~/oldpdfs/(.*).pdf" rewriteurlparameter="excludefromclientquerystring" destinationurl="/mycustom404page.aspx" redirectmode="permanent" ignorecase="true" />
Comments
Post a Comment