How to display copyright information and link to the record number at the bottom of the website?

Calendar 👁️ 217

Clearly display copyright information and filing number at the bottom of your website, which is not only a legal requirement but also a key factor in enhancing the professionalism and user trust of the website.AnQi CMS is an efficient content management system that fully considers these details, allowing you to easily manage and present these important site information.

Understanding the importance of copyright information and IC number

The copyright statement at the bottom of the website, like a brand watermark, clearly identifies the ownership of the content to visitors, effectively protecting your original creations.For websites operating in mainland China, the Ministry of Industry and Information Technology filing number (ICP filing number) is a pass for legal operation.It is not only a mandatory requirement of national law, but also the basis for search engine inclusion and user trust.A clear and standardized record number link can make your website appear more formal and reliable.The design philosophy of AnQi CMS is exactly to help small and medium-sized enterprises and content operators build a professional, secure, and SEO-friendly online image in these seemingly trivial aspects.

Set copyright and record information in the Anqi CMS background

To display this information at the bottom of the website, we first need to enter it into the Anqi CMS backend system. This process is very intuitive:

  1. Log in to your Anqi CMS backend:Log in to the admin interface using your admin account and password.
  2. Navigate to Global Settings:In the left menu, find and click "Background Settings", then select "Global Function Settings". Here are the core configuration options of the website.
  3. Enter the "Website Record Number":Find the item "Record Number" on the page. You just need to fill in your MIIT record number here, for example, "Shanghai ICP No. XXXXXXXXXXX".Please note that you only need to fill in the filing number itself, the Anqi CMS will automatically generate a link to the MIIT website on the front end, and there is no need for you to manually add the link code.
  4. Fill in the copyright information:Immediately, in the "Copyright Information" field, you can enter your copyright statement.This typically includes the year and your company or personal name, for example “©2023 Your company name. All Rights Reserved.If you wish to include HTML tags (such as bold, links, etc.) in the copyright information, AnQi CMS fully supports it, but please ensure that the content is correct and safe.
  5. Enter "Website Name":Although it is not directly used for the bottom copyright and record filing, the "website name" is usually combined with copyright information, and you can confirm or modify it together in the "global function settings".

Please make sure to click the 'Save' button at the bottom of the page after completing the information entry to ensure that your settings take effect.

Display the information at the bottom of the website: Template modification

After entering the information into the background, the next step is to display them at the bottom of your website.AnQi CMS adopts a flexible template system, you can achieve this goal by making simple code modifications.The bottom area of the website is usually controlled by a common template file, for examplefooter.htmlorbash.htmlThese files are usually located in your template folder (/template/您的模板目录/partial/).

In these template files, you can use the built-in features of Anqi CMS,{% system ... %}The tag retrieves the global information set in the background. This tag is the key to obtaining system configuration and can help you dynamically present background data on the website front end.

Here are some example codes that you can add to the template file at the bottom of your website, usually in<footer>within the tag:

<div class="site-footer">
    <p>
        {% system siteCopyright with name="SiteCopyright" %}{{siteCopyright|safe}}
        &nbsp;&nbsp;
        {% system siteIcp with name="SiteIcp" %}
        {% if siteIcp %}
            <a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">{{siteIcp}}</a>
        {% endif %}
    </p>
    <p>
        由 <a href="https://en.anqicms.com" target="_blank" rel="nofollow">安企CMS</a> 强力驱动
    </p>
</div>

Let's break down these code snippets:

  • {% system siteCopyright with name="SiteCopyright" %}{{siteCopyright|safe}}This line of code will retrieve the copyright information you set from the background.|safeThe filter is very important here, it tells the browser to parse the obtained content as safe HTML code rather than simple text escaping. This means that if your copyright information contains<b>or<a>HTML tags, they will be displayed normally.
  • {% system siteIcp with name="SiteIcp" %}: This is used to obtain the "website filing number" from the background.
  • {% if siteIcp %} ... {% endif %}This is a conditional judgment. It checks if the "website filing number" exists.Only when the record number exists, the code in the brackets will be executed, thus avoiding displaying an empty link when there is no record number.
  • <a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">{{siteIcp}}</a>: This will create a link to the Ministry of Industry and Information Technology filing query website.target="_blank"opens a link in a new tab,rel="nofollow"is a SEO practice, telling search engines not to track the weight of this link.

By such settings, your website footer will automatically display the copyright information and record number link obtained from the background, and when it needs to be updated in the future, you only need to modify it in the background without touching the code.

Preview and Publish

After modifying the template file, it is recommended that you visit the website in the browser to check if the bottom information is displayed as expected.If the modification does not take effect immediately, do not worry, this may be due to system caching.You can log in to the Anqi CMS backend, click the "Update Cache" button at the bottom of the left menu, clear the system cache, refresh the page, and you should see the latest effects usually.

Through the powerful functions of AnQi CMS, configuring the footer information of the website becomes simple and efficient, not only meeting legal requirements but also enhancing the overall image of the website.


