When using AnQiCMS for website content operation, we often pay attention to many details of search engine optimization (SEO), among which structured data, especially Json-LD format, plays an increasingly important role in improving the display effect of search results.Whether AnQiCMS supports this feature, the answer is affirmative, and it provides flexible application methods.
AnQiCMS has built-in support options for structured data in its backend management system.Once the relevant feature is enabled, the system will automatically insert the basic Json-LD tags on the page to help search engines better understand the content of the page.This built-in mechanism is very convenient for quick deployment and ensuring that the website has basic structured data, especially suitable for most general content types.
However, for content operators who pursue higher levels of customization, the default structured data may not fully meet the needs of all business scenarios.For example, different industries or specific content types (such as detailed product parameters, professional article comments, complex event schedules, etc.) may require more precise or unique Json-LD information.{% jsonLd %}The template tag, which allows content operators to finely control structured data.
By using this custom tag, we can achieve many optimizations that are difficult to achieve with default functions.For example, we can precisely define and inject specific attributes that comply with the Schema.org standard based on different content models, ensuring that search engines can accurately capture key information such as the author of the article, publication date, user ratings, or product price, inventory, and reviews.This fine-grained control helps generate richer and more attractive rich media snippets (Rich Snippets), thereby significantly improving the visibility and click-through rate of the website on search result pages.
To implement Json-LD in AnQiCMS, first make sure that the structured data feature is enabled in the background settings. Then, we can proceed to the website template (usuallyheadorbodyThe beginning tag is used in{% jsonLd %}This tag is used to insert or overwrite the default Json-LD data. Its usage is very intuitive, allowing you to write standard Json-LD code blocks within it.
For example, if you want to add or modify author information and additional images for a document, you can write it like this:
{% jsonLd %}
<script type="application/ld+json">
{
"author": "AnQiCMS",
"image": [
"https://en.anqicms.com/anqicms.png"
]
}
</script>
{% endjsonLd %}
It is worth noting that the mechanism of AnQiCMS is very intelligent. If you pass{% jsonLd %}Tagged a custom field (such as the example aboveauthororimage), and if this field conflicts with the system-generated Json-LD data, then your custom content will take priority and override the default value.This provides great flexibility for content operators, allowing them to enjoy the convenience of system-generated content while also being able to intervene at any time for fine-tuning to ensure that Json-LD data remains highly relevant and accurate with the website content.
In summary, AnQiCMS not only focuses on the SEO-friendliness of the website's basics, but also enables content operators to display richer and more attractive fragments in search results by providing Json-LD structured data support.Whether it is through the quick deployment of built-in features or the deep optimization of custom tags, AnQiCMS is helping websites stand out in the highly competitive online environment.
Frequently Asked Questions (FAQ)
Customized
{% jsonLd %}Will the tag completely replace the system-generated Json-LD data?No, the custom tag will not completely replace the system-generated Json-LD. When you use{% jsonLd %}When a tag defines specific Json-LD fields, AnQiCMS will intelligently merge your custom content with the system default generated Json-LD.If the same field exists, your custom content will have higher priority and override the default value.This means you can optionally supplement or modify the default data instead of starting from scratch.I should put
{% jsonLd %}Where is the most appropriate position for the tag in the website template?Although the Json-LD block can be placed in the HTML document technically,<head>or<body>Part, but for **the search engine parsing efficiency and compatibility, it is usually recommended to place it in<head>the end of the tag, adjacent to</head>Before the tag. This ensures that the search engine can quickly find and parse structured data at the beginning of page loading.How to verify whether the Json-LD structured data I added to the AnQiCMS website is correct?