Bug Fix: If the root page is reached don't use any folder url just the normal alias.