Mobile app version of vmapp.org
Login or Join
Courtney195

: Preventing some parts of the pages of a site from being indexed My website has links like: <a href="messages.aspx">Messages<span>3</span></a> Well google indexes these links

@Courtney195

Posted in: #Google #GoogleIndex #Indexing #Noindex #SearchEngines

My website has links like:

<a href="messages.aspx">Messages<span>3</span></a>


Well google indexes these links as: Messages3

I have read some articles for preventing google from indexing some parts of the website like

<!--googleoff: index-->
<!--googleon: index>


tags but there are 2 problems:

1.This seems very odd to use lots of these tags and for a number

<!--googleoff: index-->
0
<!--googleon: index>


2.I want to know is there a way or a rule that would work for all search engines like bing and yahoo too.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Courtney195

1 Comments

Sorted by latest first Latest Oldest Best

 

@Berumen354

Best way is to use robots.txt. It works for all search engines.

As the content concerned:

Sometimes, there's a certain piece of content on a webpage (or a persistent piece of content throughout a site) that you'd prefer search engines didn't see. In this event, clever use of iframes can come in handy. The HTML Inline Frame Element () represents a nested browsing context, effectively embedding another HTML page into the current page.

For better understanding, here's the picture.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme