Implement a better redirect for doc folders.