Replacing  when -min is present in url