set redirect for doc