Separate dirlinks from pagelinks