How to Remove twitter:label & twitter:data Meta Tags in WordPress

Share to

When managing a WordPress website, especially if you care about SEO and social sharing optimization, you’ve likely encountered additional meta tags that are automatically added to your site’s <head>. Some of these include twitter:label1, twitter:data1, twitter:label2, and twitter:data2. While they may serve a purpose for certain scenarios, many webmasters and developers find them unnecessary or even confusing. In some cases, the values inside these tags are incorrect, irrelevant, or simply not needed. This often leads to the question: how do I remove these Twitter meta tags in WordPress if I’m using Rank Math SEO plugin?

If you’re a web developer or someone who maintains a personal website, this issue may sound familiar. The problem is not critical, but it can clutter your site’s meta output and possibly affect how your content appears on Twitter or other platforms that rely on Open Graph and Twitter Card data. In this post, Kotak Digital will walk through the background of these Twitter meta tags, why you might want to remove them, and the exact steps to disable them using Rank Math — without touching a single line of code. As a bonus, we’ll also show you how to achieve the same thing in Yoast SEO.

Table of Contents

What Are twitter:label and twitter:data Meta Tags?

Twitter Cards use meta tags to enhance how links from your website appear when shared on Twitter. They can include elements such as a title, description, image, and additional fields like twitter:label1, twitter:data1, twitter:label2, and twitter:data2. These custom data labels are sometimes automatically generated by SEO plugins, including Rank Math and Yoast.

While they may be useful for certain structured data scenarios (like showing product price, author, or custom fields), not every website needs them. In fact, many users find that the extra tags show data they don’t want to display publicly.

Reasons you might want to remove these tags:

  • The values are incorrect or misleading.
  • You don’t want extra meta tags bloating your website’s <head>.
  • You prefer a clean and minimal Open Graph/Twitter Card setup.
  • You’re experiencing conflicts with other plugins or themes.

Why This Matters for Developers and Site Owners

For developers, controlling the output of meta tags is part of delivering a high-quality, standards-compliant website. Unnecessary tags can:

  • Confuse social media platforms when parsing your content.
  • Display unintended or irrelevant information when someone shares your page.
  • Add complexity when debugging SEO and sharing previews.

For personal bloggers and site owners, it’s about control and presentation. You want your website to appear exactly how you intend when it’s shared across platforms, without random extra data.

The good news is: Rank Math makes it very easy to disable these meta tags — you just need to know where to look.

How to Disable Extra Twitter Meta Tags in Rank Math

After some trial and error, the solution turns out to be surprisingly simple. Here’s the step-by-step guide:

Step 1: Enable Advanced Mode in Rank Math

Go to Rank Math > Dashboard. In the top-right corner, switch from Easy Mode to Advanced Mode.

How to Remove twitterlabel & twitterdata Meta Tags in WordPress

Step 2: Navigate to Titles & Meta

Once Advanced Mode is enabled, go to Rank Math > Titles & Meta.

Step 3: Adjust Post Type Settings

Scroll down to the Post Type section. Here, you’ll see multiple options depending on your website setup (e.g., Posts, Pages, Custom Post Types).

For each post type where you don’t want the twitter:label1, twitter:data1, twitter:label2, and twitter:data2 tags to appear, look for the option called Slack Enhanced Sharing.

How to Remove twitterlabel & twitterdata Meta Tags in WordPress

Step 4: Disable Slack Enhanced Sharing

Simply turn off the Slack Enhanced Sharing option. This feature, when enabled, adds extra meta tags for Slack (and indirectly, for Twitter too). Disabling it removes those Twitter meta tags from your site’s head.

Do this for all post types where you don’t want the tags to appear.

Step 5: Save Changes and Verify

Scroll down and hit Save Changes. Once done, clear your site cache (if you’re using a caching plugin) and recheck your site’s source code.

You should now see that the twitter:label1, twitter:data1, twitter:label2, and twitter:data2 meta tags are no longer present.

