Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I hide certain text from search engines?

In my WordPress blog, I have "Posted ? days ago" on every post. I have 10 posts on my homepage. So according to most keyword analysis tools, "days ago" is a top keyword on my blog, but I don't want it to be. How can I hide those words from search engines?

I don't want to use Javascript. I can easily use PHP and the $_SERVER variable, but I'm afraid I might get penalized for cloaking. Is there a HTML tag or an attribute like rel="nofollow" that I can use?

like image 308
Linksku Avatar asked Jul 05 '11 20:07

Linksku


People also ask

How do I hide my text messages from search engines?

To hide the text from Google, use tags to close indexing, i.e., <noindex> and <nofollow>. Content can also be displayed as an image with the help of JavaScript and Flash. The main thing when hiding content CSS, or JavaScript, or HTML, is if the text is visible on the site.

How do I hide a word from search?

To remove unimportant search words from your query, simply write a minus symbol before each one. For example, if you want to find a site about interesting books, but you aren't looking to buy them, you can write the following: << Previous: Search for Similar Websites. Next: Google, Privacy, and Bias >>

How do I hide text on a website?

Methods of hiding text include matching font and background colors, placing an image over the text, using CSS to position text off-screen, setting font size to 1 or 0, or hiding a link by only linking a period or another small character. Not all hidden text is considered deceptive.

Does hidden text affect SEO?

This invisible text lurks in the background, in the website structure or design, and can negatively or positively impact your SEO. Essentially, hidden text is included in and analyzed by search engines, so you can see why it might be used to optimize a website and rank higher in search results.


1 Answers

What I have found on wiki:

For Yandex:

<!--noindex-->Don't index this text.<!--/noindex-->

For Yahoo:

<div class="robots-nocontent">Don't index this text.</div>

For Google:

<!--googleoff: index--> Don't index this text.<!--googleon: index-->
like image 65
garik Avatar answered Oct 24 '22 09:10

garik