How to activate X Cards in Yoast SEO

X Cards is a system used by X. Combined with the Yoast SEO features, links shared on X will display previews with images and text excerpts. It is enabled by default to, but if you want to check whether this feature is activated, follow the steps below. We’ll also show you where you can enter your X profile.

In Yoast SEO Premium, you get full control of your X (and other social media) shares! There is no guesswork with the social preview feature. By seeing exactly what your posts look like when you share them, you get the chance to improve your social media presence.

How to activate X card data in Yoast SEO

The X card data feature in Yoast SEO is enabled by default. You can check this by going to Yoast SEO>Settings>General>Site features.

  1. Log in to your WordPress website

    When you log in, you will be in your Dashboard.

  2. Click on Settings in Yoast SEO

    In the menu on the left-hand side, click on the Yoast SEO menu. It will expand so you can open the Settings.
    Screenshot of the settings menu item in Yoast SEO

  3. Under General, open the Site representation settings

    Screenshot showing the site representation menu item

  4. If your site represents an organization, add your X profile

    If your site represents an organization, add your X profile here.

  5. If your site represents a person, select the user

    At the top of the Site representation settings, you can choose Person instead of Organization. Then select the correct user from the drop-down menu and save the changes.

  6. Follow the link to update the user profile

    Once you have saved the changes, you can follow the link to the WordPress user’s personal profile.

  7. Update your X profile

    You can now fill in your X username, connecting it to your site.

  8. In the Yoast SEO settings, go to Site features

    Screenshot showing the site features menu item in the general settings of Yoast SEO

  9. Scroll down to the X card data feature.

    Under the Social sharing category, X card data will automatically be enabled. The checkmark slider will be purple.

  10. If you make any changes, don’t forget to save your changes!

Using X Cards in Yoast SEO

You can edit your X card data in the Social media appearance of the Yoast SEO sidebar or meta box. If you’re using Yoast SEO Premium, you will see an actual preview. Want to learn more? Continue reading about the Facebook and X preview!

The X preview in the Yoast SEO sidebar

Yoast SEO automatically fills in the X card when optimizing your post with the SEO title, the meta description, or a featured image.

Want to learn more about X Cards? Visit the X developer page.

Get free SEO tips!