Home · Teo Comyn · Shopify

Schema image URLs with protocol-relative //cdn

Shopify mistakes

What it means

Protocol-relative CDN URLs in schema can fail validation.

Why it happens on Shopify

Missing https: prepend on CDN URLs.

How to fix it: precise steps

Use image_url filter and prepend 'https:' for absolute URLs in JSON-LD.

Related issues