Better path creation

I've found using the path generated such as it was broke in some cases. It appears to be safer to use the Page#url

Cheers