making redirect message conform to the html of index.html