How to automatically add the `rel="nofollow"` attribute to hyperlinks in the page to optimize SEO?

Calendar 👁️ 80

In website content operation, hyperlinks play a crucial role, they are not only the bridge for users to browse and obtain information, but also the key for search engines to understand the structure of the website and pass the page weight (PageRank).However, not all links should pass weight, especially those pointing to external websites. At this time,rel="nofollow"The attribute comes into play, it can tell the search engine "Do not track this link, and do not pass the page authority to the link target". Use it reasonably.rel="nofollow"This has a significant impact on the SEO health of the website.

For users using AnQiCMS, the system has built-in convenient and flexible functions that can help us automate the processing of page hyperlinksrel="nofollow"Attribute, thus better for SEO optimization.

Of Security CMSnofollowAutomated mechanism

The AnQi CMS was designed with SEO optimization needs in mind and provides multiple mechanisms to manage hyperlinks in web pages.Among the most core and widely impacting is the batch management of external links in the article content through the 'Content Settings' feature of the background.

In the Anqi CMS backend management interface, you can navigate to"Backend settings" -> "Content settings". On this page, there is a named“Is automatic filtering of external links enabled”The critical option. This option directly determines how the system handles external hyperlinks that appear in your article content. It provides two processing modes:

  1. Does not filter external links but adds them automaticallyrel="nofollow"attribute:When you choose this mode, Anqi CMS will very intelligently identify all external links pointing to non-site domains in your article content. These external links will be retained by the system and will not be deleted, but the most important point is that the system will automatically<a>Add in the labelrel="nofollow"Property.Brings benefits:This approach balances content integrity and SEO optimization. On the one hand, you can freely cite external resources, recommend partner websites, or provide reference links, maintaining the richness of content and information without affecting user experience; on the other hand, throughrel="nofollow"You can effectively prevent search engines from passing the page authority to these external links, thereby avoiding authority loss and protecting your website from the negative impact of low-quality external links.This is crucial for maintaining the overall SEO health of the website.

  2. Filter external links (remove external links directly):If you choose this mode, the automated functions of Anqi CMS will be more strict. The system will detect and directly remove all external links from your article content.Brings benefits:This pattern is suitable for those who want to concentrate all page weight within the site, avoiding any potential risks or distractions from external links.For example, some corporate websites may want users to focus only on in-site products or services, and not want any links to guide users away.

How to configure and select the strategy suitable for you

It is very simple to configure this feature:

  1. Log in to your Anqi CMS backend.
  2. Click on the left menu bar's“Background Settings”.
  3. Select"Content Settings".
  4. Find“Is automatic filtering of external links enabled”Options, and check them according to your website operation strategy and SEO goals.
  5. Save the settings.

When choosing which strategy, you can consider the following factors:

  • Nature of the website:If your website is a blog or news information site and often needs to reference external information, choose 'Do not filter external links, add automatically'rel="nofollow" would be a better choice.
  • External link quality:If you are unsure about the quality or trustworthiness of the external website you are linking to, or if the link is of advertising or sponsorship nature, it will be automatically addednofollowIt can effectively avoid risks
  • Content purity:If your website content is intended to be highly focused on its own brand and does not want any external traffic, then 'Filter external links' may be more suitable.

In addition to the global settings on the back-end, Anqi CMS also provides automated on the template levelnofollowprocessing. For example, when template developers use text content from external linksurlizeFilter (for example:{{ 文本 | urlize }}), AnQi CMS will automatically convert recognized URLs to hyperlinks and default them to addrel="nofollow"Property. This provides additional SEO protection for the dynamic content generation of the template. In addition, the system usually provides independent in the specific functional modules such as "Friend Links".nofollowControl options, allowing you to manage each external link more finely.

In short, AnqiCMS provides you with flexible and intelligent hyperlinks through its powerful built-in features.rel="nofollow"property management mechanism.Make good use of these features, which can not only help you maintain the SEO health of your website, optimize search engine crawling and ranking, but also ensure the professionalism and user experience of the website content.

Frequently Asked Questions (FAQ)

  1. Why do you need to add in the hyperlinks of the pagerel="nofollow"? rel="nofollow"The attribute tells the search engine not to follow this link and not to pass the "weight" or "trustworthiness" of the page to the page linked to.This is very important in SEO, it helps us control the flow of page authority, avoiding passing authority to untrusted, low-quality, or advertising性质的 external links, thereby protecting the SEO performance of our own website, especially when dealing with user-generated content (such as comments, forum posts) or sponsored links.

  2. What is the difference between the "Automatic External Link Filtering" feature ofurlizethe AnQi CMS filter?The 'Content Settings' in AnQi CMS backend has a global option called 'Automatically filter external links'. When you choose 'Do not filter external links', the system will automatically addrel="nofollow"Property. AndurlizeThe filter is a tool provided at the template level, when the template developer uses it in the code{{ 文本 | urlize }}the filter will automatically recognize the URLs in the text and convert them to带有rel="nofollow"The hyperlink. The former is the global automatic processing at the time of content publication, and the latter is the automatic processing at the time of template dynamic rendering. Both complement each other, ensuring the SEO-friendliness of external links.

  3. If I only want to manually control some links'nofollowproperties, does AnQi CMS support them?Yes, AnQi CMS supports manual control. For example, in the "Friend Links" management function, you can individually set whether to add each friend link.rel="nofollow"Property. Moreover, if you directly insert HTML code while editing an article and manually in<a>the tag withrel="nofollow"The system will also respect your manual settings.The 'Enable automatic external link filtering' option is mainly for batch management of ordinary external links inserted through the editor, providing convenient automated processing.

