
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeThe concept of "canonicalisation" or canonical URLs isn't something you can globally disable in Sanity itself—it's actually a frontend implementation concern, not a CMS feature.
Here's what you need to understand:
Canonical URLs are HTML <link> tags (typically <link rel="canonical" href="https://example.com/page">) that you add to your page's <head> section. They tell search engines which version of a page is the "preferred" one when you have duplicate or similar content at multiple URLs. According to Sanity's canonical URL glossary, they help prevent duplicate content issues and consolidate SEO signals.
Since canonical tags are added in your frontend code (not in Sanity), here's how to remove them:
Look in your page templates where you render the <head> section. Common places include:
pages/_document.js, app/layout.tsx, or individual page componentsgatsby-ssr.js or page templatesFind and remove code that looks like this:
// Example in Next.js
<Head>
<link rel="canonical" href={canonicalUrl} />
</Head>Or in your SEO component/plugin that might be generating these tags automatically.
If you're using an SEO plugin or package (like next-seo, react-helmet, or a Sanity SEO plugin), you may need to:
Before removing canonical tags, be aware that:
Since your search results mentioned "Gatsby and Netlify," check:
gatsby-config.js for SEO pluginssrc/templates/<head> rendering logicThere is no global Sanity setting to disable canonicals—you control this entirely in your frontend code. If canonical tags are appearing on your site, they're being added by your frontend implementation, not by Sanity itself.
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.
Content operations
Content backend


The only platform powering content operations
By Industry


Tecovas strengthens their customer connections
Build and Share

Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag store