Splitting methods to extract root path and canonical URL
Setting more path variables to use in pages

Also changing prefix for all those to url_ as they're all related to the
same thing.