What is a Canonical URL (Canonical URL)?
A Canonical URL is usually through HTML<head>tag.<link rel="canonical" href="[URL]" />
How does AnQiCMS support Canonical URL?
Auto CMS is an efficient content management system that fully considers the SEO needs of content operation personnel, and has built-in good support for standard links.In the document editing interface of AnQi CMS, you can find a setting item named "Standard Link".The design intention of this feature is to enable content creators to easily specify the standard URL for any document.
As our document states: “If you want to redirect the current document to another page, you need to fill in here.”}]The link needs to be specified using the canonical tag in the template.This tag may be used in foreign trade websites.https://www.kandaoni.com/article/98EnglishThis means that when you have a specific page that needs to declare a standard URL, you can directly edit the corresponding document in the background, and fill in the complete HTTP or HTTPS link in the "Other Parameters" area.
On the template level, the Aanqi CMS provides simple tags to output this specification link. Through{% tdk with name="CanonicalUrl" %}Label, you can easily add it to the website<head>Area insertion specification link. We usually combine it with conditional judgment to ensure that the specification link is output only when it is set in the background, for example:
{%- tdk canonical with name="CanonicalUrl" %}
{%- if canonical %}
<link rel="canonical" href="{{canonical}}" />
{%- endif %}
This design allows content operation personnel to finely control the specification settings of each page, ensuring flexibility while also considering the rigor of SEO.
When to use specification links?
The use of standard links is not arbitrary; it should play a role in specific scenarios to solve the problems of duplicate content and SEO weight dispersion. The following are several common usage scenarios:
Accessing the same content through multiple paths:Your website may be accessible through multiple URLs for the same news article or product detail page due to reasons such as navigation structure, tags, and search filters. For example, the same article may exist simultaneously.
/category1/article-title.htmland/category2/article-title.htmlIn these cases, you should choose a URL that best represents the content as the normative URL.Track the URL changes caused by tracking parameters:To analyze user behavior, we often add UTM tracking parameters or other session IDs to the URL. For example:
https://yourdomain.com/product?utm_source=emailContent in different versions (A/B testing):When conducting A/B testing, you may create multiple URLs that point to pages with similar content but with slight differences. In order to prevent search engines from considering them as duplicate