properly redirect with appended slashes