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">
redirect *.html url
Hi there,
I need to redirect URLs with .html endings:
/de/testpage.html
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?
Thanks
I have altered the web.config with the following line:
Now I don't get the 404 error any more. Instead it shows an empty HTML page.
¯\(ツ)/¯
Found the solution here:
http://amdonnelly.blogspot.com/2011/02/301-redirects-for-html-files-in-umbraco.html
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:
is working on a reply...