【问题标题】:Web pages accessible by multiple URLs for SEO reasons出于 SEO 原因可通过多个 URL 访问的网页
【发布时间】:2014-03-16 23:14:17
【问题描述】:

我有一堆具有以下结构的页面:

<html>
    <body>
        <div id="summary">
        </div>
        <div id="promotions">
        </div>
    </body>
</html>

我希望双方都可以访问这些页面:

  • /items/一个
  • /items/两个
  • /items/三个

还有:

  • /promotional-offers/2014/february/one
  • /promotional-offers/2014/february/two
  • /promotional-offers/2014/february/three

/items/... 应该只是打开页面。 /promotional-offers/2014/february/... 应该打开页面/items/... 并转到锚点#promotions(向下滚动到相应的div)。

  • /items/one/#promotions
  • /items/two/#promotions
  • /items/three/#promotions

我不确定如何在web.config 中设置重写规则以帮助搜索引擎对我的页面进行索引并避免出现“重复内容”。

【问题讨论】:

  • 你能再解释一下吗?
  • @KevinBrown 抱歉,我不知道如何改进这个问题。这对我来说似乎很清楚。此外,我想我已经得到了 marcanuy 的正确答案。无论如何,感谢您的关注。
  • 看起来这被标记为缺乏信息,但对我来说,你的问题似乎仍然有效。如果您可以重写您的问题以更容易理解/改写,这可能有助于我们进行适当的投票。
  • @KevinBrown 我试图改进我的问题。现在好看了吗?
  • 投票重新开放。谢谢。

标签: redirect url-rewriting seo


【解决方案1】:

我会添加一个Canonical tag 以完全避免重复的内容,因此无论您从哪个页面显示相同的内容都没有关系。

<!--url /promotional-offers/2014/february/one-->
<link rel="canonical" href="http://www.example.com/items/one" />

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-03-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-17
    • 1970-01-01
    相关资源
    最近更新 更多