rewrite the url in index.html