How to use Shopify for programmatic SEO

How to use Shopify for programmatic SEO
CapGo AI participates in China International Medical Equipment Fair as an AI overseas expansion expert

🧱 Step 1: Create a Liquid template (page template)

  1. Open the Shopify admin

👉 “Online Store > Themes > Edit Code”

  1. Click on the /templates folder on the left

👉 Click “Add New Template”

  1. Select “page” as the type and enter “seo-template” as the name

👉 It will create a new file: page.seo-template.liquid

  1. Paste the following code:

liquidCopyEdit{% layout 'theme' %}

<section class="seo-page">
<h1>在 {{ page.metafields.custom.city }} 吃 {{ page.metafields.custom.food }}</h1>

<p>{{ page.metafields.custom.description }}</p>

<div class="html-body">
{{ page.content }}
</div>
</section>

Notes:

  • city, food, and description are the custom fields (metafields) you will define later in the CSV file
  • age.content will render the HTML body content of the page

🧾 Step 2: Prepare the Matrixify CSV file

You can use Excel or Google Sheets to write content. Here is a minimal viable example:

Title Handle Template Body HTML Metafield: custom.city Metafield: custom.food Metafield: custom.description
Best Pizza in Beijing best-pizza-in-beijing page.seo-template

This pizza place is amazing!

Beijing Pizza Authentic Italian pizza fused with local flavors
Best Pizza in Shanghai best-pizza-in-shanghai page.seo-template

You must try their Margherita.

Shanghai Pizza Pizza place recommended by Shanghai locals

Description fields:

  • Title: Page title
  • Handle: Page link URL (will generate /pages/handle)
  • Template: Enter the name of the template you just created: page.seo-template
  • Body HTML: HTML body text
  • Metafield: custom.xxx: Your custom field (must be defined in advance in the Shopify backend)

⚙️ Step 3: Add custom fields (Metafields) in Shopify

  1. Shopify Backend

👉 “Settings > Custom Data > Pages”

  1. Add the following fields:
    1. city (text field)
    2. food (text field)
    3. description (multi-line text)

📌 Note that the namespace is custom (default)


🚀 Step 4: Upload the CSV file (using Matrixify)

  1. Install the Matrixify app (https://apps.shopify.com/matrixify)
  2. After opening the app:
    1. Upload your CSV file
    2. Select the “Pages” import type
    3. Click “Import”

Wait a few minutes, and all pages will be created automatically.


🌐 Step 5: Visit your SEO page


Open these URLs to see the results:

  • https://yourstore.com/pages/best-pizza-in-beijing
  • https://yourstore.com/pages/best-pizza-in-shanghai

✅ Summary: Process overview

Step Action
1 Create Liquid Page Template
2 Define Metafields Custom Fields
3 Prepare and Upload CSV with Matrixify
4 Automatically Generate Pages and Bind Templates
5 Page Goes Live, Adapts to SEO Landing Page Requirements

📌 CAPGO AI Service Model:


During the collaboration process, CAPGO will provide page structure recommendations and content field requirements. The client team will then complete the design and configuration of the Shopify template (such as Liquid templates and Metafields settings) according to the requirements.

Subsequently, CAPGO will generate large-scale SEO content based on the template structure and deliver it to the client via CSV or API for bulk import into Shopify, enabling efficient programmatic landing page construction.

Read more

新手必读|5 分钟完成 Google Search Console(GSC)注册指南

新手必读|5 分钟完成 Google Search Console(GSC)注册指南

结论先行:为什么你一定要注册 GSC? 如果你希望你的网站: * 能被 Google 正确收录 * 能被潜在客户在搜索中找到 * 能持续获得自然流量增长 那么 Google Search Console(简称 GSC)是第一步,也是必做的一步。 GSC 是 Google 官方提供的免费工具,用来帮助网站所有者了解并优化网站在 Google 搜索中的表现。你可以把它理解为: 这是 Google 给网站主的“官方后台”。 通过 GSC,你可以清楚地知道: * Google 有没有看到、抓取和收录你的网站 * 用户是通过哪些关键词进入你的网站 * 网站是否存在技术或 SEO 问题 👉 无论你是否懂 SEO、是否是技术人员,只要你有网站,就应该注册 GSC。 一、什么是 Google Search Console?

By CapGo AI - by YG
新手也能看懂|CapGo 网页是如何上线到你官网的?

新手也能看懂|CapGo 网页是如何上线到你官网的?

先说结论 如果你用 CapGo 生成了很多 SEO / GEO 网页,下一步最重要的事只有一件: 👉 把这些网页“放到你的官网里”,而且是用对搜索引擎最友好的方式。 CapGo 帮你把网页上线到官网,一共有三种方式: 1. HTML 文件上传:把网页文件直接放进你的服务器 2. 子域名:网页显示在 xxx.你的域名 下 3. 反向代理:网页显示在 你的域名/目录 下 核心结论很简单: * Google 只看 HTML 内容本身,不关心你用什么技术 * 但 Google 非常在意:这些内容算不算你主站的一部分 * 对 90% 的中大型公司来说,反向代理 = 上线最快 + SEO 效果最好 + 最省人力 下面我们用不讲技术术语的方式,一步一步讲清楚。

By CapGo AI - by YG