improve redirection mapper to map urls without .html (re #308)