Acceptance criteria (AC):
- Example page: https://zh.wikipedia.org/wiki/汉语 ( shortened as /wiki/汉语 format below )
Language variant in URL | Action | link rel="canonical" | link rel="alternate" hreflang="zh-Hant-TW" | Notes |
---|---|---|---|---|
non-specified | view | /wiki/汉语 | /zh-tw/汉语 | |
zh-tw | view | /zh-tw/汉语 | /zh-tw/汉语 | |
non-specified | edit | /wiki/汉语 | /zh-tw/汉语 | See T67402 |
zh-tw | edit | /zh-tw/汉语 | /zh-tw/汉语 | for consistency |
non-specified | history | /w/index.php?title=汉语&action=history | (without HTML meta alternate tag) | See Func's cmt. |
zh-tw | history | /w/index.php?title=汉语&action=history | (without HTML meta alternate tag) | See Func's cmt. |
non-specified | info | /w/index.php?title=汉语&action=info | (without HTML meta alternate tag) | See Func's cmt. |
zh-tw | info | /w/index.php?title=汉语&action=info | (without HTML meta alternate tag) | See Func's cmt. |
Language variants currently point to the same canonical URL. For example, on this page:
http://zh.wikipedia.org/zh-tw/%E6%B1%89%E8%AF%AD
...there is a rel=”canonical” pointing to
http://zh.wikipedia.org/wiki/%E6%B1%89%E8%AF%AD
This rel=”canonical” link asks search engines to index the Simplified Chinese page to represent the content on both pages, instead of separately indexing the Simplified Chinese and Traditional Chinese pages. Similar rel=”canonical” links are found on all zh-TW pages. Google is reporting that we see a similar problem on other Chinese (e.g. zh-SG) and Serbian content pages.
(this may be caused by the fix to bug 48402 ( T50402: rel=canonical of https pages should point to http )
Version: 1.23.0
Severity: normal
See Also: