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.