Adding an automatic url generator for pages