Fixes pagination issue when the url has a filename like landing.html.