Does AnQiCMS support Json-LD structured data output and how to customize its content?

Calendar 👁️ 79

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.

Related articles

How to call and display the TDK (title, keywords, description) information of the page in AnQiCMS template?

In website operation, TDK (Title, Keywords, Description) information plays a crucial role, directly affecting the visibility and click-through rate of the website in search engines.As the "business card" displayed on the website, the reasonable setting of TDK is the foundation of SEO optimization.AnQiCMS as a content management system focusing on SEO optimization naturally provides users with flexible and powerful TDK management and call functions.

2025-11-07

How does AnQiCMS avoid SEO issues caused by duplicate content through setting the canonical URL?

In website operation, content duplication is a common but often overlooked issue that may silently erode the SEO results we have worked hard to accumulate.When a search engine crawls and indexes website content, if it finds multiple URLs pointing to the same or highly similar content, it may fall into a This confusion can not only lead search engines to lower the weight of these duplicate pages, but may also affect the ranking of the entire website.As a content operator

2025-11-07

How to configure the Title, Keywords, and Description on the homepage of the AnQiCMS backend?

When operating a website, the Title (title), Keywords (keywords), and Description (description) on the homepage, commonly known as TDK, are the first threshold for search engines to understand the content of our website.They directly affect the display effect and click-through rate of websites in search results, which is crucial for the search engine optimization (SEO) of the website.AnQiCMS (AnQiCMS) fully understands the importance of these elements, and therefore provides a very intuitive and convenient TDK configuration function in the background, allowing you to easily manage even without a strong technical background.

2025-11-07

How to set custom URL aliases for articles, categories, and tags in AnQiCMS?

In AnQiCMS, setting up custom URL aliases for articles, categories, and tags is a very useful feature. It not only makes your website links more readable but also greatly benefits search engine optimization (SEO).A clear, keyword-rich URL, like a roadmap for search engines and users, helps enhance the professionalism and traffic of the website.AnQiCMS was designed with SEO-friendliness in mind from the beginning, featuring powerful static and URL alias management functions.This means you can convert the originally dynamic, complex parameterized link into a concise

2025-11-07

How to efficiently display the AnQiCMS article list and support multiple sorting, filtering, and pagination methods?

Efficiently display article lists in AnQiCMS and support various sorting, filtering, and pagination methods, which is the core link of content management.Understanding the flexible application of template tags can help you build highly customized and user-friendly content display pages. To achieve this goal, we mainly rely on the powerful template tag system of AnQiCMS, especially the core **`archiveList` tag**,配合**`pagination` tag** and various auxiliary filters and logical controls.### One, Core

2025-11-07

How to implement unified management and display of multi-site content in AnQiCMS?

Managing multiple websites can be a headache, as each site requires a separate system to maintain, which not only consumes a lot of time and effort but may also lead to a lack of consistency in brand image, delayed content updates, and difficulties in centralized data analysis and SEO optimization.Imagine if you could easily manage all the content of sites from a single backend and flexibly control their display, how efficient that would be!AnQiCMS is born to solve such pain points.It is not simply to allow you to run multiple independent CMS on the same server, but to provide a centralized solution that enables you to maintain a unified

2025-11-07

How to use the flexible content model of AnQi CMS to customize the display structure of content?

## Unlock the potential of content: Use AnQi CMS flexible content model to customize display structure In today's fast-changing digital world, website content is no longer just simple articles and pages.For many operators, it may include a variety of products, captivating activities, professional detailed project cases, and even unique team member introductions.Traditional content management systems (CMS) often use a fixed content structure, forcing diverse information to be cramped into the 'title' and 'body' boxes, resulting in a monotonous display of content and a greatly reduced user experience

2025-11-07

How can AnQi CMS support the switching and correct display of multilingual content?

Today, with the increasing globalization, it is crucial for website content to reach users in different languages.AnQi CMS understands this need and provides a powerful and flexible multilingual support feature to help us easily achieve content internationalization switching and correct display. ### Core Concept and Basic Configuration AnQi CMS has a clear hierarchical design in multilingual processing.It distinguishes the translation of system-built-in text, custom template text translation, and the organization and display of actual content.This allows us to flexibly respond to multilingual needs in different scenarios. First

2025-11-07