【问题标题】:Wordpress Posts in Lightbox, how do I make google index these and not the single.post page灯箱中的 Wordpress 帖子,我如何让谷歌索引这些而不是 single.post 页面
【发布时间】:2014-08-01 15:57:53
【问题描述】:

这是我的旅游博客http://www.laaventura.co.uk

只有一个主页,所有帖子都在 iframed 厚箱灯箱中打开

在页面加载后,thickbox 类和额外的链接文本是通过这个 javascript 调用添加的

a(".more-link").addClass("thickbox");
    a(".more-link").attr("href", function() {
        return this.href + "?KeepThis=true&TB_iframe=true&height=750px&width=500"
})

这会将灯箱链接添加到所有阅读更多链接。

我假设谷歌将索引 single-post.php 文件而不是在主页上的灯箱中打开帖子有没有办法让谷歌直接链接到灯箱?

【问题讨论】:

    标签: wordpress lightbox thickbox


    【解决方案1】:

    您完全正确...机器人不会索引 iframe 中的内容,但会索引单个帖子。不是一个好的场景。 ;-)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-12-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-11-17
      相关资源
      最近更新 更多