Related articles

How does AnQiCMS handle and display image resources, including thumbnails and original images?

The charm of website content largely comes from images.They not only beautify the page, but also convey information directly, catching the reader's eye.Therefore, how a content management system (CMS) efficiently and intelligently handles and displays image resources is crucial for the overall performance of a website.AnQiCMS (AnQiCMS) provides a comprehensive and flexible solution in this regard, whether it is for the automatic generation of thumbnails or the optimization and presentation of the original images, it can help us easily manage the visual content of the website.

2025-11-07

How to display the subcategory list under a specified category in AnQiCMS template?

When using AnQiCMS to build a website, clearly organizing content and conveniently displaying it on the page is the key to improving user experience.Especially for content with multi-level classification structures, how to flexibly display the subcategory list under a specified category in the template is a need many users will encounter.A powerful template tag system of AnQiCMS, especially the `categoryList` tag, provides us with an elegant and efficient solution.### Understanding AnQiCMS Classification Structure Before delving into templates, it is important to understand how AnQiCMS manages classifications

2025-11-07

How to configure and display the recommended attributes of articles in AnQiCMS (such as头条, recommendation, slide)?

In AnQiCMS, let your important articles stand out on the website, such as setting them as the headline of the homepage, special recommendation, or slide show, which is a very practical content operation strategy.AnQiCMS offers intuitive features to help you easily manage the recommended attributes of these articles and flexibly display them on the website front-end. ### Backend Configuration of Article Recommendations Configuring article recommendations in the AnQiCMS management backend is a simple and direct process.

2025-11-07

How to display the links and titles of the previous and next articles on the article detail page?

In AnQi CMS, adding navigation links for the previous and next articles on the article detail page is a key step to enhance the user reading experience and optimize the internal link structure of the website.This not only encourages visitors to browse more content, but also helps search engines better understand the structure of the website.AnQi CMS provides a very intuitive and easy-to-use template tag, allowing us to easily implement this feature.Understanding the "Previous" and "Next" navigation mechanism The template system of Anqi CMS is designed to be very flexible.

2025-11-07

How to format and display the article's publish timestamp in AnQiCMS templates?

In Anqi CMS, we all hope that visitors can clearly see the publication or update time of the articles.A clear and beautiful time format not only enhances the professionalism of the page but also optimizes the user experience.AnQi CMS with its flexible template engine makes it very simple to customize the display format of timestamps.Next, we will explore how to present the publishing time of articles accurately and elegantly in the AnQiCMS template.Understanding time data in AnQiCMS templates

2025-11-07

How to set and display the pseudo-static URL structure of the AnQiCMS website?

AnQiCMS provides a flexible and powerful pseudostatic URL structure setting function in website operation, which is crucial for the SEO performance and user experience of the website.Static URL, as the name implies, makes the dynamic page link look like a simple and regular static file path, thus making it easier for search engines to crawl and for users to understand.Why is the use of pseudo-static URLs so important?Before delving into how to set up pseudo-statics in AnQiCMS, let's briefly review why it occupies such an important position in website operations: 1.

2025-11-07

How to display the current page's TDK (Title, Description, Keywords) information in AnQiCMS template?

In website operation, the TDK (Title, Description, Keywords) information of the website plays a vital role.They are not only the key for search engines to understand the content of the page, but also a critical factor for users to decide whether to click on your website in the search results.A well-optimized TDK can significantly improve a website's ranking in search engines and attract more target users.AnQiCMS (AnQiCMS) is a content management system designed for SEO optimization, naturally providing strong and flexible support for TDK management

2025-11-07

How to enable Markdown editor in AnQiCMS and ensure that mathematical formulas and flowcharts are displayed correctly on the webpage?

AnQiCMS provides a flexible and diverse editing experience for content creators, and the introduction of the Markdown editor has made it even more convenient for many users who are familiar with this concise markup language.However, simply enabling the Markdown editor is not enough for content that requires special rendering, such as mathematical formulas and flowcharts.This article will provide a detailed guide on how to enable Markdown editor in AnQiCMS and ensure that your web page can correctly and beautifully display complex mathematical formulas and flowcharts.### One, Enable

2025-11-07