How to set the copyright information and filing number of the website in AnQiCMS and display them uniformly in the footer?

Calendar 👁️ 70

In website operation, the copyright information and filing number at the bottom (footer) of the website are not only an embodiment of the professionalism of the website, but also an important part of legal compliance.For websites built with AnQiCMS, setting and uniformly displaying this information is a simple and direct process.This article will guide you through how to easily complete these configurations in AnQiCMS, making your website look more professional and trustworthy.

Step 1: Set copyright information and filing number in the AnQiCMS backend

AnQiCMS provides a centralized management interface, allowing you to conveniently set up the basic information of the website.

First, please log in to your AnQiCMS backend.In the left navigation bar, find and click on "Backend Settings", and then select "Global Feature Settings".On this page, you will see several key settings, including the website filing number and copyright information that we need to pay attention to.

  • Website record number (SiteIcp)This field is used to fill in the record information of your website.Websites operating in mainland China must have a valid filing number, which is usually a string starting with 'Beijing ICP Filing' or 'Shanghai ICP Filing'.Please ensure that the record number you fill in here is accurate and complete.AnQiCMS will directly call the content you enter here, so no additional links or decorations are needed.
  • Copyright Information (SiteCopyright)Here is the place where you define the website copyright statement. Common copyright statement formats include “© Year Company Name. All Rights Reserved.”.You can fill in according to your own actual situation, for example “© 2023 Your company name. All rights reserved.””or more succinctly, 'Your Company Name'.

After completing the form, remember to click the 'Save' button at the bottom of the page to ensure your changes take effect.

Step 2: Display this information uniformly in the website template

