How to set and display the website filing number and copyright information at the bottom of the AnQiCMS page?

Calendar 👁️ 85

The website's filing number and copyright information are important elements that demonstrate the compliance and professionalism of the website. They usually appear in the footer, providing visitors with a sense of trust.In AnQiCMS, setting and displaying this information is simple and efficient.We will guide you through this process, ensuring that the key content on your website's footer is clearly presented.

Step 1: Set the record number and copyright information in the AnQiCMS background

First, log in to your AnQiCMS backend management interface. This is the starting point for all website basic information configuration.

  1. Navigate to the global feature settings:In the left navigation bar of the background, find and click“Background Settings”and then selectGlobal function settings. This module assembles the core configuration of the website, including the name of the site, LOGO, and the filing number and copyright information we are setting today.

  2. Please fill in the record number:On the global feature settings page, you will see a name called“Record number”Input box.

    • Please accurately fill in the ICP record number of your website, for example, "Beijing ICP preparation number 12345678."}When called in the template, AnQiCMS can conveniently generate a link to the Ministry of Industry and Information Technology filing query platform, thereby verifying the legality of the website and enhancing user trust.Ensure the filled-in filing number is consistent with the Ministry of Industry and Information Technology information.
  3. Enter copyright information:Right after the filing number, you will find“Copyright information”field.

    • This field is used to display the copyright statement of your website, for example “© 2023 Your Company Name. All Rights Reserved.”.AnQiCMS is very flexible, this field supports direct input of plain text, as well as content containing HTML tags.This means you can add links to the company name or bold certain text to make the copyright statement more expressive.
  4. Save settings:After filling in, be sure to scroll to the bottom of the page and click“Save”Button. In this way, your filing number and copyright information have been successfully stored in the AnQiCMS system.

Step 2: Display the filing number and copyright information in the website template.

After the background settings are completed, the next step is to display this information on the front page of the website.Generally, the record number and copyright information are displayed in the footer of the website, and this content is often public, existing in a separate template file.

  1. Determine the location of the template file:In AnQiCMS, the common parts of the website such as the header, footer, etc. are usually organized in independent template fragments, such as namedbash.htmlOrfooter.htmlThe file. These files are usually located in the directory of the template theme you are currently using./templatefolder, or itspartial/In the subdirectory. You can find the corresponding file responsible for rendering the footer according to the template structure you are using.

  2. Use system tags to call information:AnQiCMS provides a namedsystemThe powerful tag, specially used to retrieve global configuration information from the background. Through this tag, we can easily retrieve the filing number and copyright information.

    • Display the filing number:The registration number usually needs to be linked to the Ministry of Industry and Information Technology's government service platform, which is both a legal requirement and can enhance the professionalism of the website. You can use it in the footer template like thisSiteIcpField:

      <p><a href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank">{% system with name="SiteIcp" %}</a></p>
      

      here,{% system with name="SiteIcp" %}The registration number you fill in backstage will be output directly. We have addedrel="nofollow"the attribute, which is a SEO optimization practice, telling the search engine not to track the weight of this link, andtarget="_blank"Make sure to open the link in a new window to enhance user experience.

    • Display copyright information:Copyright information can be output directly. If the content you fill in the background contains HTML tags (such as bold, links, etc.), you need to use|safeA filter to ensure that HTML code is parsed correctly and not escaped as plain text. For example:

      <div>{% system with name="SiteCopyright" %}{{ siteCopyright|safe }}</div>
      

      In this code,{% system with name="SiteCopyright" %}Will retrieve the copyright information from the background and pass it to a namedsiteCopyrightThe temporary variable follows immediately.{{ siteCopyright|safe }}It will pass.|safeThe filter informs the template engine that this content is safe HTML and can be rendered as is.

  3. Save the template file:Add the above code snippet to the corresponding position in your footer template file and save the changes.

After completing these steps, refresh your website page, and you will find that the record number and copyright information are displayed clearly and accurately at the bottom of the website.By using AnQiCMS's concise and intuitive backend configuration and flexible template tags, you can easily manage and display this crucial information for the website.This not only meets the legal requirements, but also enhances visitors' trust in your website.


