Canonical URLs and their Impact on Sitefinity Content Types
You may have heard the term "canonical URL," as it has an impact on your Search Engine Optimization (SEO) strategy. In essence, a Canonical URL symbolizes a preferred version of a URL that search engines should use to send user traffic. It's an HTML link element with the attribute of rel="canonical" and lives inside the <head> tag of a webpage. Canonical URLs are ultimately the solution to duplicate content.
Sitefinity CMS comes with the following out-of-the-box content types:
- Document and Files
There are certainly more, but for this article, let's discuss News as it is one of the most commonly used content types in Sitefinity CMS. When using the content type, you may run into a scenario where you have three News widgets that all live on different pages. In this scenario we have the following pages:
- Page 1 (contains a news widget that filters by categories “technology” and “integrations”).
- Page 2 (contains a news widget that filters by categories “integrations” and “design”).
- Page 3 (contains a news widget that filters by category “technology”).
All three pages will likely display some of the same News articles due to how these News items are categorized in Sitefinity CMS. This is a content duplication issue, but how do we handle this with Sitefinity CMS?
The solution is to implement a canonical URL for our News content type. In doing so, we'll ensure that no matter how many times the same News articles are referenced throughout a website, search engines should only use one canonical URL to drive user traffic.
To set a canonical URL for the News content type, navigate to:
- Sitefinity>Content Types>News
- On the bottom right-hand side of your screen, select “Pages where News are published.”
- Locate the page that you’d like to set as the top priority/landing page for all News items and select the “Actions” menu.
- Selecting the “Top” option will automatically move the page to priority number and becomes the default page where your News items are published.
In making this setting update, you’re telling the Sitefinity CMS that you’ve chosen a specific page that search engines should use to send users to when they attempt to view news items from their search engines, along with specifying the default landing page that contains all of your news items.
If you have questions or would like to learn more about Sitefinity’s canonical URL capabilities, please contact your Vanguard Client Service or Project Manager.