After setting up the background information, the next step is to display this content on the website footer. In AnQiCMS, the website footer is usually located in the common template file (for examplebash.htmlorfooter.htmlThis ensures that all pages display the same information.

AnQiCMS's template system uses a syntax similar to the Django template engine, calling data set in the background through specific tags. To display the filing number and copyright information, we will usesystem.

Find the code responsible for the footer section in your website template file. This is usually a<footer>Inside the tag. Then, you can insert the corresponding AnQiCMS tag in the following way:

<footer>
    <p>
        {# 显示网站备案号,并为其添加指向工信部备案查询网站的链接 #}
        <a href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank">{% system with name="SiteIcp" %}</a>
        {# 显示版权信息,并动态获取当前年份 #}
        <span>&copy; {% now "2006" %} {% system with name="SiteCopyright" %}</span>
    </p>
    {# 其他页脚内容,例如友情链接、联系方式等 #}
    {# ... #}
</footer>

Let me explain this code in detail:

  • {% system with name="SiteIcp" %}This label will directly call the content of the "website filing number" you fill in the "global feature settings" in the background.
  • <a href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank">...</a>:For the convenience of users to verify the filing information, we usually link the filing number to the filing query website of the Ministry of Industry and Information Technology of the People's Republic of China.
    • rel="nofollow"This is an HTML attribute that tells search engines not to follow this link, usually used for external links to avoid passing page rank.
    • target="_blank"This attribute will open the link in a new tab, improving user experience and preventing users from leaving your website.
  • &copy; {% now "2006" %} {% system with name="SiteCopyright" %}This section is used to display the copyright notice.
    • &copy;This is the HTML entity for the copyright symbol.
    • {% now "2006" %}This is a very practical AnQiCMS tag that dynamically retrieves the current year. This way, you don't have to manually update the year in the copyright statement every year."2006"Is the Go language representation of the year formatting string.
    • {% system with name="SiteCopyright" %}This tag will call the copyright information content you filled in the background "Global Function Settings".

After you finish modifying and saving the template, refresh your website page, and you will see the updated copyright information and filing number at the footer.

By following these simple two steps, you have successfully set and unified the copyright information and filing number on the AnQiCMS website.This not only enhances the professional image of the website, but also ensures its compliance, making visitors trust your website more.

Frequently Asked Questions (FAQ)

  1. Ask: Why did I set up the filing number, but when I clicked it, it did not jump to the MIIT website, or it jumped and was a blank page?Answer: This is usually because the link address you added for the filing number in the template is incorrect, or it is missingtarget="_blank"the attribute. Please check your template code to ensurehrefThe attribute points to the correct record query URL (https://beian.miit.gov.cn/) and target="_blank"The property has been added. At the same time, the filing number itself is just a text string, AnQiCMS will not automatically turn it into a clickable link, you need to manually use it in the template.<a>tag wrapping.

  2. Ask: I hope the year in the copyright information can be automatically updated every year, can AnQiCMS achieve this?Answer: Absolutely. You can use it in the template.{% now "2006" %}This tag is used to dynamically display the current year. For example, write your copyright information template code<span>&copy; {% now "2006" %} 您的公司名称. 保留所有权利.</span>In this way, the year will be automatically updated every year without manual modification.

  3. Ask: I have updated the copyright information and filing number in the background, but the latest content is not displayed on the front page of the website immediately, what is the reason?Answer: This may be due to website caching. AnQiCMS enables caching to improve website access speed.When you have modified the background settings but the front-end has not been updated, you can try clearing the website cache.You can find the 'Update Cache' feature in the left navigation bar of the AnQiCMS admin panel, click to execute to make the changes take effect immediately.

Related articles

How to configure the mobile end website address of Anqi CMS to ensure that the content is displayed adaptively on mobile phones?

In today's mobile internet era, the display effect of websites on mobile phones is directly related to user experience and content dissemination efficiency.For users of AnQiCMS, ensuring that content is presented elegantly on various mobile devices is an indispensable aspect of content operation.AnQi CMS provides flexible configuration options and template mechanisms to help you easily achieve this goal.### Overview of AnQi CMS Mobile Adaptation Strategy From the beginning of its design, AnQi CMS has considered the need for multi-terminal access and therefore provides three main website modes to adapt to mobile display

2025-11-09

How to customize the AnQiCMS website logo so that it displays correctly on the front page?

AnQi CMS provides a set of intuitive and powerful website management functions, among which customizing the website logo is a crucial link in the construction of the brand image.A clear and professional logo can not only enhance the recognition of the website but also leave visitors with a deep first impression.In AnQiCMS, replacing and managing the website logo is a simple and clear process, and ensures that it is displayed correctly on your website's front-end page.### Core Function and Location: Website Logo Settings Entry Customize the website logo in AnQiCMS

2025-11-09

How to modify and display the overall name and page title of the AnQiCMS website?

In website operation, the overall name of the website and the titles of each page are an important part of the brand image and search engine optimization.They are not only the first impression of visitors to the website, but also a key factor for search engines to understand the content and ranking of the website.AnQiCMS is a content management and SEO design system designed for flexibility and powerful features, helping us easily manage and optimize these core elements. ### Setting and Considerations for the Overall Website Name Firstly, we need to establish the overall name of the website, which typically represents our brand or company name.

2025-11-09

How to set up AnQi CMS article or product list according to specified conditions

When using AnQi CMS to manage website content, efficiently displaying articles or product lists is the key to improving user experience and website functionality.AnQi CMS provides flexible and powerful template tags, allowing us to accurately control the output of content based on various specified conditions.Whether it is to display the latest articles by category or to filter products by specific attributes, Anqi CMS can help us easily achieve this.### Flexible content handling: Document list tag `archiveList` The core content display capability of Anqi CMS mainly relies on `archiveList`

2025-11-09

How to adjust the default language package of AnQiCMS website to adapt to different user interface display text?

In daily operations, you may wish to have the AnQiCMS website's backend management interface, system messages, or some built-in display text presented in different languages to better adapt to the working habits of team members or specific operational needs.AnQi CMS fully considers the needs of global operation and provides a convenient and quick way to adjust the default language package of the website.This feature not only makes your background operation smoother, but also lays a foundation for multilingual promotion. Adjust the AnQiCMS website's default language package, it is very intuitive.

2025-11-09

How to display a specific prompt to the visiting user when AnQiCMS is in shutdown mode?

During the use of the AnQiCMS website management, we occasionally encounter situations where we need to temporarily shut down the website, such as system upgrades, content maintenance, or data migration, etc.How can one clearly display specific prompts to the visiting user at this time, rather than a cold error page, which is particularly important.Our AnQi CMS is well-versed in this, providing us with a very user-friendly shutdown prompt function that allows the website to maintain a professional image even when temporarily 'resting'.Why do we need customized exit pop-ups?Imagine

2025-11-09

How to use AnQiCMS's 'Flexible Content Model' to customize the display structure and fields of articles, products, and other content?

## The secret of AnQiCMS content model: Creating a unique content display structure In the world of content management, website content is not uniform.The structure and fields of a blog article, as well as the description of an e-commerce product page, or the presentation of corporate event information, are often quite different.Traditional CMS systems may only provide fixed article or page templates, and once business needs change, the website seems to be struggling, and it is difficult to respond flexibly.However, AnQiCMS solves this pain point with its 'flexible content model' feature, allowing you to meet your actual business needs

2025-11-09

How to extract the article title and display an ellipsis in Anqi CMS template?

In AnQi CMS template development, it is often encountered that article titles need to be displayed on the list page, but in order to ensure the beauty of the layout and unified layout, long titles need to be truncated and abbreviated with an ellipsis.This has improved the user experience and also made the page look cleaner and more professional.AnQi CMS with its flexible Django template engine syntax makes it very direct and efficient to implement this requirement.

2025-11-09