问题原文
原帖链接 · Hazem Hagrass · CC BY-SA 3.0
A canonical tag (aka "rel canonical") is a way of telling search engines that a specific URL represents the master copy of a page. Using the canonical tag prevents problems caused by identical or "duplicate" content appearing on multiple URLs. Practically speaking, the canonical tag tells search engines which version of a URL you want to appear in search results.
Briefly the rel=canonical tag is a way to tell Google that one URL is equivalent to another URL, for search purposes. Typically, a URL (B) is a duplicate of URL (A), and the canonical tag points to (A). The following tag would appear on the page that generates URL (B), in the :
<link rel=”canonical” href=”http://www.example.com/url-a.html” />
I'm wondering what will be the SEO impact if the canonical link is returning 404 and not exists.
已采纳解答
原帖链接 · Ajesh Nair · CC BY-SA 3.0
Consider www.example.com/abc and www.example.com/us/xyz. Both pages are same with exact duplicate content. In case you want /us/xyz to rank in SERPs.
Google Webmaster Tools recommends 301 redirection of /abc to /us/xyz to avoid duplication penalty or ranking drop.
In some cases 301 redirection is not possible due to technical limitations. Then Google advises to place rel canonical tag - <link rel=”canonical” href=”http://www.example.com/us/xyz”/> in the source code of www.example.com/abc. This way you intimate the bots that www.example.com/us/xyz is the actual page that needs to rank. www.example.com/abc will still be crawled but the link juice and authority moves to www.example.com/us/xyz and it will start ranking for relevant results based on your site Authority.
In case you place an incorrect URl in canonical tag, both pages will lose on visibility on SERPs. In some case it will still show /abc if the page authority is very high against the query searched by user. But your competitor is surely going to gain from it.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