Bonus: How to Remove These Tags in Yoast SEO

If you’re using Yoast SEO instead of Rank Math, the steps are also straightforward:

  1. Go to WordPress Dashboard > Yoast SEO > Settings > General.
  2. Navigate to Site Features.
  3. Find Social sharing > Slack sharing.
  4. Disable Slack sharing and save the settings.

That’s it — those extra Twitter meta tags will be gone.


Best Practices After Removing These Meta Tags

Once you’ve successfully removed the tags, here are a few best practices to ensure your Twitter Cards and Open Graph data remain optimized:

  • Validate with Twitter Card Validator: Use Twitter’s Card Validator to confirm that your pages display correctly.
  • Check Facebook Sharing Debugger: Since Slack and Twitter both rely on Open Graph, it’s wise to check the Facebook Sharing Debugger as well.
  • Keep Titles and Descriptions Relevant: Ensure your SEO titles and meta descriptions are concise and meaningful.
  • Monitor Changes After Plugin Updates: Sometimes updates reintroduce features or settings, so keep an eye on your site output after major plugin updates.

Conclusion

Removing the twitter:label1, twitter:data1, twitter:label2, and twitter:data2 meta tags in WordPress is easier than it looks. With Rank Math, you don’t need to write custom code or use filters. All it takes is enabling Advanced Mode, going to Titles & Meta, and disabling the Slack Enhanced Sharing option for your post types. For Yoast SEO, simply disable Slack sharing under Site Features.

This simple fix ensures that your site’s metadata remains clean, accurate, and aligned with your branding. Whether you’re a developer fine-tuning the performance of a client’s site or a personal blogger who wants full control over how your posts look when shared, this small adjustment can make a noticeable difference.

By taking control of your meta output, you’re also improving your SEO hygiene — and in the world of search engine optimization, even small tweaks can add up to big improvements.


Have you removed these Twitter meta tags from your site? Share your experience in the comments below, and let us know if you ran into any issues or found alternative solutions!

Found this post helpful? Spread the word by sharing “How to Remove twitter:label & twitter:data Meta Tags in WordPress” with your network. At Kotak Digital, we are passionate about delivering insights, tips, and resources to help you stay ahead in the digital world.

Share to

Related Post

Kotak Digital Kotaqx - How to Stop WordPress Auto-Logout in Local Development

How to Stop WordPress Auto-Logout in Local Development?

Ever wondered how to stop WordPress auto-logout in local development? Same here. One of the most frustrating things when working on WordPress locally is getting logged out all the time. You’re in the middle of testing a feature, writing some content, or tweaking a plugin, and suddenly you’re back at the login screen. This is…
n8n vs Zapier Which Automation Platform Should You Use in 2025

n8n vs Zapier: Which Automation Platform Should You Use in 2025?

As businesses and individuals seek to streamline their workflows, the question of which automation platform to choose becomes crucial. In the debate of n8n vs Zapier, both tools have gained significant traction in the automation landscape, each catering to different needs. If you’ve been following our journey at Kotak Digital, you know we’re passionate about…
10 Essential WordPress Plugins for Developers in 2025 - Kotak Digital Kotaqx

10 Essential WordPress Plugins for Developers in 2025

In 2025, the landscape of WordPress development continues to evolve, making it essential for developers to equip themselves with the right tools. This Essential WordPress Plugins for Developers in 2025 are not just about enhancing functionality; they can dramatically streamline your workflow, saving precious time and effort. Here at Kotak Digital, we believe in empowering…
install n8n, n8n docker, self-hosted n8n, docker tutorial, n8n setup

How to Install n8n Using Docker (Step-by-Step)

If you're looking to install n8n, you're in the right place! n8n is a powerful open-source automation tool that allows you to connect different applications and automate workflows, making it an excellent choice for developers who want to run an automation server locally or on a private VPS. At Kotak Digital, we believe in empowering…

Leave the first comment