Frequently Asked Questions (FAQ)

  1. Q: Why did I set the filing number and copyright information, but it didn't display on the front end?

    • A:This is usually due to two reasons. First, make sure you click the 'Save' button at the bottom of the AnQiCMS backend after filling in the information.Secondly, the display on the front end of the website depends on the correct calling of template files, please check the template files currently used on your website (such as the footer filefooter.htmlorbash.html)Have you added the call number({% system with name="SiteIcp" %})and copyright information({% system with name="SiteCopyright" %})code, and is the position correct.(
  2. Q: I entered HTML code (such as<b>公司名称</b>), but when displayed on the front end, it shows plain text with angle brackets, why is that?

    • A:The AnQiCMS template engine, for security reasons, defaults to escaping output content to prevent malicious script injection (XSS attacks). If you fill in HTML tags in the background copyright information and want them to be parsed and rendered by the browser, you need to use the output content in the template call|safeFilter. The correct way to call it should be{% system with name="SiteCopyright" %}{{ siteCopyright|safe }}of whichsiteCopyrightIs the copyright information obtained|safeTell the template engine that this content is safe HTML and does not need to be escaped.
  3. Q: Is it necessary to link the registration number to the MIIT website?

    • A:Yes, according to the relevant laws and regulations of China, all websites that provide internet information services in the mainland of China and have been registered must display the registration number at the bottom of the website, and this registration number usually needs to provide a link to the government affairs service platform of the Ministry of Industry and Information Technology (beian.miit.gov.cn).This is not only a compliance requirement, but also convenient for users to query and verify website information, thereby enhancing the credibility and transparency of the website.

Related articles

How to display the title and link of the previous and next articles on the article detail page?

In website content operation, improving user experience and content browsing depth is indispensable.After a visitor finishes reading an article, if they can easily browse to the titles and links of the "previous" and "next" articles, it will undoubtedly greatly encourage them to continue exploring the website's content, thereby extending their stay time, reducing the bounce rate, and even having a positive impact on the overall SEO performance of the website.AnQi CMS is an efficient and customizable content management system that fully considers this user requirement.A safe CMS to simplify the implementation of this common website feature provides intuitive and powerful template tags

2025-11-08

How to call the category list and display the number of articles under it in AnQiCMS template tags?

In a content management system, effectively organizing and displaying content is the key to improving user experience and website SEO performance.AnQiCMS provides powerful and flexible template tags, allowing developers to easily build richly functional page layouts.Among them, calling the category list and displaying the number of articles under it is a very common and practical demand in website navigation and content overview.This not only helps users quickly understand the content volume of each category, but also provides clear website structure information for search engines.<h3>Understanding `categoryList`

2025-11-08

How to use AnQiCMS's flexible content model to achieve personalized field display on product detail pages?

## Utilizing AnQiCMS flexible content model, create uniquely crafted product detail pages When operating a website, we all hope that product detail pages can attract visitors and provide clear, personalized product information.However, when facing different types of products, using a fixed template alone often fails to fully showcase their unique features, and may even make visitors feel that the information is insufficient or confusing.For example, the display parameters required for a mobile phone and a T-shirt are completely different, forcing a template will only make things twice as difficult.

2025-11-08

How to optimize the SEO-friendly URL of the article detail page through the pseudo-static function of AnQiCMS?

A clear, readable, and relevant URL address is crucial for a website's performance in search engines.It can not only help users understand the page content intuitively, but also assist search engines in accurately understanding and indexing your page.In AnQiCMS, to implement URL optimization for the article detail page, the static function is undoubtedly our helpful assistant.What is a static URL and why is it important?

2025-11-08

How to safely output article content containing HTML tags in AnQiCMS templates (to prevent XSS)?

When processing article content that contains HTML tags in AnQiCMS templates, securely outputting is a crucial issue, as it directly concerns the safety and user experience of the website.Especially when the content of the article may be input by the background rich text editor, or when comments and messages submitted by users contain custom HTML, improper handling is likely to be attacked by cross-site scripting (XSS).AnQiCMS as a content management system that focuses on security and efficiency, provides the corresponding mechanisms to help us meet this challenge.Understanding Risk

2025-11-08

How to enable automatic image compression and WebP format conversion in AnQiCMS to improve page loading speed?

In today's fast-paced online environment, website loading speed has become a key indicator of user experience and search engine rankings.If your website has many images, they may be slowing down your website speed quietly.Fortunately, AnQiCMS fully considers this point and provides us with automatic image compression and WebP format conversion functions, which can effectively accelerate page loading and make your website fly.Why is image optimization so important?\n\nImagine when a user visits a page, if the images take a long time to display or load slowly

2025-11-08

How to determine in the template whether the current page is an article detail page or a category list page, and display different content?

In the template development of Anqi CMS, it is a common requirement to display different content according to the type of the current page (whether it is an article detail page or a category list page).This not only makes the website user experience more personalized, but also provides more fine-grained control in SEO optimization.Luckyly, AnQi CMS's powerful template engine provides an intuitive way to determine the context of the current page and conditionally render accordingly.Understanding AnQi CMS template context The AnQi CMS template engine is very intelligent, it renders pages at runtime

2025-11-08

How does AnQiCMS implement pagination display on the article list page?

In website content operation, especially when the list content of articles, products, etc. becomes increasingly rich, how to efficiently display this information while ensuring user experience and website performance is a problem that needs to be carefully considered.Long list pages not only load slowly but also tend to make visitors feel tired.It is particularly important to reasonably introduce the pagination display function at this time.AnQiCMS as a powerful content management system fully considers this operation requirement.

2025-11-08