Unlock Local SEO Potential: How AnQiCMS Unlock Local SEO Potential: AnQiCMS how unlock local SEO potentialLocalBusinessCustomize Json-LD Structured Data

As an expert in website operations for many years, I know how important it is for search engines to truly 'understand' your website content in today's highly competitive digital environment.AnQiCMS (AnQiCMS) is an efficient and customizable content management system that not only performs well in content publishing and SEO optimization, but also provides a flexible mechanism to make your local merchant information stand out in search engines.

Today, let's delve into a SEO strategy that is crucial for local businesses: how to customize your AnQiCMS websiteLocalBusinessThe Json-LD structured data type.This will help search engines display your store information more accurately, improve local search rankings, and may result in richer search results (Rich Snippets).

Understanding the importance of Json-LD and LocalBusiness structured data

Firstly, let's talk about why Json-LD andLocalBusinessare so crucial.

Json-LD (JavaScript Object Notation for Linked Data) is a lightweight data format that allows you to embed structured data in web pages and describe your content in a machine-readable way.When search engine crawlers visit your website, they not only read visible text but also parse these Json-LD data to better understand your business entities, products, services, and their relationships.

whileLocalBusinessis a very important type in Schema.org (a structured data vocabulary developed and maintained by Google, Microsoft, Yahoo, and Yandex), specifically used to describe local businesses with physical locations.

  • Improve local search visibility:Help your business be found more easily in 'Nearby search', such as 'coffee shops near me'.
  • Optimize Google My Business Profile Display:Enrich your merchant knowledge panel, directly display business hours, phone number, address, and user rating stars on the search results page.
  • Enhance user experience:Users can obtain key information without clicking into the website, improving conversion rates.
  • Get rich media search results (Rich Snippets):For example, star ratings and price ranges are displayed directly in the search results to catch the eye.

AnQiCMS knows the importance of SEO for small and medium-sized enterprises and content operation teams, and its built-in advanced SEO tools, such as Sitemap generation, Robots.txt configuration, and TDK (Title, Description, Keywords) management, all lay a solid foundation for the search engine friendliness of the website.And customizing Json-LD is the key step to further refine these basic capabilities.

Json-LD in AnQiCMS: Interweaving Default and Customized

According to AnQiCMS's documentation, when you enable the structured data feature in the background functionality, the system will default to inserting a basic Json-LD tag in the page.This saves you the trouble of writing from scratch.LocalBusinessThis requires a complex structured data type with a large amount of detailed information, and the default generation may not fully meet your personalized needs.

It is fortunate that AnQiCMS provides great flexibility, allowing you to use template tags{% jsonLd %} ... {% endjsonLd %}to control the content of Json-LD freely. The core mechanism is: you in{% jsonLd %}Any Json-LD field defined within the tag will be merged with the default Json-LD data generated by the system.If your custom field conflicts with the default field (i.e., the field name is the same), your custom value will take precedence over the default value.This 'merge and override' strategy ensures the integrity of the basic data while also granting you the power of deep customization.

Build practical steps for LocalBusiness Json-LD

Next, we will teach you step by step how to customize Json-LD for local merchants information of AnQiCMS website.

第一步:Prepare your merchant information and AnQiCMS data source

Before writing Json-LD, be sure to organize all your merchant's key information.This information should already be set in the place that is available in your AnQiCMS backend, or you may need to create new custom fields to hold them.

Generally, you need the following key information:

  • Merchant Name (name):For example, 'AnQi Cafe'.
  • 商家类型 (@type):这是一个核心字段,比如Restaurant(餐厅)、Store(商店)、ProfessionalService(专业服务)或更具体的如CafeOrCoffeeShopPlease select the type that best fits your business according to Schema.org specifications.
  • Address (address):Including street address, city, province, postal code, and country.
  • Phone (telephone):Customer contact phone number.
  • Official website URL (url):Your official website link.
  • Logo (image):Your brand logo image link.
  • Description (description):Brief business introduction.
  • Business Hours (openingHoursSpecification):Your business dates and specific times.
  • Price Range (priceRange):For example$/$$/$$$Or a specific price range.
  • Customer Reviews (aggregateRating / review):If your website has integrated comment functionality, or you have a large number of reviews in your Google Business Profile.

In AnQiCMS, a lot of this information can be directly obtained through built-in tags:

  • Website Name (SiteName) and Website Logo (SiteLogo):Can be accessed{% system with name="SiteName" %}and{% system with name="SiteLogo" %}retrieved.
  • Home page address (BaseUrl): {% system with name="BaseUrl" %}.
  • Contact person, phone number, address, email, and other contact information:Pass{% contact with name="字段名称" %}Obtaining, for example{% contact with name="Cellphone" %}.
  • Home page description (Description): {% tdk with name="Description" %}.

ForBusiness hours/Detailed address breakdown (such as street, city, province)orCustomer reviewsAnQiCMS does not have a field directly built-in tag, you can flexibly use AnQiCMS'sCustom fields of the content modelorcustom settings parameters for contact informationfunction (seehelp-setting-contact.mdandhelp-content-module.md)。For example, you can create a parameter namedopeningHoursand enter the business hours data into it.

Step 2: Insert the custom Json-LD in the AnQiCMS template

Once you have collected and confirmed all necessary information and their corresponding AnQiCMS tags or custom fields, you can start inserting Json-LD into the template.

We generally recommend placing such global structured data in the public header file of the website (for examplepartial/header.htmlorbash.htmlIt depends on the structure of your template, seedesign-director.md), ensuring that each page can be loaded