Remove "index.html" from previous page path