When using AnQi CMS for content creation,urlizeFilter is undoubtedly a very convenient feature. It can intelligently identify URLs or email addresses in article content and automatically convert them into clickable hyperlinks, saving the trouble of manually adding links.However, careful friends may notice that these are byurlizethe automatically generated links will default to includerel="nofollow"properties. This raises a common question: If I want to completely disableurlizeThe filter will automatically addrel="nofollow"is there a way to do so?
urlizethe filter meetsrel="nofollow"the default behavior
First, let's delve deeper into it.urlizeThe default working mode of the filter. According to the template filter document of Anqi CMS,urlizeThe function is to 'automatically add an a tag to url, email, and automatically add nofollow's rel'. This means that whenever throughurlizeThe filter processes a text containing URLs, and the generated hyperlinks will be automatically appendedrel="nofollow"Property.
It can be seen from the document description that thisrel="nofollow"IsurlizeA built-in and automatic behavior of the filter, which does not provide direct parameters (such asurlize:falseto selectively enable or disable it.nofollow. The filter was initially designed as a default strategy for handling external links.
In the content settings.rel="nofollow"Consideration
excepturlizeThe filter itself, AnQi CMS also mentioned it in the 'Content Settings' in the backgroundrel="nofollow". On the "Content Settings" page, there is an option for "whether to automatically filter external links".When this option is set to 'Do not filter external links', the external links retained in the document will still be addedrel="nofollow".
This further confirms that AnQi CMS, by default, tends to add when handling external linksrel="nofollow"This is usually for SEO practices and website security considerations.nofollowThe attribute can inform the search engine that the link should not pass the "weight", which helps website administrators control the flow of page SEO weight, avoid link spam, and effectively protect the reputation and ranking of the website itself, especially when dealing with user-generated content (UGC) or pointing to untrusted external resources.
Currently disabledrel="nofollow"Limitations
In general, based on the current features and documentation provided by Anqi CMS, there is no direct backend switch orurlizeThe filter's parameter can "completely disable" all automatically generated external link attributesrel="nofollow"It seems to be a default security strategy of the system when handling any recognized as an external link.
This means that if you want certain specific external links on the website to pass weight (i.e., withoutnofollow), and these links are throughurlizeThe filter automatically generates, so under the existing framework, some indirect methods may need to be adopted. For example, for a few particularly important links, you may need to consider avoiding the use ofurlizeA filter to process text containing these links, instead of manually inserting hyperlinks in the content editor. However, this will increase the workload of content editing, and may be consistent withurlizeThe convenience of the original intention is contrary.
For deeper-level requirements, such as the need to globally modify this default behavior of the system, this may involve secondary development of the core code of Anqi CMS.But for most website operators, this is not a recommended routine operation, and it may affect system upgrades and maintenance.
Summary
urlizeThe filter automatically adds to external links in Anqi CMS.rel="nofollow"It is an inherent design of the system for SEO and security considerations.Currently, there is no direct option provided in the background settings or filter parameters to completely disable this behavior.Without a specific external link requirednofollowIn the scenario of the attribute, website operators need to weigh the actual situation.urlizeThe convenience brought and the need for manual editing.
Frequently Asked Questions (FAQ)
1. If I manually add an external link in the article content editor, it will come withrel="nofollow"?In most cases, hyperlinks inserted manually through the content editor, as long as you do not manually add them in HTML moderel="nofollow"will not automatically have this attribute.rel="nofollow"The automatic addition is mainly aimed aturlizeThe filter automatically identifies and converts text links, and in the "Content Settings", the scenario where external links are not filtered but the system still needs to standardize the processing is selected.
2. Why does AnQi CMS default to adding external links?rel="nofollow"?This is mainly to comply with SEO practices and enhance website security.nofollowThe attribute can prevent your website from passing SEO weight to external websites, which is very useful when linking to advertisements, user submitted content, or websites you do not fully trust.It can help you better control the link structure of the website and the search engine ranking, avoiding negative impacts due to linking to low-quality or spam websites.
3. Is there a way to makeurlizethe links automatically added by the filter becomerel="dofollow"(i.e., withoutnofollow)?According to the existing documents,urlizeThe filter does not provide parameters to change its default additionrel="nofollow"nor does it have an option to automatically addrel="dofollow"If your business scenario indeed needs a large number of throughurlizeGenerated links withoutnofollowAnd manual editing is not feasible, it may be necessary to consider contacting the official AnQi CMS for a customized solution, or finding a developer familiar with Go language and AnQi CMS architecture for a secondary development.Please note that modifying the core behavior may cause compatibility and maintenance costs.