AnQiCMS support for Json-LD structured data, as well as how to customize its content, is a frequently discussed issue among users who are concerned about website SEO performance.As a system committed to improving content management efficiency and SEO optimization, AnQiCMS provides flexible and powerful functions in this aspect.

AnQiCMS supports native JSON-LD structured data

First, AnQiCMS indeed supports Json-LD structured data output.Structured data is a standardized format for providing explicit information about the content of a page to search engines.By using Json-LD, search engines can better understand the subject, type, and entities of web pages, which helps to display richer 'rich media abstracts' (Rich Snippets) in search results, thereby attracting more clicks and improving the visibility and user experience of the website.

For AnQiCMS users, the system integrates structured data support in the background functions. After you enable the corresponding structured data feature in the background, AnQiCMS will automatically insert a page containing default Json-LD content.<script type="application/ld+json">Tag. This means that even without any manual configuration, your website can obtain basic structured data output, which is very helpful for quickly improving SEO friendliness.

This design of AnQiCMS aligns with its investment in advanced SEO tools, such as Sitemap generation, keyword library management, and static redirection functions, all aimed at providing users with comprehensive SEO optimization solutions.

How to customize Json-LD content in AnQiCMS

Although AnQiCMS provides default Json-LD output, the system also provides powerful customization capabilities for users with specific requirements or who want to fine-tune structured data. This is mainly achieved through a special template tag{% jsonLd %} ... {% endjsonLd %}to achieve.

If you want to have more control over the Json-LD content on the page, you can use this in the page template file (usually<head>or<body>before closing)jsonLdThe tag allows you to insert custom Json-LD code snippets inside it.

The custom process is roughly as follows:

  1. Add to the template{% jsonLd %}Tag blockIn the page template file (such as the article detail page) where you want to add or modify Json-LDarchive/detail.htmlOr product details pageproduct/detail.htmlInsert at the appropriate position in the parenthesis{% jsonLd %}and{% endjsonLd %}.

  2. Write custom Json-LD content: In{% jsonLd %}and{% endjsonLd %}between, you can write your own structured data according to the Json-LD standard syntax. For example, you can define an article forArticleType, including article title, author, publication date, images, and more.

    A custom example might look like this:

    {% jsonLd %}
    <script type="application/ld+json">
    {
      "@context": "https://schema.org",
      "@type": "Article",
      "headline": "{{ archive.Title }}",
      "image": [
        "{{ archive.Logo }}"
      ],
      "datePublished": "{{ stampToDate(archive.CreatedTime, "2006-01-02T15:04:05-07:00") }}",
      "dateModified": "{{ stampToDate(archive.UpdatedTime, "2006-01-02T15:04:05-07:00") }}",
      "author": {
        "@type": "Person",
        "name": "{% system with name='SiteName' %}"
      },
      "publisher": {
        "@type": "Organization",
        "name": "{% system with name='SiteName' %}",
        "logo": {
          "@type": "ImageObject",
          "url": "{% system with name='SiteLogo' %}"
        }
      },
      "description": "{{ archive.Description }}"
    }
    </script>
    {% endjsonLd %}
    

    The key point is:AnQiCMS will intelligently handle these custom contents. It will translate what you have{% jsonLd %}The Json-LD data provided in the tag block is merged with the Json-LD data generated by the system. If your custom content conflicts with the default content (for example, you have customized theauthorField, while the system also has a defaultauthorField), then your custom content will take precedence over the default content.This merge mechanism ensures flexibility, you can optionally supplement or replace specific structured data fields without rewriting all the content.

  3. Dynamic data integration: AnQiCMS Powerful template tag system (such asarchiveDetail/system/tdkcan be combined with Json-LD custom. This means you can use these tags dynamically fill data within Json-LD scripts, such as article titles{{ archive.Title }}Website Logo{% system with name='SiteLogo' %}This makes the structured data generated automatically adjust with the update of the page content, greatly reducing the manual maintenance workload.

    Please note that whether you provide a static Json-LD snippet or dynamically generated data, you must ensure that the final Json-LD syntax is completely valid, otherwise search engines may not be able to correctly parse it.You can use Google's structured data testing tool to validate your Json-LD code.

In this way, AnQiCMS not only provides out-of-the-box Json-LD support, but also gives users great freedom to customize the structured data output of their website according to specific business needs and SEO strategies, thus maximizing the performance of their website in search engines.


Frequently Asked Questions (FAQ)

  1. What specific help does Json-LD structured data have for website SEO?JSON-LD structured data allows search engines to accurately understand the content on your page, such as product prices, reviews, article authors, recipe steps, and more.This helps your web page to be displayed in search results in the form ofThese more rich and attractive display forms can significantly improve click-through rate (CTR), thus bringing more high-quality natural traffic.

  2. If I haven't manually added it in the template{% jsonLd %}Label, will AnQiCMS automatically output Json-LD?Yes, AnQiCMS will automatically output the basic Json-LD structured data after enabling the structured data feature in your background.Even if you do not perform any manual customization, your website can still obtain a certain degree of structured data support.{% jsonLd %}The tag is mainly used to override or supplement the Json-LD content generated by the system to meet more personalized needs.

  3. What are the key considerations when customizing Json-LD?The most important point is that the Json-LD content you write must strictly comply with the Json-LD syntax specifications and the Schema.org vocabulary list.Any syntax error or field that does not comply with the specifications may cause the search engine to fail to correctly parse your structured data, and may even bring negative effects.Strongly recommend you to use Google's structured data testing tool or rich media search results testing tool to verify the effectiveness after deploying custom Json-LD.Moreover, AnQiCMS custom tags will override default conflict fields, so it is clear what information you want to replace and what you want to keep when customizing.