We have a lightning community with all dynamically generated content for our faculty profiles. Information on the profile comes from SF, so there's nothing static on the page. As a result, the Googlebot is not seeing much of anything on the pages. Even though all the pages have been crawled, none was indexed. :(

Anyone have any ideas? Apparently Google does index dynamic pages, but only if there are static content on the page as well as dynamic ones.

  • If it's all dynamic, what do you even want googlebot to find? The only thing I can think of is to add a description tag in the head like in the good ol days. support.google.com/webmasters/answer/79812?hl=en – gNerb Oct 3 '17 at 21:04
  • that, unfortunately, is kind of the problem. SF doesn't let you put dynamic content into the <title> tag, since it's controlled in Builder. – Emily Oct 4 '17 at 14:32
  • I didn't say title, I said description. developer.salesforce.com/docs/… You also failed to answer the first question, what is it you expect google to find on a dynamic page? If I were using google to find your page, what do you think it should look like in the search results? – gNerb Oct 4 '17 at 21:04
  • Description will have to be different for each page. What we expect them to see if bio, publications, research, and much more, filled in by the faculty themselves. So the data changes. I want them to simply index the page at this point, but no luck. – Emily Oct 5 '17 at 19:31
  • If it's a dynamic page your description does not change for every page. The page's description is "360 degree view of the specified contact" the content of the page might change but the pages purpose does not. There is no way for google to index all potential variations of the page, That would require google bot to log in as specified users and pass any/all possible URL parameters. – gNerb Oct 6 '17 at 21:00

If you go through the communities setup guide you will find pretty much every reason in regards to why and how to get your community content indexed by google. More specifically, pages 61-65.

If you created a detail page for the object and enabled the object’s “Read” permission on the guest user profile, the URL for the detail page is included in the site map. However, URLs for the list and related list pages aren’t included.

So, you might want to make sure that these pages are included in your sitemap. Try accessing https://<community_URL>/s/sitemap.xml usning your browser in incognito mode, this will basically point you towards what google's crawler has access to.

For further details, i would strongly suggest you go through the guide for setting SEO for Communities from the above link.

  • So sitemap isn't an issue. We provided the sitemap already. It's the fact that crawling results in no details on the page, due to the fact that content is all dynamic. Community setup guide has nothing on that unfortunately. Been there, done that. – Emily Oct 4 '17 at 14:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.