Add name and record type to the url