Skip to content

Website Social Share Preview Setup

Published:
by 22Xy

In today’s digital world, making sure your website looks appealing when shared on social media is essential. Setting up the right metadata can boost your site’s visibility and engagement. Here’s a straightforward guide to help you get started.

Meta Tags Checklist

To ensure your website is optimized for social sharing, verify the following meta tags:

Example Code

<!-- HTML Meta Tags -->
<title>Semantic Layer</title>
<meta
  name="description"
  content="Semantic Layer is bringing better incentive alignment to dApps, enabling MEV internalization and sequencing sovereignty."
/>

<!-- Facebook Meta Tags -->
<meta property="og:url" content="https://semanticlayer.io/" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Semantic Layer" />
<meta
  property="og:description"
  content="Semantic Layer is bringing better incentive alignment to dApps, enabling MEV internalization and sequencing sovereignty."
/>
<meta property="og:image" content="https://i.imgur.com/Zip0gc2.jpg" />

<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image" />
<meta property="twitter:domain" content="semanticlayer.io" />
<meta property="twitter:url" content="https://semanticlayer.io/" />
<meta name="twitter:title" content="Semantic Layer" />
<meta
  name="twitter:description"
  content="Semantic Layer is bringing better incentive alignment to dApps, enabling MEV internalization and sequencing sovereignty."
/>
<meta name="twitter:image" content="https://i.imgur.com/Zip0gc2.jpg" />

Image Requirements

Testing and Cache Clearing

To ensure your metadata changes are correctly reflected across platforms, follow these steps:

By following these steps, you can ensure that your website’s metadata is up-to-date and displays correctly across different platforms.

URL Accessibility

Patience

Allow time for changes to propagate, which can take several hours.

Platform-Specific Checks (Optional)

By following these steps, you can ensure your website is well-prepared for social media sharing, enhancing its visibility and engagement.


Previous Post
Adding LaTeX Equations in blog posts
Next Post
Web3 = Subculture