tidy url in index pages