Fixed redirects to root folders.