Avoid loops, file pages and disambiguation pages