added redirect to index page not empty forward slash