In today's highly competitive online environment, it is more important than ever to make your website content stand out in search engines.Relying solely on keyword stuffing and traditional SEO methods is no longer enough to achieve **results.Structured data, especially structured data implemented through Json-LD format, is becoming a key factor in improving search engine display results and attracting more targeted users' attention.AnQiCMS (AnQiCMS) knows this and provides powerful and flexible features to help you easily master this technology.

Structured data: Give search engines a 'map'.

Imagine, as search engine spiders crawl your website, it's like a person arriving in a strange city for the first time.Traditional content is like the scattered buildings and landmarks in this city, although they can be seen, it is not necessarily known their specific use and importance.Structured data is like a precisely drawn map and a detailed guidebook, clearly telling search engines that certain text on your page is an article title, a certain number is a product price, a certain image is the main product image, a certain date is the publication time, and so on.

Json-LD (JSON for Linking Data) is one of the structured data formats recommended by major search engines such as Google and Baidu. It is embedded in web pages in the form of JavaScript objects.<head>or<body>This does not affect the display of page content, but can provide rich contextual information for search engines.When search engines understand these structured data, your website content has the opportunity to appear in search results pages in more attractive forms, such as 'rich snippets' with images, ratings, authors, prices, etc., thereby significantly increasing click-through rates.

How AnQiCMS intelligently generates basic Json-LD

AnQi CMS took full consideration of SEO friendliness from the beginning of its design, it not only provides conventional SEO tools such as Sitemap generation, static URL, keyword library management, but also took the lead in structured data.You do not need to have profound programming knowledge, Anqi CMS can automatically insert default Json-LD tags in the page for you after you turn on the structured data feature.

This means that when you publish a new article, a new product, or create a new single page, Anqi CMS will automatically generate the corresponding Json-LD structured data based on the title, description, thumbnail, and publish time information you fill in the background. For example, an article may automatically be identified asArticleType, and fill in the core information such as article title, publication date, author, main image, etc.This automated capability greatly simplifies the deployment process of structured data, allowing you to focus more energy on content creation itself without worrying about complex code writing.

Flexible customization of Json-LD: Deeply optimize your content

Although the automatic generation function of Anqi CMS is already very powerful, different business scenarios and content types may require more specific and richer structured data descriptions. For example, an online course website may needCourseThe type of data, something a local business might needLocalBusinessThe type of data, or you may want to add more detailed comment rating information for the article.

For this, Anqi CMS provides highly flexible customization capabilities. You can use{% jsonLd %}...{% endjsonLd %}Label, customize the Json-LD content in the template.The strength of this tag lies in its ability to directly reference various template tags and variables provided by Anqie CMS in Json-LD scripts, enabling dynamic data population.

Specifically, when you use{% jsonLd %}When labeling, you can write JSON code that conforms to the Json-LD syntax within it.The Anqi CMS will intelligently merge the fields you customize with the Json-LD data generated by the system.If your custom field conflicts with the default field, your custom content will take precedence over the default value, thus achieving precise control.

Let's look at a simple example, suppose you want to add a custom author information to the article page's Json-LD and make sure the image address is dynamically retrieved:

{% jsonLd %}
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "{{ archive.Title }}",
  "image": [
    "{% archiveDetail with name='Logo' %}" // 动态获取文章封面首图
  ],
  "datePublished": "{{ stampToDate(archive.CreatedTime, "2006-01-02T15:04:05Z07:00") }}", // 动态格式化发布时间
  "author": {
    "@type": "Person",
    "name": "您的定制作者名称" // 您可以固定一个作者名称
  },
  "publisher": {
    "@type": "Organization",
    "name": "{% system with name='SiteName' %}", // 动态获取网站名称
    "logo": {
      "@type": "ImageObject",
      "url": "{% system with name='SiteLogo' %}" // 动态获取网站Logo
    }
  },
  "description": "{{ archive.Description|striptags|truncatechars:150 }}" // 动态获取文章描述,并进行截断和去除HTML标签处理
}
</script>
{% endjsonLd %}

In this example, we not only defined the article type (Article), but also utilized the Anq CMS's{{ archive.Title }}/{% archiveDetail with name='Logo' %}/{{ stampToDate(...) }}as well as{% system with name='SiteName' %}Tags, dynamically fill in the article title, pictures, publication time, website name and Logo information. Even the description can be filtered (striptags) and truncated (truncatechars),to better meet the requirements of Json-LD. This combination usage allows you to enjoy the convenience of AnQi CMS while also being able to customize deeply according to business needs.

The actual value brought by Json-LD

By generating and customizing Json-LD structured data through Anqi CMS, your website will gain multiple benefits:

  • Improve search engine visibility:Search engines can understand your content more accurately, thereby providing richer displays in search results, such as article thumbnails, rating stars, product prices, and so on, all of which can greatly attract the attention of users.
  • Increase Click-Through Rate (CTR):Rich abstracts stand out visually and often attract more user clicks. Even if the ranking does not increase significantly, it can bring more high-quality traffic.
  • occupy a place in the knowledge panel and selected summary: Structured data helps your content be recognized by search engines as an authoritative information source, thus giving you the opportunity to appear in the top selected summary or knowledge panel on the right of the search results.
  • Be prepared for future trends:With the popularity of voice search and AI interaction, structured data will become the basis for machine understanding and content recommendation.

In summary, AnQi CMS provides the ability to automatically generate and flexibly customize Json-LD structured data, allowing you to optimize the search engine display results of your website more efficiently and accurately.No matter whether it is a novice user or an experienced operator, everyone can easily create a more competitive website with the help of AnQi CMS.


Frequently Asked Questions (FAQ)

1. What is Json-LD, and how is it different from traditional SEO?

Json-LD is a structured data markup language based on JSON format, used to embed descriptive information in web pages to help search engines