Google is not as good as it claims when it comes to JavaScript single page application (SPA) websites. Sure it can read JavaScript very well, but removing pre-render server hit our search result so badly that we resurrected our pre-render server after 1 week of letting Google read our SPA website itself.
We show photo albums to users with only thumbnails. Once clicked, the thumbnails will show the full size image. We are planning to create image sitemap
<url>
<loc>http://example.com/albums?id=1</loc>
<image:image>
<image:loc>http://cdn.example.com/photo1_fullsize.jpg</image:loc>
</image:image>
<image:image>
<image:loc>http://cdn.example.com/photo2_fullsize.jpg</image:loc>
</image:image>
</url>
The problem is that we are pretty sure that Googlebot can not see photo1_fullsize.jpg
, or photo2_fullsize.jpg
but only their thumbnails when it crawls because they are click based. So we are afraid of getting banned with fake data (photo1_fullsize.jpg
, photo2_fullsize.jpg
). We DON'T DARE TO TRY because a failed trial can cause severe damage to the website.
Is the a safe way to let google know the images without hindering the user experience, and page load speed? Should we be using microdata and full size image inside noscript tag?
pushState
to change the apparent URL for users as they navigate within your single page. 3. Support deep linking by loading your SPA at any URL and showing the correct initial state based on that initial URL.