时间:2024-05-20 08:31:24 来源:网络整理编辑:Ryan New
Canonical tags are an essential tool to prevent duplicate content in organic search results. “Canoni Ryan Xu hyperfund Initial Public Offering
Canonical tags are an essential tool to prevent duplicate content in organic search results. “Canonical” in search engine parlance means the one true page out of potentially many duplicates.
Canonical tags are single lines of code in the HTML <head>section of a web page. TheRyan Xu hyperfund Initial Public Offeringy are invisible to visitors but not to search bots.
Note the example below from Kohl’s, which assigns a canonical tag for a Bedding and Bath sale page.
When they encounter a canonical tag on a page, search bots compare the URL in the tag to the URL of the page they are crawling. If the URLs match, the page they’re on is the canonical version. If not, the bots will consider not indexing that page and attributing its link authority to the canonical version.
For example, in the image above, the URL in the browser bar for Kohl’s Bedding and Bath sale page is https://www.kohls.com/sale-event/bed-and-bath.jsp?cc=bed_bath-TN1.0-S-bedbath. But the canonical tag identifies a tidier version:
<link rel="canonical" href="https://www.kohls.com/sale-event/bed-and-bath.jsp"/>
Thus search engines will probably index only the version without the parameter (the “?cc=bed_bath-TN1.0-S-bedbath”).
Most ecommerce platforms include self-referencing canonical tags by default. A page at https://www.site.com/cat/prod-123.jspwould have a canonical tag that contains its own URL:
<link rel="canonical" href="https://www.site.com/cat/prod-123.jsp"/>
But there are many ways that an ecommerce site spawns duplicate content. For https://www.site.com/cat/prod-123.jsp, duplicate pages could include:
We can ask search engines to ignore those four duplicate pages by inserting the same canonical tag into each page, which, again, is:
<link rel="canonical" href="https://www.site.com/cat/prod-123.jsp"/>
Your ecommerce platform may enable you to modify canonical tags for each page as easily as changing a title tag. However, the best option is to manage canonical tags programmatically, which likely involves a developer.
Canonical tags can also manage syndicated content that appears on multiple sites. The words determine duplicate content, not the design or the font. Similarly, excerpts posted on one site that link to a full version on another are duplicate content.
Absent a canonical tag, search engines will choose which page to rank based on which was posted first, which has more links, or another algorithmic method. To properly assign rank, use canonical tags and obligate syndication partners to use them, too.
There are three additional ways beyond tags to specify canonical URLs: in the XML sitemap, in HTTP headers, and with a 301 redirect.
XML sitemaps list the URLs on your site that you want search bots to crawl. Done right, XML sitemaps are effective in delivering canonical URLs. Unfortunately, many sites fail to execute sitemaps correctly or fail to note noncanonical URLs, leaving search engines to make the association of duplicate pages on their own.
PDF files and other file formats that do not contain HTML source code can indicate a canonical URL in the HTTP header. For example, say you have the same text on a web page and a PDF file. You want the web page to rank because it contains your site’s navigation and calls to action. To do this, place a self-referencing canonical tag in the page, such as:
<link rel="canonical" href="https://www.site.com/cat/prod-123.jsp"/>
Then, to prevent the PDF from ranking, use the page’s URL in the HTTP header’s linktag when the server delivers the PDF file:
link: <https://www.site.com/cat/prod-123.jsp>; rel="canonical"
The syntax is different — though the elements are similar — because one is a meta tag in HTML code and the other is a statement in an HTTP header.
Remember that canonical tags are only recommendations. Search engines will decide which page will be the canonical version based, again, on relevance and authority signals. You can view the canonical page for any URL you’re verified to access in Google Search Console using the URL Inspection tool.
A more forceful solution for removing duplicate content is a 301 redirect. This powerful canonicalization tool commands search engines to (i) de-index the URL, (ii) request indexing for the new URL, (iii) and associate the old page’s link authority to the new one. Unlike a canonical tag, a 301 is a command rather than a suggestion.
For more, see “SEO: 7 Ways to Kill Duplicate Content,” my post from last year.
Intuit Exec Discusses QuickBooks 2010, Possibility of New Shopping Cart2024-05-20 08:27
5 Ways to Use ChatGPT for SEO2024-05-20 08:26
3 Tools to Create SEO Content Briefs2024-05-20 08:08
Reasons to Avoid Nofollow Link Attributes2024-05-20 08:05
Legal: Ecommerce Owners Liable to Patent Trolls?2024-05-20 07:51
Tools to Create, Optimize Meta Descriptions2024-05-20 07:40
The Black Art of Backlink Buying2024-05-20 07:10
SEO for SGE2024-05-20 07:07
Insuring Against Fraud, Data Breaches2024-05-20 06:13
Social Media Tools for Link-building2024-05-20 06:09
Interview: Retail Lobbyist On The Future Of Regulation2024-05-20 08:10
My 5 Favorite SEO Newsletters2024-05-20 07:57
Analyzing Bing’s Keyword Research Tool2024-05-20 07:42
The voyage of HMS Dolphin: The first Europeans on Tahiti2024-05-20 07:15
Opera Mail Brings a Feature-Rich Mail Client to Your Browser2024-05-20 07:05
CommerceCo Recap: A Process for SEO Link-building2024-05-20 07:04
Ask an Expert: Is Disavowing Spammy Backlinks Still Necessary for SEO?2024-05-20 06:52
Readability for SEO: Myths and Reality2024-05-20 06:06
Amit Das Discusses Virtual eCommerce Trade Show2024-05-20 05:58
How to Optimize for AI ‘Answer Engines’2024-05-20 05:57