remove the index.html part from the link