AnQi CMS is a content management system tailored for small and medium-sized enterprises and content operation teams, which has integrated the concept of search engine optimization from the very beginning.In website operation, contact information is not only a bridge for users to communicate with us, but also an important signal for search engines to understand our business and confirm our authenticity.Therefore, how to ensure that the output content of the AnQiCMS contact information tag is SEO-friendly is a key point that every website operator should pay attention to.

Recognize AnQiCMS contact label and its SEO potential

AnQiCMS through built-incontactTags, allow website administrators to configure and flexibly call various contact information in the background, such as contacts, phone numbers, addresses, email addresses, WeChat, etc.This information not only can be intuitively displayed to users on the website front-end, but also contains rich SEO value.Search engines pay special attention to these key corporate identification information when crawling and understanding website content, especially in local search rankings, building corporate knowledge graphs, and other aspects, the role is not negligible.

{% contact 变量名称 with name="字段名称" %}This label is about extracting data from the background settings. AnQiCMS provides such asUserName(Contact),Cellphone(Contact phone),Address(Contact address),Email(Contact email) standard fields, also supportCustom settings parametersThe latter opens the door to fine-grained SEO operations, as it allows us to add any necessary data and call it with a custom name in the template.

Ensure the contact information content is SEO-friendly core strategy

To truly make the contact information label output of AnQiCMS SEO-friendly, we need to consider from three levels: data management, template implementation, and content strategy.

One, Data Management: The refinement and uniformity of backend settings

Firstly, the "Contact Information Settings" on the backend is the source of all SEO optimization.

  1. Complete and accurate NAP information:EnsureUserName/Cellphone/AddressCore information (Name, Address, Phone) is filled in correctly in the background.This information's consistency (NAP Consistency) is crucial for local SEO.The search engine will compare the NAP information on the website with third-party platforms (such as Google business profiles, industry directories, etc.), and the higher the consistency, the higher the trust level.
  2. Use custom parameters to expand information:AnQiCMS allows us to add custom parameters, something we should make full use of. In addition to basic NAP information, we can add more structured data fields beneficial for SEO through custom parameters, such as:
    • Social media links: Facebook/Twitter/Linkedin/Instagramwait for social media information URL.
    • Business hours:If the business has fixed business hours, it can be filled in in a structured text form (such as "Monday to Friday: 9:00-18:00").
    • Service area:Define the geographic scope of the business service coverage.
    • Geographical coordinates:Accurate latitude and longitude information is very helpful for local search rankings. These custom parameters can be filled in the background after filling in.{% contact with name="自定义参数名" %}The way to call it in the template, laying the foundation for the subsequent implementation of structured data.

Part two: Template implementation: balancing structured data and user experience.

It is not enough to fill in the information only in the background, we need to output this information in a way that search engines can understand in the website template.

  1. Implement structured data marking (Schema Markup):This is the most important to ensure that the contact information is SEO-friendly.Search engines use Schema.org markup to better understand the meaning of page content.For contact information, the most commonly used isLocalBusinessOr (local business) typeOrganizationSchema for (organization) types. AnQiCMS providesjsonLdCustom call tags, which provide great convenience for us to manually integrate structured data. We can display on the page<head>or<body>within the tag, using{% jsonLd %}Wrap a JSON-LD script and embed{% contact %}the data called by the tag巧妙地嵌入其中。

    For example, a simplified JSON-LD structure might look like this:

    {% jsonLd %}
    <script type="application/ld+json">
    {
      "@context": "http://schema.org",
      "@type": "LocalBusiness",
      "name": "{% contact with name="SiteName" %}",
      "address": {
        "@type": "PostalAddress",
        "streetAddress": "{% contact with name="Address" %}",
        "addressLocality": "城市", // 可以从地址中提取或作为自定义字段
        "addressRegion": "省份", // 同上
        "postalCode": "邮编" // 同上
      },
      "telephone": "{% contact with name="Cellphone" %}",
      "email": "{% contact with name="Email" %}",
      "url": "{% system with name="BaseUrl" %}",
      "sameAs": [
        "{% contact with name="Facebook" %}", // 调用自定义的Facebook链接
        "{% contact with name="Linkedin" %}"  // 调用自定义的LinkedIn链接
      ]
      // 更多自定义参数可在此处继续添加,如营业时间、地理坐标等
    }
    </script>
    {% endjsonLd %}
    

    In this way, even if the front-end users cannot see the code directly, the search engine can clearly understand the type and meaning of this contact information.

  2. Optimize front-end display, improve user experience:Although structured data is for search engines, the display on the user interface is also important.

    • Clickable phone and email links:Usetel:andmailto:The protocol facilitates one-click dialing or sending emails for users. For example:<a href="tel:{% contact with name="Cellphone" %}">{% contact with name="Cellphone" %}</a>.
    • Clear text display:Avoid using contact information as