Update urls: /foo.html instead of /foo/index.html.