Unlock local SEO potential: How AnQiCMS can helpLocalBusinessCustomize Json-LD structured data
As an expert who has been deeply involved in website operations for many years, I know how important it is to have search engines truly understand the content of your website in today's highly competitive digital environment.AnQiCMS (AnQiCMS) is an efficient and customizable content management system that excels in content publishing and SEO optimization, and also provides flexible mechanisms to make your local merchant information stand out in search engines.
Today, let's delve deeply into an SEO strategy that is crucial for local businesses: how to customize your AnQiCMS websiteLocalBusinessA type of JSON-LD structured data. 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.
AndLocalBusinessIs a very important type in Schema.org (a structured data vocabulary maintained by Google, Microsoft, Yahoo, and Yandex), specifically used to describe local businesses with physical locations.By precisely marking your business name, address, phone number (usually referred to as NAP information), business hours, service type, customer reviews, etc., you can:
- Improve local search visibility:Help your business be more easily found in 'Nearby search', such as 'Nearby coffee shops'.
- 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 access key information without clicking on the website, improving conversion rates.
- Get rich media search results (Rich Snippets):For example, display eye-catching information such as star ratings, price ranges, and other information directly in the search results.
AnQiCMS fully understands the importance of SEO for small and medium-sized enterprises and content operation teams. Its built-in advanced SEO tools, such as Sitemap generation, Robots.txt configuration, and TDK (Title, Description, Keywords) management, lay a solid foundation for the search engine friendliness of the website.And customizing Json-LD is exactly the key step to further elevate these basic capabilities.
The integration of default and custom Json-LD in AnQiCMS.
According to the AnQiCMS documentation, after enabling the structured data feature in the background function, the system will default to inserting a basic Json-LD tag on the page.This saves you the trouble of starting from scratch. However, for things likeLocalBusinessSuch a complex structured data type requires a large amount of detailed information, the default generation may not fully meet your personalized needs.
luckyly, AnQiCMS offers great flexibility, allowing you to use template tags{% jsonLd %} ... {% endjsonLd %}control the content of Json-LD freely. The core mechanism is: you are{% 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), then your custom value will take precedence over the default value.This 'merge and override' strategy ensures the integrity of the basic data while also giving you the power to customize deeply.
Build practical steps for LocalBusiness Json-LD
Next, we will guide you step by step on how to customize Json-LD for local merchants on the AnQiCMS website.
Step 1: Prepare your merchant information and AnQiCMS data source
Before starting to write Json-LD, please be sure to organize all your merchant's key information.This information should be set in the existing place in your AnQiCMS backend, or you may need to create new custom fields to carry them.
Generally, you need the following key information:
- Merchant Name (name):For example, 'AnQi Cafe'.
- Merchant type (@type):This is a core field, such as
Restaurant(Restaurant),Store(Store),ProfessionalService(Professional service) or more specific such asCafeOrCoffeeShopPlease select the type that best fits your business according to the Schema.org specification. - Address (address):Including street address, city, province, postal code and country.
- Telephone (telephone):Customer contact phone.
- Official website URL (url):Your official website link.
- Logo (image):Your brand logo image link.
- Description (description):A brief business introduction.
- Business hours (openingHoursSpecification):Your business date and specific time.
- Price Range (priceRange):For example
$/$$/$$$Or a specific price range. - Customer Review (aggregateRating / review):If your website has an integrated comment feature, or you have a large number of reviews in your Google business profile.
In AnQiCMS, much of this information can be directly obtained through built-in tags:
- Website Name (SiteName) and Website Logo (SiteLogo):Can pass through
{% system with name="SiteName" %}and{% system with name="SiteLogo" %}Retrieve. - Website home page address (BaseUrl):
{% system with name="BaseUrl" %}. - Contact person, phone number, address, email, etc.:By
{% contact with name="字段名称" %}Obtain, for example{% contact with name="Cellphone" %}. - Home Description (Description):
{% tdk with name="Description" %}.
ForBusiness Hours/Detailed Address Split (such as street, city, province)orCustomer ReviewsFields that AnQiCMS does not have built-in tags directly, you can flexibly utilize AnQiCMS'sCustom fields for content modelorcustom settings parameters for contact informationfunction (seehelp-setting-contact.mdandhelp-content-module.mdFor example, you can create a namedopeningHourscustom parameter and enter the business hours data into it.
Step two: Insert the custom Json-LD in the AnQiCMS template
Once you have collected and confirmed all the necessary information and its corresponding AnQiCMS tags or custom fields, you can proceed to insert Json-LD into the template.
We usually 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 load