add index file with redirect