In a website that has posts system similar to Facebook, where the user has option to:
- Keep his posts private (needs login to view)
- Make them public (anyone can see them)
In case #2 I want to allow Google to index these posts, but there are problems:
- There are no direct links to the posts
- The posts are loaded with infinite scroll style without pagination
Note that each post also has a permanent link that points to separate page with the post and all the comments on it.
Is it good strategy to index public posts? What is the best method to achieve that?
Edit: I will accept 2 answers from Yhorian & Stephen Ostermiller.
Stephen Ostermiller delivered great point on not relying on dynamic site map for ranking in google, where he linked to The Sitemap Paradox, and his advice was great on creating links patterns between the pages.
Yhorian recommended a dynamic xml map for undiscoverable content.
I will use both solutions, a proper linking between pages and a dynamic site map to cover missing links.