Early Access
og:image:secure_url
Learn how to use the og:image:secure_url meta tag to improve your site.
The og:image:secure_url meta tag specifies the secure URL for an image that represents the content of the page. This meta tag is used when the page is shared on social media platforms supporting the Open Graph protocol.
Code Examples
<meta property="og:image:secure_url" content="https://example.com/image.jpg" />
<meta property="og:image:secure_url" content="http://example.com/image.jpg" />
<meta property="og:image:secure_url" content="" />
Recommendations
- Use HTTPS URLsEnsure the URL starts with HTTPS to denote a secure connection. Social platforms prefer secure content to maintain user security.
- High-Resolution ImagesUse high-resolution images to capture the user’s attention. Social platforms often have minimum size requirements for shared images to display them prominently.
- Compress ImagesOptimize image size without sacrificing quality to improve load times, enhancing shareability across social platforms.
- Image Aspect RatioAdhere to recommended aspect ratios to ensure the image displays correctly without cropping important details.
Related Documentation
Related Meta Tags
og:audio
Defines the audio content that will accompany your page when it is shared on social media platforms that support Open Graph.
<meta property="og:audio" content="http://example.com/birdsong.mp3">
og:audio:secure_url
A secure URL to an audio file to accompany your object within the Graph. Used when the standard og:audio tag URL does not support SSL.
<meta property="og:audio:secure_url" content="https://example.com/music/song.mp3">
og:audio:type
Defines the MIME type of the audio content referenced in the og:audio tag, ensuring platforms like Facebook understand how to process the linked audio file.
<meta property="og:audio:type" content="audio/mpeg">
og:audio:url
Specifies the URL of the audio content to be used as a rich object in a social graph. It is meant for integrating audio content that represents the page or is closely related to the content of the page, enhancing its representation on social media platforms.
<meta property="og:audio:url" content="https://example.com/audio.mp3">
og:description
Defines the description of your content as you want it to appear when shared on social platforms like Facebook, LinkedIn, and others that adhere to the Open Graph protocol.
<meta property="og:description" content="Discover the top 10 SEO strategies to boost your website's traffic in 2023. Click to learn more!">
Community