0

我的动态图像生成器出现以下错误。它可以有任何类型的宽度或高度,但 SEO 抱怨它,因为它需要一个规范的 URL。如何使用不是页面的动态图像执行此操作?

The page with URL "http://localhost/assets/images/99?w=125" can also be accessed by using URL "http://localhost/assets/images/99?w=100".
Search engines identify unique pages by using URLs.  When a single page can be accessed by using any one of multiple URLs, a search engine assumes that there are multiple unique pages. Use a single URL to reference a page to prevent dilution of page relevance. You can prevent dilution by following a standard URL format.
4

1 回答 1

1

canonicalURL 也可以在 HTTP 标头中指定。参见RFC 6596,第 4 节:

或者,在[RFC5988] 第 5 节中指定的 HTTP 标头字段中:

Link: <http://www.example.com/page.php?item=purse>; rel="canonical"

于 2012-11-04T20:29:15.073 回答