How to configure AnQiCMS to automatically remove external links when publishing content?

Calendar 👁️ 71

Configure AnQiCMS: Implement automatic removal of external links during content publication to enhance website purity and SEO efficiency

In website content operation, the management of external links is a non-negligible task.External links that are not appropriate can not only dilute the SEO weight of a website, affect search engine rankings, but may also harm user experience by linking to low-quality or irrelevant websites, and even pose security risks.AnQiCMS understands the importance of content purity and SEO benefits to websites, therefore providing a convenient and powerful feature that allows you to automatically handle external links when publishing content.

Enable automatic removal of external links during content publication feature

AnQiCMS provides a global setting that allows you to easily configure how external links in articles are handled during content publishing or updating. The entire process is intuitive and easy to operate:

First, log in to your AnQiCMS backend management interface. After logging in, find and click on it in the left navigation bar.“Background Settings”and then select"Content Settings".

In the "Content Settings" page, you will see a name called“Is automatic filtering of external links enabled”options. This is the core function for controlling the way external links are handled.

Click the switch or dropdown menu next to this option, and you will face two main choices:

  1. Automatically remove external links:When you choose to enable this feature, the system will automatically clear links to external sites when it detects them in the content. This means that whether it is<a>thehrefAll properties will be removed or processed, ensuring that these links no longer appear in the final published content.This approach is suitable for when you want the website content to be highly pure and free from any external导向 links.
  2. links are retained and added.rel="nofollow"Tags:If you do not want to completely remove external links, but also do not want search engines to track these links or pass weight, you can choose this option. In this mode, the system will retain external links in the content, but will automatically add links to these links.rel="nofollow"Property.nofollowThe attribute tells the search engine not to associate the current page with the linked target page, thereby avoiding unnecessary weight loss and maintaining the accessibility of the reference or source link.

According to your website operation strategy and content publishing needs, flexibly choose one of the processing methods.After selecting, be sure to click the 'Save' button at the bottom of the page to ensure your settings take effect.Once set, this feature will automatically take effect every time you publish new content or update existing content, without the need for additional manual checks.

Why is this feature crucial for your website?

Effective management of external links has a positive impact on the long-term development of the website:

  • Improve SEO benefits:External links are one of the important factors that search engines evaluate for page authority and relevance.External links without distinction may lead to 'weight leakage', dispersing the ranking weight that should be concentrated within your website.nofollowYou can better control the flow of weight, focusing on enhancing the value of internal links and the overall SEO performance of the website.
  • Optimizing user experience: The goal of the website content is to provide value to users.Too many external links, especially those that may lead to advertisements, irrelevant content, or slow-loading pages, can interrupt the user's reading experience and even lead to user attrition.The auto-filter feature helps maintain the focus and fluidity of content, keeping users on your website longer.
  • Enhance the authority and controllability of content:Maintain the purity of the website content, which can enhance the authority of your website in a specific field.At the same time, avoiding links to unknown or low-quality external resources helps maintain the professional image of the website and reduce potential legal or compliance risks.
  • Simplify the content review process:For websites or teams with a large amount of content, manually checking external links in each article is a time-consuming and error-prone task.The automatic filtering function of AnQiCMS greatly reduces this part of the workload, making content publishing more efficient.

Use suggestions and precautions

Although the automatic filtering of external links is powerful, it still needs to be considered in combination with the actual situation when used:

  • Not all external links should be removed:For example, when you need to cite authoritative sources, link to partner websites, or showcase customer cases, external links are necessary. In this case, choose 'Keep the link and add'}]rel="nofollow"It may be a more balanced solution.
  • Content strategy first:Before deciding which filtering mode to enable, please clarify your website content strategy.Are you hoping to become a fully self-sufficient information center, or an open resource integration platform?The positioning will determine your attitude towards external links.
  • Regularly review the effects:Even if automatic filtering is enabled, it is recommended that you regularly check new content releases to ensure that the link processing effect meets expectations and adjust settings when necessary.

This feature of AnQiCMS is designed to provide you with a more intelligent and efficient content management experience, allowing you to focus more energy on content creation and the overall development of the website.


Frequently Asked Questions (FAQ)

Q1: Will the automatic external link filtering feature affect the internal links of my website? A1:Will not.The 'Automatic External Link Filtering' feature of AnQiCMS mainly processes external links pointing outside your website domain.rel="nofollow"Attribute, feel free to use it.

Q2: Can I set up a whitelist to prevent external links from certain specific domains from being cleared or added?rel="nofollow"? A2:Based on the current AnQiCMS "Content Settings" option "Whether to automatically filter external links", it is a global switch that takes effect for all detected external links. It provides "auto-clean" and "add"rel="nofollow"Two modes are provided, but there is no direct function to set a whitelist for specific domains. If your content indeed needs to retain specific external links without addingnofollowConsider adjusting individual important links after enabling the globalnofollowmode manually, or processing these specific links in some other way before content is published.

