Vercel / Netlify / Cloudflare Pages
Set up blog integration using your cloud hosting platform's built-in rewrite rules.
Modern hosting platforms like Vercel, Netlify, and Cloudflare Pages support proxy rewrites natively: no server configuration needed. You add a small config file and the platform handles everything. This is the easiest production setup for any static site or SPA.
Vercel: Add rewrites to vercel.json
Create or edit vercel.json in your project root:
{
"rewrites": [
{
"source": "/blog",
"destination": "https://app.aeo.how/{brand_slug}/blog"
},
{
"source": "/blog/:path*",
"destination": "https://app.aeo.how/{brand_slug}/blog/:path*"
}
]
}Replace {brand_slug} with your own brand slug — the first segment of your platform blog URL (app.aeo.how/{brand_slug}/blog). Deploy as usual; Vercel proxies /blog requests to AEO and forwards your domain in x-forwarded-host.
If you're using Next.js on Vercel, you can use either vercel.json rewrites or next.config.js rewrites; both work. Pick one.
Netlify: Add redirects to netlify.toml
Create or edit netlify.toml in your project root:
[[redirects]]
from = "/blog"
to = "https://app.aeo.how/{brand_slug}/blog"
status = 200
force = true
[[redirects]]
from = "/blog/*"
to = "https://app.aeo.how/{brand_slug}/blog/:splat"
status = 200
force = trueReplace {brand_slug} with your own brand slug. The status = 200 is critical: it tells Netlify to proxy (rewrite) rather than redirect. The :splat placeholder captures the rest of the URL path.
Alternatively, you can use a _redirects file in your publish directory with the same rules.
Cloudflare Pages: Add a _redirects file
Create a _redirects file in your build output directory (usually dist/ or build/):
/blog https://app.aeo.how/{brand_slug}/blog 200
/blog/* https://app.aeo.how/{brand_slug}/blog/:splat 200Replace {brand_slug} with your own brand slug. The 200 status code tells Cloudflare to proxy rather than redirect.
Test after deployment
After deploying, visit yourdomain.com/blog. Check that articles load correctly, and that the browser URL stays on your domain (no redirect to app.aeo.how).
Always use status 200 (proxy/rewrite), not 301 or 302 (redirect). A redirect would send visitors to app.aeo.how instead of keeping them on your domain.
All three platforms send the proxied request with Host: app.aeo.how and forward your domain in x-forwarded-host, which is exactly what AEO expects. Never add a rule that overwrites Host.
These config files work regardless of your frontend framework (React, Vue, Angular, Svelte, plain HTML).