implemented redirect for .html