finally got an alternative to the directoryslash redirect