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

如果用建站工具设置子域名

如果用建站工具设置子域名

以下是一个详细指南,教你如何为建站工具(比如 CapGo, Webflow、Framer、Wix 等)设置一个 子域名(subdomain),比如 site.yourdomain.com: 🧭 一、前提条件 在开始之前,你需要准备: 1. ✅ 一个已注册的主域名(例如 yourdomain.com) 域名注册商可以是 GoDaddy、Namecheap、阿里云、腾讯云等。 2. ✅ 访问你的域名 DNS 管理面板的权限。 3. ✅ 你的网站(例如 Webflow 发布后)已经有了一个目标地址(通常 Webflow 会告诉你需要添加哪些记录,如 proxy.webflow.io)。 ⚙️ 二、在 Webflow(或其他建站工具)

By CapGo AI - by YG
🌍 多语言网站的 SEO (AEO, GEO) 最佳实践:子目录结构与语言代码规范

🌍 多语言网站的 SEO (AEO, GEO) 最佳实践:子目录结构与语言代码规范

在当今全球化的网络环境中,支持多语言的网站已经成为许多品牌的标配。 然而,如何在不同语言之间实现良好的 SEO 表现,却是许多开发者和运营人员容易忽视的关键点。 本文将系统讲解: * 为什么使用**子目录(subfolder/subdirectory)**结构是 SEO 的最佳选择; * 如何正确设置 /en/、/zh-Hans/ 等语言路径; * 以及到哪里可以查找标准的语言代码(如 es 代表西班牙语)。 一、为什么选择子目录结构? 在多语言 SEO 实践中,URL 结构是搜索引擎理解网站语言版本的核心信号之一。 主流方案包括: * 不同顶级域名(ccTLD,如 example.cn 、example.fr) * 子域名(subdomain,如 zh.example.com) * 子目录(subfolder,如 example.com/zh-Hans/

By CapGo AI - by YG