add new post redirect logic