no need for redirection for directories
Merge pull request #1 from polettix/pr/slash_in_dir

no need for redirection for directories