createURL removes preceding "/" from paths to avoid non-canonical URLs