Reputation: 1821
I have a multi-paged jQueryMobile site that uses the data-title
attribute to update the page title on each individual page. This works fine in most modern browsers, but it is not reflected in the Google search results, as the crawler probably doesn't support jQueryMobile (or javascript for that matter).
Does anyone have a solution for this?
Upvotes: 0
Views: 152
Reputation: 219804
This is because you're updating the page using JavaScript which is generally not parsed by search engines. So if you want the titles to be reflected in the search results you have to set it on the server before sending out your HTML.
Upvotes: 1