Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I need to redirect URLs with .html endings:
I installed Simple 301 package an created the following entry:
Instead of beeing redirected I get a 404.0 - Not Found HTTP error.
Does anyone know why and what to do?
I have altered the web.config with the following line:
<add name="UmbracoBaseMappingHtml" path="*.html" verb="*" type="umbraco.BasePages.BasePage" resourceType="Unspecified" preCondition="integratedMode" />
Now I don't get the 404 error any more.
Instead it shows an empty HTML page.
Found the solution here:
Basically what I was missing was an entry in the /config/UrlRewriting.config where I had to add the following line so that all HTML page will be recognised .net calls and can be dealt with by Umbraco and the redirect package:
<add destinationurl="/$1.aspx" ignorecase="true" name=" HTML redirect " rewriteurlparameter="ExcludeFromClientQueryString" virtualurl="^~/(.*).html">
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted