How to Deploy Third-Party Web Pages to Subdirectories: A Complete Guide (Including SEO Optimization)

How to Deploy Third-Party Web Pages to Subdirectories: A Complete Guide (Including SEO Optimization)
CapGo AI founder YG's speech on AI SEO at the Ahrefs Summit

In simple terms: After generating a large number of web pages, to maximize SEO traffic, the brand (hello.com) needs to first place the web pages on the subdomain abc.hello.com, then use a reverse proxy to place the web pages on hello.com/abc

In current website content distribution and SEO strategy, deploying third-party generated webpages (such as Webflow, Framer, CapGo.ai, WordPress, etc.) to a subdirectory of the main site (rather than a subdomain) is a more advantageous approach. This article will systematically explain this process, from SEO-related pros and cons analysis to DNS configuration, CNAME and TXT Record settings, reverse proxy operations, and alternative solutions, helping you seamlessly integrate the process.

Table of Contents

  1. The Impact of Subdomains and Subdirectories on SEO
  2. Overview of Steps to Integrate Webflow or Capco Websites into Subdirectories
  3. DNS Settings: Introduction and Configuration of CNAME and TXT Records
  4. Implementing Subdirectory Deployment Using a Reverse Proxy
  5. Alternative Solution: Exporting HTML Files for Manual Upload

The Impact of Subdomains and Subdirectories on SEO

From a structural perspective:Subdomains (e.g., blog.example.com) are treated by search engines as “independent websites.”Subdirectories (e.g., example.com/blog) are treated as part of the main site.

Which is better for SEO?

Although Google has stated that there is little difference between subdomains and subdirectories in terms of ranking, extensive SEO practice has shown that using subdirectories makes it easier to inherit the main site's authority and trustworthiness, resulting in better ranking performance.✅ Recommended: Deploy pages generated by Webflow or CapGo.ai to a subdirectory of the main site (e.g., example.com/landing/).

Steps to integrate the website into a subdirectory

  1. Prepare the page: Complete the webpage design and publish it in Webflow or CapGo.ai.
  2. Obtain the page access URL: Record the URL after publishing in Webflow or CapGo.ai.
  3. Configure DNS: Connect Webflow or CapGo's domain name service to your domain name.
  4. Set up a reverse proxy: Point the subdirectory to Webflow or CapGo.ai content.
  5. (Optional) Download the HTML file and upload it to the main site server as a static resource deployment.

DNS settings: CNAME and TXT records

When connecting a third-party platform to your domain name, you first need to modify the DNS records. You can do this in your domain management platform (such as Cloudflare, Alibaba Cloud, Namecheap, etc.).

What is a CNAME Record?

A CNAME (Canonical Name) record is used to map a subdomain to another domain.Example: Point webflow.example.com to proxy-ssl.webflow.com.

What is a TXT Record?

A TXT record is used to store text information, typically for identity verification purposes, such as:Domain ownership verification (e.g., Google Search Console)SSL certificate application verificationEmail service SPF/DKIM verification🛠️ Practical Tip: Webflow typically requires you to add a CNAME and a TXT record to verify the domain and enable SSL.

Implementing Subdirectory Deployment via Reverse Proxy

What is a Reverse Proxy?

A reverse proxy refers to: the main server acting as an intermediary for client requests, forwarding the requests to the backend Webflow/CapGo website, and then returning the response to the user.

Example:

When a user accesses example.com/landing/:

  1. The request is sent to your main server (e.g., Nginx or Apache).
  2. The main server forwards the request to webflow.example.com via the reverse proxy.
  3. The returned webpage content is then “wrapped” under the /landing/ path and returned to the user.

Nginx configuration example:

