fixes the links in the archive page