redirect queries that end in .html