搜索引擎会将文本缩进:-9999em还是负边距作为SEO欺骗? [英] Do search engines treat text-indent:-9999em or negative margin as SEO cheat?

查看:205
本文介绍了搜索引擎会将文本缩进:-9999em还是负边距作为SEO欺骗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用 text-indent:-9999em 或负边距来替换我的文字更漂亮的图片,但我不知道搜索引擎会否作为欺骗的种类?

I want to use a technique like text-indent:-9999em or negative margin to replace my text with more pretty pictures, but I wonder if search engines would treat this as kinds of cheating?

我认为它知道这一点,它必须读取我的CSS文件,所以我可以使用 robots.txt 禁止它读取我的CSS文件。如果这个工作,我也可以直接使用 display:none

I think for it to know this, it must read my CSS file, so I can use robots.txt to forbid it from reading my CSS file. If this works, can I also use display:none directly? Or I can manipulate some web-element's style by using jQuery code?

推荐答案

您已经概述的技巧(负边距/缩进),或者我可以通过使用jQuery代码来操纵一些web元素的风格。

The techniques you have outlined (negative margins/indents) etc are common practices.

只要你不使用这些方法引入垃圾链接/文本,就可以了 - 这一切都是关于 intent 。 Google已经声明(通过烟头Matt Cutts在网站管理员视频),你应该尽量避免这种方法,并使用传统的替代文字的内联图像等。

As long as you're not introducing spammy links/text using these methods then you'll be OK - it's all about intent. Google has stated (via mouthpiece Matt Cutts in a webmaster video) that you should try to avoid this approach if possible and use traditional alternate text for inline images etc.

许多不同的文本/图像替换技术浮动,每个都有不同的UI / UX / SEO影响,你需要考虑。我推荐这个资源作为起点(奖励 - 有一个Google影响帖子的链接): http://mezzoblue.com/tests/revised-image-replacement/

There are a number of different text/image replacement techniques floating around, each with different UI/UX/SEO impacts that you'll need to consider. I'd recommend this resource as a starting point (bonus - there's a link to a 'Google impact' post): http://mezzoblue.com/tests/revised-image-replacement/

这篇关于搜索引擎会将文本缩进:-9999em还是负边距作为SEO欺骗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