
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeI understand your frustration! The filename changes you're making in Sanity Studio are indeed cosmetic for the Studio interface only - they don't automatically change the actual CDN URLs that your production site uses.
Here's what's happening: When you upload an image to Sanity, it's stored with a hash-based filename (like bc4ade6a97553e67ac0e2c336f27004c8c7cd07c-1000x1000.png). This hash is based on the file's content and ensures cache efficiency - it never changes unless the actual image file changes.
Sanity supports what's called "vanity filenames" for SEO purposes. You can append your SEO-friendly filename to the end of the hash-based URL, and it will still work perfectly!
The format is:
https://cdn.sanity.io/images/<projectId>/<dataset>/<hashedFileName>/<your-seo-filename.png>?<params>
For example:
https://cdn.sanity.io/images/yourproject/production/bc4ade6a97553e67ac0e2c336f27004c8c7cd07c-1000x1000.png/product-name-seo-friendly.png?w=800
Query the original filename from your image asset documents (it's stored in the originalFilename field or you can use a custom field you've designated for SEO-friendly names)
Append it to your image URLs when building them in your frontend code. If you're using @sanity/image-url, you'll need to manually append the vanity filename to the generated URL.
Update your image URL builder to include this filename. For example:
const imageUrl = urlFor(image).url() + '/' + image.asset.originalFilenameThe beauty of this approach is that the hash portion remains unchanged (so caching works perfectly), but search engines see the SEO-friendly filename in the URL path, which is exactly what Google's image SEO guidelines recommend.
Important notes:
?w=800&auto=format) continue to work normally after the vanity filenamedl parameter you found is different - it forces a download with that filename, but doesn't change the URL for SEO purposesSo to answer your question directly: yes, the Studio filename changes are cosmetic, but you can achieve your SEO goals by implementing vanity filenames in your frontend code!
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