Frequently Asked Questions (FAQ)

  1. How do I automatically display the current year in copyright information?You can use tags in the template code to{% now "2006" %}dynamically retrieve and display the current year. For example, you can&copy; 2023 您的公司名称。is modified to&copy; {% now "2006" %} 您的公司名称。So it will be automatically updated every year.

  2. Question: If my filing number changes, do I need to modify the template code?Answer: No need. The advantage of Anqi CMS lies in the fact that the filing number information is retrieved from the "Global Function Settings" on the back-end.You just need to update the new filing number in the corresponding field in the background, save and clear the cache, and the front-end page will automatically display the latest information without changing any template code.

  3. Ask: Can I add other custom information to the bottom of the website besides copyright and filing number?Of course, you can. AnQi CMS supports custom global parameters.You can add the additional fields you need (such as "Technical Support Phone", "Friend Links Group", etc.) on the "Global Function Settings" page under "Background Settings" by using the "Custom Settings Parameters", and then use them in the same way.{% system yourCustomFieldName with name="YourCustomFieldName" %}The tag retrieves and displays this information in the template.

Related articles

How to retrieve and display the Logo, thumbnail, and slideshow group on a single page?

In Anqi CMS, single pages (such as "About Us", "Contact Us", etc.) can not only carry rich text information but also greatly enhance the attractiveness and professionalism of the page through visual elements.Retrieve and display the Logo, thumbnail, and slideshow group on a single page, which is a key step to optimize the page display effect.AnQi CMS provides flexible template tags, allowing you to easily achieve these functions.### Understand the composition of visual elements on a single page In Anqi CMS, each single page can have exclusive visual elements to meet different display needs

2025-11-08

How to obtain and display the links and titles of the previous and next articles?

When we manage and publish content in Anqi CMS, in order to enhance the user experience and content discoverability of the website, it is usually necessary to provide the function of navigating to the 'previous article' and 'next article' on the article detail page.This not only encourages readers to continue browsing the content within the site, but also provides a good internal link structure for search engine optimization (SEO).The Anqi CMS provides a very concise and intuitive template tag, allowing us to easily meet this requirement.### Core Functionality: `prevArchive` and `nextArchive`

2025-11-08

How to integrate a category list in the navigation menu and display product documents under each category?

In AnQi CMS, integrating product categories into the navigation menu and displaying the product documents below is a crucial step to enhance website user experience and content organization efficiency.This can help visitors quickly find the information they need, and it also helps search engines better understand the structure of the website. To achieve this goal, we need to make some basic settings in the Anqi CMS backend and integrate the corresponding code in the template files according to these settings.

2025-11-08

How to implement nested category display with multiple levels and how to judge if there is a subcategory in the template?

When building a website, a clear and organized content structure is crucial for enhancing user experience and SEO performance.AnQiCMS (AnQiCMS) relies on its flexible content model and powerful template engine, allowing us to easily implement complex multi-level nested display and subcategory judgment, thus creating highly customized navigation and content layouts. ### Backend Settings: Build Category Hierarchy In the Anqi CMS backend, the category management feature (usually located under the "Content Management" menu, below "Document Category") is the foundation for implementing multi-level categorization. First

2025-11-08

How to dynamically control the display of content in the template based on conditional logic (if/else)

In AnQiCMS template design, it is possible to flexibly control the display of content based on different conditions, which is the key to achieving website personalization and dynamic display.Whether it is to decide whether to display the picture according to whether the article has a thumbnail, or to display specific content based on the user's role, conditional logic can provide strong support.AnQiCMS uses a syntax similar to the Django template engine, which makes it very easy for webmasters familiar with web development to get started quickly.### Master the basic conditional logic in AnQiCMS templates AnQiCMS

2025-11-08

How to use for loop to traverse list data in the template and display it?

In website content management, dynamically displaying list data is a very basic and important function.Whether it is a news list, product display, category navigation, or friend links, we need to be able to flexibly obtain data from the backend and present it on the frontend template.AnQiCMS (AnQiCMS) provides a powerful and easy-to-use template engine that allows us to easily meet these requirements, among which the 'for loop' is the core tool for displaying list data.AnQiCMS's template engine adopts a syntax style similar to Django

2025-11-08

How to process and display variable content through filters (such as `truncatechars`, `safe`)?

## Optimize Content Display: Application of Variable Filters in AnQi CMS How to present information accurately and beautifully in website content management is the key to improving user experience.AnQi CMS is a flexible and efficient content management system that provides a powerful template engine, allowing us to refine and display variable content through various filters, thereby better meeting the needs of page layout and information delivery.These filters are like the 'makeup artists' of content, allowing the original data to be displayed in the most appropriate form.The AnQi CMS template engine uses syntax similar to Django

2025-11-08

How to define temporary variables or use macro functions to organize complex display logic in templates?

When using Anqicms to manage website content, we often encounter scenarios where we need to display complex data or reuse similar layouts.If the display logic in the template is not organized effectively, it will soon become long and difficult to read, and it will also be particularly difficult to maintain.Luckyly, Anqi CMS's template engine (which supports Django template engine syntax) provides powerful tools such as defining temporary variables and using macro functions, which can help us elegantly solve these problems, making the template code clear and efficient.Why do we need more flexible template logic

2025-11-08