Mobile app version of vmapp.org
Login or Join
Turnbaugh106

: Google's cache (text version) does not show hyperlinks I have list of product links on one of our website's page. For some reason when I view the google's cached version of this page, google

@Turnbaugh106

Posted in: #GoogleCache #GoogleIndex #GoogleSearch #WebCrawlers

I have list of product links on one of our website's page. For some reason when I view the google's cached version of this page, google strips out all the product links.
Links in the header and footer remains intact though.

Primary concern is that if links are being stripped out from cached version then google search can't see and thereby index them.

Here's the product markup we are using:

<div class="product">
<a href="/product-url#color-name" data-lightbox><img class="img" src="https://some-product-image.jpg" />
</a>
<div class="content">
<span class="line1">Product name</span> <span class="separator">|</span>
<span class="price">Price</span>
<br/>
<div class="colors">
<span class="color color-selected" style="background-color: #00008B " data-product-ImageLink="https://some-product-image.jpg" data-link="/product-url#color-name">&nbsp;</span>
</div>
</div>
</div>


I can't figure out why the <a> links are being stripped out?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Turnbaugh106

1 Comments

Sorted by latest first Latest Oldest Best

 

@Megan663

The text only version of their cache is exactly that: no images and only text. The only thing that you have in that link is an image with no text. It is removed in the process of creating a text only view of the page for the Google cache. The full HTML version of the cache has working links.

I wouldn't expect this to have any effect on Google's ability to identify, follow, fetch, index, and rank the links to your product pages. However, it certainly makes the text only version of the cached page less than useful.

One easy workaround would be to add a link around the product name:

<span class="line1">Product name</span>


to

<span class="line1"><a href="/product-url#color-name">Product name</a></span>


That would make the product name clickable for users, which I think would be a good thing for usability. I would expect product names to be clickable in a listing of products. You could even use CSS to style it such than it doesn't look different than it does now.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme