fix general sub url's e.g. general/csr