Handle pretty urls and sort banned ips.