Understanding the importance of copyright information and record 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 achievements.And for websites operating in mainland China, the Ministry of Industry and Information Technology (MIIT) filing number (ICP filing number) is a permit 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 filing number link can make your website appear more formal and reliable.The design philosophy of Anqi CMS is to help small and medium-sized enterprises and content operators build a professional, secure, and SEO-friendly online image in these seemingly minor aspects.

In the AnQi CMS background setting copyright and filing information

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:Login to the management interface using your administrator account and password.
  2. Navigate to Global Settings:In the left menu, find and click "Backend Settings
  3. Enter the "Website Record Number":Find the item "Record Number" on the page.You only need to fill in your Ministry of Industry and Information Technology filing number here, for example, 'Shanghai ICP preparation XXXXXXXX number'.Please note that here you only need to fill in the record number itself. The Anqi CMS will automatically generate a link to the MIIT website when displaying on the front end, and there is no need for you to manually add the link code.
  4. Enter 'Copyright Information':Following this, in the “Copyright Information” field, you can enter your copyright statement.This usually includes the year and the name of your company or personal name, for example “© 2023 Your Company Name.”}]All Rights Reserved.”。If you want the copyright information to include HTML tags (such as bold, links, etc.), Auto CMS also 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 recordation, the "site name" is usually used in combination with the copyright information, and you can confirm or modify it all 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

Information is entered into the background after, the next step is to display them at the bottom of your website.The Auto CMS uses a flexible template system, you can achieve this goal by making simple code modifications.footer.htmlorbash.htmlThese files are usually located in your template folder,/template/您的模板目录/partial/)in it.

In these template files, you can use the built-in functions of the security CMS,{% system ... %}The tag is crucial for retrieving the global information from the backend settings. It helps you dynamically display backend data on the website frontend.

The following are some example codes, you can add them to the template file at the bottom of your website, usually inside the<footer>tags:

<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 fetch the copyright information you have set from the background.|safeThe filter is very important here, it tells the browser to parse the content obtained as safe HTML code, rather than simple text escaping. This means that if your copyright information contains<b>or<a>These HTML tags will display 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 will check if the "website record number" exists.Only when the filing number exists, the code within the brackets will be executed, thus avoiding the display of an empty link when there is no filing 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"Means to open the link in a new tabrel="nofollow"is a **practical SEO, telling search engines not to track the weight of this link.

Through such settings, your website's footer will automatically display the copyright information and record number link obtained from the background, and when an update is needed in the future, you only need to modify it in the background without touching the code.

Preview and publish

With the powerful functions of AnQi CMS, configuring the bottom information of the website becomes simple and efficient. It not only meets legal requirements but also enhances the overall image of the website.


Common Questions (FAQ)

  1. 问:How to automatically display the current year in copyright information?答:You can use{% now "2006" %}tags to dynamically retrieve and display the current year. For example,&copy; 2023 您的公司名称。Change to&copy; {% now "2006" %} 您的公司名称。,这样每年都会自动更新。

  2. 问:如果我的备案号变更了,需要修改模板代码吗?答:不需要。The advantage of Anqi CMS is that the record number information is retrieved from the 'Global Function Settings' on the back-end.You only need to update the new filing number in the corresponding field in the background, save it after clearing the cache, and the front-end page will automatically display the latest information without changing any template code.

  3. 问:Can I add other custom information to the footer of the website besides copyright and备案号?答:Certainly can.The AutoCMS supports custom global parameters.{% system yourCustomFieldName with name="YourCustomFieldName" %}Tags are called and displayed in the template.