【问题标题】:Wordpress and SEO: how to mask a path/pull content from another domainWordpress 和 SEO:如何屏蔽路径/从另一个域中提取内容
【发布时间】:2016-06-27 20:07:28
【问题描述】:

我有一个营销网站(运行 WP)http://www.example.com,我们的应用程序(我们自己的软件)https://secure.example.com。我们让人们订阅https://secure.example.com/subscribes?some=tokens-here

因此,我们现在有数千个反向链接指向secure.example.com,但显然它对我们的排名没有帮助,因为它指向“安全”子域,而不是营销“example.com”或“www.example.com”。

是否有某种方法可以屏蔽 WP 营销网站上的路径以从应用程序中提取内容?例如。 “www.example.com/subscribes”会是“secure.example.com/subscribes”的掩码吗?

我知道 httpd.conf 中的 <Location> 块可以做到这一点,但我认为我们无法访问它,因为它是托管/托管的 WP 实例。

【问题讨论】:

    标签: wordpress seo apache-config


    【解决方案1】:

    在这种情况下,您必须有两个页面“www.example.com/subscribes”和secure.example.com/subscribes,以便用户在此处注册并添加指向其他页面的规范链接。

    来自secure.example.com/subscribes,一个指向

    的规范链接
    <link rel="canonical" href="http://www.example.com/subscribes" />
    

    这将使页面排名安全。以 www.example.com 为例

    在此之后,如果用户搜索您的订阅页面,新页面将显示给 Google“www.example.com/subscribe”

    规范链接告诉 Google 忽略当前页面并遵循规范链接。

    【讨论】:

      猜你喜欢
      • 2012-02-12
      • 1970-01-01
      • 2012-11-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-11-27
      • 2021-06-26
      相关资源
      最近更新 更多