On the Betti number of the space of invariant-paths on a certain space

By using the cobar type Eilenberg-Moore spectral sequence, we prove that every isometry on the Riemannian manifold, whose mod $ 2$ cohomology algebra is isomorphic to that of the product of two spheres with different dimensions, has infinitely many invariant geodesics.