CSS 生成的内容在 SEO 方面是否可以接受?

发布于 2024-10-15 07:24:30 字数 362 浏览 2 评论 0原文

我经营一家在线文学期刊,这导致了索引问题——我们的内容不是“关于”文学——它文学。因此,谷歌在识别正在发生的事情方面确实很糟糕,并且由于我们必须尝试和使用的关键字密度非常低,我一直在寻找削减界面文本并尽可能将其转化为图像的方法。

我一直在寻找一种方法来对我们的发布日期做同样的事情,但这是一个漫长的搜索。我偶然发现了使用 CSS 生成的内容 content:attr(id) 将不可见图像的 ID 属性替换到页面本身的想法。

这在显示级别上有效,但是,我无法找到关于此仅界面文本是否仍会被索引,或者我们是否能够摆脱月份和星期几的任何决定性信息。我们最常见的关键词。我知道谷歌仍然会看到它;有人知道它是否会“计数”吗?

I run an online literary journal which leads to an indexing problem--our content is not "about" literature -- it is literature. As such, Google is really bad at identifying what's going on, and due to the very low keyword density we have to try and work with, I've been looking for ways to slash interface text and turn it into iconography where possible.

I've been looking for a way to do the same with our post dates, but it's been a long search. I stumbled across the idea of using CSS generated content content:attr(id) to substitute the ID attribute of an invisible image into the page itself.

This works on the display level, however, I haven't been able to track down anything conclusive on whether this interface-only text will still get indexed, or whether we'll be able to move away from months and days of the week being our most-frequent keywords. I know Google will still see it; anyone know if it'll "count"?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

恍梦境° 2024-10-22 07:24:30

据我所知,确保搜索引擎隐藏某些内容的“最佳”方法是通过 AJAX 加载它,或者(不寒而栗)将其包含在 Flash 中。

如果您认为网站的非内容方面对网站在各种搜索引擎中的排名产生了不利影响,您可以通过 AJAX 加载这些元素。

仅当您确实认为这些因素严重影响您的职位时。

下面是描述此页面区域的图像,如果人们过度担心它们对 SEO 的影响,可以想象通过 AJAX 进行后加载:

此页面上可以通过 AJAX 加载的区域的示例

我知道这并不能具体回答您的问题,这是解决您的问题的替代方法的建议。

As far as I'm aware, the 'best' way to ensure something is hidden from a search engine is to either load it via AJAX or (shudder) include it with flash.

If you feel that the non-content aspects of your site are adversely affecting your site's standing in the various search engines, you could load these elements via AJAX.

Only if you really think these elements are seriously affecting your position.

Below is an image describing areas of this page that one could conceivably post-load via AJAX, if one was overly concerned about their impact on SEO:

Example of areas on this page that could be loaded via AJAX

I know this doesn't specifically answer your question, it's a suggestion for an alternative way to tackle your issue.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文