Skip to main content

Change the Image Shared on Facebook / LinkedIn / Twitter

Set social media shared image

Updated over 2 months ago

Social media tools use open-graph meta tags to decide what image to display when you share a post or a page on their network.

By default, if you set a featured image to a page/post, that will be shared.

If you want to change that image, you can use plugins like RankMath SEO or Open Graph, which will have priority over the featured image. 

Using the RankMath SEO plugin

  1. Go to WordPress Dashboard → Plugins and install the RankMath SEO plugin.

  2. Edit the page or posts for which you want to change the Image displayed when the page or post is being shared on social networks.

  3. Click on the RankMath options (at the top right corner).

    RankMath - Open the Social Sharing Settings

  4. Click on the Social icon.

    RankMath - Social Sharing Settings

  5. Click the Add Image button, then upload or select an image from your WordPress Media Library.

    RankMath - Add/Change the OGG Image

Note: The size of the image used should be at least 600x315px. The recommended size is 1200x630px.

Using the RankMath SEO and the Visual Builder

  1. Open the page/post for which you want to change the Image displayed when the page or post is being shared on social networks in Visual Builder.

  2. Click the RankMath icon.

    Visual Builder - RankMath settings

  3. Click the Social Media tab.

    Visual Builder - RankMath Social Sharing settings

  4. Click the Add Image button.

    Visual Builder - RankMath change the OGG Image

Using the Open Graph plugin

The Open Graph WordPress plugin is a good alternative if you prefer a much simpler solution.

  1. Go to WordPress Dashboard → Plugins and install the Open Graph plugin.

  2. Edit the page or posts for which you want to change the Image displayed when the page or post is being shared on social networks.

  3. Click the Upload/Choose button.

    Open Graph - Social Sharing setting

  4. Upload or choose the image from your WordPress Library.

Note: The size of the image used should be at least 600x315px. The recommended size is 1200x630px.

Did this answer your question?