To manage generate a "404 Not Found" statut for urls that corresponding to nothing and avoiding duplicate content, there is a new setting "Enhanced 404 Not found support" in the admin module.

When you switch this on :
All query parameters with are not managed by a OpenUrlRewriter provider are not anymore rewriten.
(for example www.mysite.com/mypage/articleid/122, became www.mysite.com/mypage?articleid=122)

If you want avoid this (tell OpenUrlRewriter which are real existing urls), create custom rewrire rules
(example : articleid={id} -> articleid/{id})

Now all urls not know by the OpenUrlRewriter generates a status 404 Not Found on the page specified in the admin module (this page is automatically created in dnn > 7.1)

OpenUrlRewriter don't generate a 404 for some special urls :

install.aspx
upgradewizard.aspx
installwizard.aspx
captcha.aspx
sitemap.aspx
sitemap.xml
logoff.aspx
rss.aspx
linkclick.aspx
user.aspx
*.axd
*.ashx
*.asmx
*.svc
/desktopmodules/.

Last edited Jan 2, 2014 at 6:16 PM by sachatrauwaen, version 1

Comments

No comments yet.