seo,google-search , SEO - Google index a specific part of a link


SEO - Google index a specific part of a link

Question:

Tag: seo,google-search

Google displays links to pages in its search results by taking all the text inside an tag as the link. So this:

<a href="#">
   <span>1</span> This is a great story
</a>

displays in Google search results as:

1 This is a great story

Is there any way to tell Google to index a specific part of the link text, e.g.

<a href="#">
   <span class="dont-index-me">1</span>
   <span class="index-me">This is a great story</span>
</a>

So I can have just: 'This is a great story'.

Or is the only option to change the markup:

<span>1</span> <a href="#">This is a great story</a>

Answer:

No. Google will index an entire page's contents. there is no way to tell Google to ignore part of a page. There are black hat techniques, of course, but those just get you banned if you get caught and aren't worth the risk.


Related:


Disallow specific folders in robots.txt with wildcards


seo,search-engine,robots.txt,google-crawlers
Can i hide specific folders from crawlers with wildcards like: User-agent: * Disallow: /system/ Disallow: /v* I want to hide all folders starts with "v" character. It will work this way?...

Wordpress - customized pages with blocks - prohibit google seo index of blocks


wordpress,seo,woocommerce,robots.txt,google-sitemap
I'm using Wordpress and WooCommerce for my online shop. With the theme I'm using you can customize the product-category pages by adding "blocks". So if I want to have a text on the top of a product category page I simply create a block page, lets say its called "category-info"....

Best JSON-LD practices: using multiple