When using AnQiCMS for content creation and template development, we often encounter issues related to link processing, one of the common and key questions being: urlizeDoes the filter also force-add internal links when converting URLs in text to links?rel="nofollow"Is an attribute? This is an indispensable detail for the website's SEO strategy.

According to the AnQi CMS documentation,urlizeThe filter will indeed addrel="nofollow"Property, this applies to both in-site and external links. This means that whether you enter a link to an external website in the article content or enter a link to another page within your own website, as long as throughurlizeFilter processing, generated<a>All tags will be addedrel="nofollow".

This design is not without reason. From the perspective of search engine optimization,rel="nofollow"The attribute tells the search engine spider not to follow this link and not to pass any 'link weight' (usually called 'PageRank' or 'link juice') to the target page.This is very useful when dealing with user-generated content (UGC), such as comment sections, message boards, or forum posts.It can effectively prevent spam links and malicious SEO behavior, protect the link weight of the website itself from being diluted, and avoid being misjudged by search engines as participating in link farm and other illegal activities.

However, whenurlizeWhen acting on in-site links, its behavior may raise some concerns.In theory, on-site links are an important component of the website structure, they help search engines understand the hierarchical relationship of the website, discover and capture more pages, and pass the weight of internal pages.If the internal link is also forced to be addednofollowIt may affect the weight flow of the page within the site and the search engine crawling efficiency, especially for those websites that rely on internal link weight transfer for SEO layout.

Therefore, in practice, we need to decide whether to use it based on the nature of the link and the expected SEO effecturlizeFilter. For those who need to carefully manage their SEO weight and want to pass the value of internal links to key in-site links (such as main navigation menus, related recommendations between articles, core product page internal links, etc.), **the practice is to avoid using**urlizeFilter. On the contrary, we should use other template tags provided by AnQiCMS, such asnavList(Navigation list tag),archiveList(Document list tags) to dynamically generate these links, or directly write HTML in the template<a>tags. These tags and manually created links will not be added by defaultrel="nofollow"Property, unless you specify it explicitly in the template.

urlizeThe filter is more suitable for handling links in non-core content areas, or URLs that may appear in large blocks of text. These URLs may not be needed or desired to pass weight, but are simply for the convenience of users to click and jump. It provides a convenient automated way to reduce the workload of manually adding links, and is set to default,nofollowIt also provides a layer of security.

It is worth mentioning that AnQiCMS backend has an option in the 'Content Settings' called 'Automatic Filtering of External Links'. If this option is not checked (i.e., not filtering external links), the system will also automatically add external links retained in the content.rel="nofollow"Property. This isurlizeconsistent with the behavior of the filter, both reflecting AnQiCMS's tendency to prefer non-manually selected links in link management.nofollowA cautious strategy for handling to better control SEO risks.

In summary, AnQiCMS'surlizeThe filter is a convenient tool, especially suitable for quickly converting URLs in large blocks of text into clickable links.But for important links within the website that need to pass weight and optimize crawling, it is recommended to manually create or use other template tags of AnQiCMS to achieve more refined SEO control.Understanding how it works can help us use AnQiCMS's various functions more wisely to achieve ** website operation effects.


Frequently Asked Questions (FAQ)

Question:urlizeDoes the filter provide options to controlnofollowthe addition of properties?

Answer: According to the existing AnQiCMS documentation,urlizeThe filter does not provide parameters directly to selectively enable or disablerel="nofollow"the attribute. It will add this attribute by default to all identified URLs, whether internal or external links.

Ask: In which situations should I useurlizethe filter? And in which situations should I avoid using it?

Answer:urlizeThe filter is very suitable for processing user-generated content (such as comments, messages) or those ordinary URLs in the article body that you do not need to pass SEO weight. It can automatically convert URLs to links and add them by defaultnofollowPrevent spam links effectively. However, for the core navigation menu of the website, relevant recommendations between articles, product lists, and other internal weight transfer and SEO optimization of key in-site links, it is recommended to avoid using themurlizeIt is throughnavList/archiveListUsing specific template tags or manually writing HTML links to ensure the normal transmission of link weight.

Question: Besides,urlizeFilter, what other methods does AnQiCMS have to automatically handle links?nofollow?

Answer: BesidesurlizeFilter, AnQiCMS has an option called 'Whether to automatically filter external links' in the 'Content Settings' section of the backend. If this option is not checked (i.e., to not filter external links but to retain external links), the system will automatically add external links retained in the content.rel="nofollow"Property. These two mechanisms both reflect AnQiCMS' cautious SEO control strategy for non-manual selected links in link management.