Fix post url on archive and fix paginate link