Q3: If I select 'Automatically remove external links', will the text of the links removed from the article be retained? A3:In most cases, when you select 'Automatically remove external links', the system will remove the links'<a>tags and theirhrefProperty, or directly delete the entire link structure.This means that the user will not be able to click on the text to jump to an external page.As for whether the display text of the link (i.e., the anchor text) is retained and displayed as plain text, it depends on the specific implementation logic of AnQiCMS.In general, the link function will be removed, but the original text content will be retained in the article in the form of plain text, but will no longer have the characteristics of a hyperlink.

Related articles

Does AnQi CMS support deleting complex character patterns from content using regular expressions?

In website operation, we often encounter scenarios where we need to make batch adjustments to a large amount of content.Sometimes, it's not just a simple keyword replacement, but handling complex characters that follow specific patterns, such as a batch of imported content mixed with old HTML tags, specific formatted internal numbers, and even sensitive information that needs to be cleaned up.Faced with these complex character patterns, we often ponder: Can content management systems like Anqi CMS provide sufficient flexibility to allow us to accurately delete such irregular content using regular expressions?

2025-11-08

How can I batch delete the specified keywords or phrases from the content of Anqi CMS articles?

In website content operations, we sometimes encounter situations where we need to make unified adjustments to a large number of articles, such as changing brand names, removing outdated information, or cleaning up keywords or phrases that are no longer needed.When facing hundreds or even more articles, manually modifying them one by one is obviously inefficient and prone to errors.AnQiCMS (AnQiCMS) fully understands the pain points of operators, and therefore built-in powerful "document keyword replacement" function, which can help us efficiently implement the batch modification of article content, of course, including the batch deletion of specified text.

2025-11-08

Want to remove all specific characters from a string, including spaces and newline characters?

When using Anqi CMS to manage website content, we often encounter scenarios where we need to refine the text content.For example, when using the article title as part of a URL or when displaying a brief introduction, we may want to remove extraneous spaces, line breaks, or other specific characters to ensure the neatness of the data format, improve SEO friendliness, or improve the page layout.AnQi CMS, with its powerful and flexible Django template engine, provides a variety of convenient template filters to help us easily implement these string operations

2025-11-08

What are the differences and application scenarios of the `trimLeft` and `trimRight` filters in AnQi CMS when processing leading/trailing spaces in strings?

During the operation and template creation of website content, we often encounter situations where we need to deal with extra spaces or specific characters in strings.These seemingly minor details actually relate to the neatness of the content, user experience, and even the SEO effect.AnQi CMS as an efficient content management system, deeply understands these needs, and provides a powerful and flexible string filter, especially `trimLeft` and `trimRight`, which can help us accurately control the leading and trailing parts of the string.###

2025-11-08

How to use the `cut` filter to remove specific characters from a string in the AnQiCMS template?

In website content operation, we often need to refine the text displayed on the page to ensure the clarity of information and the beauty of the layout.Sometimes, this may mean that it is necessary to remove unnecessary characters from a string, whether it is extra spaces, specific punctuation marks, or other distracting text.The AnQiCMS template system provides powerful filter functions, among which the `cut` filter is a concise and efficient tool, specifically designed to help us remove specific characters from strings.

2025-11-08

How to use the `removetags` filter to remove specified HTML tags from HTML content?

In website operation, we often encounter the need to handle various types of content from different sources, which may contain complex HTML structures or specific tags that we do not want to display on the frontend.To maintain the consistency and aesthetics of the website content, and to ensure the loading efficiency of the page, it is particularly important to control these HTML tags accurately.

2025-11-08

What replacement rules does the "Document Keyword Replacement" feature support in the AnQiCMS backend?

In the daily operation of websites, we often need to adjust keywords in a large number of articles or product descriptions to adapt to the latest SEO strategies, brand specification updates, or changes in content marketing direction.Manually modifying one by one is not only time-consuming and labor-intensive, but also prone to errors.AnQiCMS (AnQiCMS) deeply understands the pain points of content operators, especially in the backend, where it has designed a powerful "document keyword replacement" function to help users manage and optimize website content more intelligently and efficiently.What rules does the 'Document Keyword Replacement' feature of Anqi CMS support?

2025-11-08

How to use the `replace` filter to replace the old word with a new word in the template?

When managing website content on AnQi CMS, we often encounter situations where we need to fine-tune the text displayed in the template.Maybe the brand name needs to be updated, a certain keyword needs to be unified, or it is just to correct a small display error.At this time, if we always go to modify the source content, it may seem inefficient.

2025-11-08