use redirect helpers to handle subdirectory deployment