Connecting Your Blog to a Subdirectory (/blog) via Reverse Proxy
The ultimate guide on routing yourdomain.com/blog to Nurio using Vercel Next.js rewrites, Cloudflare Workers, or Nginx for maximum SEO authority.
Overview & Key Takeaways
- Hosting on a subdirectory (yourdomain.com/blog) consolidates 100% of domain authority compared to subdomains.
- Next.js and Vercel users can configure rewrites in next.config.js with 4 lines of code.
- Cloudflare Workers offer instant zero-latency edge reverse proxying for any custom tech stack.
Step-by-Step Instructions
Copy your Nurio Origin URL
Navigate to "Website" in your dashboard and find your assigned Nurio origin URL (e.g. `https://your-workspace.nurio.site`).
Add Rewrites in Next.js (next.config.js)
Add the following rewrites block into your Next.js configuration file:
async rewrites() {
return [
{ source: '/blog', destination: 'https://nurio.sh/proxy/acme-corp/blogs' },
{ source: '/blog/:path*', destination: 'https://nurio.sh/proxy/acme-corp/blog/:path*' }
];
}// next.config.js
module.exports = {
async rewrites() {
return [
{
source: '/blog',
destination: 'https://YOUR-SUBDOMAIN.nurio.site/blog',
},
{
source: '/blog/:path*',
destination: 'https://YOUR-SUBDOMAIN.nurio.site/blog/:path*',
},
];
},
};Deploy & Verify Live Connection
Deploy your updated website. Open yourdomain.com/blog in your browser, then return to Nurio dashboard to run the live proxy health verification check.
Ready to create your post?
Open your Nurio dashboard to run the AI generator with your target keywords.
Related Documentation
How to Create an SEO-Optimized Post with AI
A step-by-step walkthrough on researching keywords, generating an outline, writing a 1,500+ word article with web search grounding, and polishing in the editor.
SEO & DiscoveryRunning a Competitor Content Gap Scan & Keyword Discovery
Discover high-intent keyword gaps your competitors rank for and turn them into automated publishing streams with a single click.