location /landing/ {proxy_pass https://webflow.example.com/;proxy_set_header Host webflow.example.com;proxy_set_header X-Real-IP $remote_addr;}⚠️ Note on path handling: Ensure that static resources in subdirectories load properly (JS and CSS paths must be mapped consistently).

Alternative solution: Upload HTML files to the main site

If you do not want to use a reverse proxy, you can use another method:

  1. Export static web pages from Webflow/CapGo.ai:

This is typically a compressed package containing HTML, CSS, JS, images, and other files.

  1. Upload to the /landing/ directory on your main site server:

Use FTP, SCP, or the website's backend management system for upload.

Advantages:

Faster loading and more stable page performance.No need to configure a reverse proxy or worry about cross-domain issues.

Disadvantages:

Inconvenient for content updates; each modification requires re-exporting and re-uploading.Not suitable for dynamic content.

Summary and Best Practices

SolutionAdvantagesDisadvantagesRecommended Scenarios
Subdirectory + Reverse ProxyGood SEO, automatic content updatesComplex configurationRecommended as the first choice
Subdomain DeploymentSimple configuration, supports native platform integrationIndependent SEO weightingOptional backup solution
Static HTML UploadStable and fast, pure frontend deploymentNot suitable for frequent updatesUse when there are few pages

🔚 Final reminder: If you prioritize optimal SEO performance and brand consistency, we recommend prioritizing the subdirectory + reverse proxy deployment method.

Read more

新手也能看懂:Google Search Console(GSC)注册与配置超简单指南

新手也能看懂:Google Search Console(GSC)注册与配置超简单指南

这是一篇给新手的超简单指南。 你不需要懂 SEO,也不需要是工程师,只要跟着做,就可以完成 Google Search Console(简称 GSC) 的注册。 一、什么是 Google Search Console?(一句话版) Google Search Console = Google 给网站主的“后台仪表盘”。 它可以帮你看到: * Google 有没有收录你的网站 * 用户通过哪些关键词找到你 * 网站有没有技术问题 👉 所有做 SEO / GEO 的网站,都必须有 GSC。 二、注册 GSC 前你需要准备什么? 只需要 2 样东西: 1️⃣ 一个 Google 账号(Gmail 就可以) 2️⃣ 你自己的网站域名(

By CapGo AI - by YG
网站网页如何上线?一篇看懂子域名 (Sub-domain)、反向代理(Reverse Proxy)与HTML 文件上传的客户指南

网站网页如何上线?一篇看懂子域名 (Sub-domain)、反向代理(Reverse Proxy)与HTML 文件上传的客户指南

这是一篇写给新手看的说明型博客。我们尽量不用技术术语,用专业但简单的方式,帮你理解: * 网页是怎么“上线”的 * Sub-domain(子域名)、反向代理、HTML 分别是什么 * CapGo 提供的几种网页上线方式,有什么区别 * 不同阶段的网站,应该怎么选 一、先说结论(给没时间看全文的你) * Google 只关心 HTML 内容本身,不关心你用什么技术上线 * 对大多数公司来说,反向代理是最快、最省人力、长期效果最好的方式 * 如果你的网站 DR 较低或是新站,用子域名 sub-domain 是一个非常简单、合理的选择 下面我们一步一步解释。 二、三个基础概念,用最简单的话说明 1️⃣ 什么是 HTML? HTML 就是网页文件本身。 你可以把它理解为: * 一个网页说明书 * 里面有文字、图片、链接

By CapGo AI - by YG
如何通过 Reddit 营销获得 AI 引用 — 2026 终极 GEO/AEO 指南

如何通过 Reddit 营销获得 AI 引用 — 2026 终极 GEO/AEO 指南

一份完整、实用的 AI 可见性操作手册 Reddit 已悄然成为 ChatGPT、Perplexity、Google AI Overview 以及其他回答型 AI 系统的重要引用来源之一。如果你的品牌或专业知识出现在 Reddit 讨论中,用户提问相关问题时,AI 引用、改写或重复使用你内容的可能性正在不断增加。 用户可以利用 CapGo AI 表格 来批量自动化管理 Reddit 内容! 本指南将解释 AI 如何选择 Reddit 内容、真实案例的洞察,以及如何参与 Reddit 讨论而不被封禁、质疑或忽略。 示例方法:当 Google AI Overview 引用内容时,它会用紫色标出来源内容。我们以 “The Best Math Solver”

By CapGo AI - by YG
Adobe 收购 Semrush — 对 AI 营销与 GEO 的未来意味着什么

Adobe 收购 Semrush — 对 AI 营销与 GEO 的未来意味着什么

🔥 AI 营销领域最大的一次变革刚刚发生——但大多数人还没有意识到其深远影响。 🚨 Adobe 已正式以 19 亿美元收购 Semrush——这笔交易将重新定义 AI 营销、品牌可见性以及 GEO(生成式引擎优化)的未来。 这不仅仅是一条新闻标题。 对于从事 SEO、AI 搜索或绩效营销的人来说,这是一次震撼性的时刻。 Adobe——一个已经为 99% 的财富 100 强企业提供体验管理的公司——现在将整合全球最具影响力的搜索智能平台之一 Semrush。这意味着一件事: 🔮 我们正在进入一个新时代,AI 营销 + GEO 将成为品牌发现的核心引擎。 💡 为什么这笔交易如此重要 过去 20 年,数字营销围绕一个核心理念: ➡️ 在 Google 排名 → 获取流量 → 转化增长 但今天的消费者正在迅速偏离传统搜索行为。相反,他们向 AI 工具提问:

By CapGo AI - by YG