Guides โ€บ On-Page

How to Fix an Obsolete Meta Keywords Tag on Your Site

The `<meta name="keywords">` tag is a leftover from 1990s SEO. Google has ignored it since 2009, and it publicly lists the terms you are targeting. By the end of this guide you will have found every page that outputs the tag, removed it at its source (theme, plugin, CMS field or framework config), and confirmed it is gone site-wide.

โฑ 15 minutes๐ŸŽฏ Beginnerโ— Low impactOn-Page
ON-PAGE ยท FIX GUIDE Obsolete meta keywords tag IMPACTEFFORT TIME15 minutes LEVELBeginner

Why it matters

The tag does nothing for rankings in Google or AI answer engines, and Bing has said that keyword-stuffed meta keywords can be treated as a low-quality signal. It also gives competitors a ready-made list of your target terms, and it adds bytes to every page. The audit counts how many of your crawled pages still contain the tag, so a single hardcoded line in a shared header can flag your whole site. Removing it at the template level clears every flagged page at once.

โœ•Before<meta name="keywords" content="bluewidgets, cheap widgets, widget store,example co"> appears in the <head> ofโœ“AfterThe <head> contains a title, a metadescription, canonical and Open Graphtags, and no meta keywords tag on any

What you need

Admin access to your CMS, theme files or code repository
A crawler such as Screaming Frog SEO Spider, or a terminal with curl
Access to purge your site cache or CDN

Step-by-step fix

1

Find every page that outputs the tag

Check a few page types from the command line: the homepage, a blog post, a product page and a category page. Then crawl the whole site so you know the full scope. In Screaming Frog, open Configuration > Spider > Extraction and tick Meta Keywords. After the crawl, open the Meta Keywords tab and export the list.

text
for u in / /blog/sample-post/ /products/widget/ /category/widgets/; do echo "$u"; curl -s "https://example.com$u" | grep -io '<meta[^>]*name=["'\'']keywords["'\''][^>]*>'; done
Pro tip: If every page shows identical keywords, the tag is almost certainly hardcoded in a shared header template. If the keywords differ per page, a plugin or a per-page CMS field is generating it.
2

Identify where the tag is generated

The output tells you where to look:

  • Same content on every page: a theme header file such as header.php, theme.liquid or a layout component.
  • Different content per page: an SEO plugin setting, a CMS "keywords" field, or framework metadata.
  • Present only on some sections: a section-specific template or a legacy page builder block.

In your theme or repository, search for the string name="keywords" to find hardcoded instances.

text
grep -rni 'name=["'\'']keywords' ./themes ./templates ./src ./app 2>/dev/null
3

Turn off meta keywords in your SEO plugin or CMS

If a plugin or CMS setting generates the tag, disable it there rather than deleting it from the output. In All in One SEO, go to Search Appearance > Advanced and switch Use Meta Keywords off. In Joomla, clear the Meta Keywords field in each article's Publishing tab and in any menu item's Metadata tab. Save the settings.

Pro tip: Turning the feature off is enough. You do not need to empty every per-page keywords field first, because a disabled feature stops printing the tag.
4

Delete hardcoded tags from theme templates

Open each file found in step 2 and delete the whole <meta name="keywords" ...> line, including any template logic that builds it. Make the edit in a child theme or in version control, so a theme update does not bring the line back. Leave the meta description, canonical and Open Graph tags as they are.

php
<!-- Delete this line from header.php / theme.liquid / layout file -->
<meta name="keywords" content="<?php echo esc_attr( $site_keywords ); ?>">
Pro tip: Also check for meta keywords inside custom code areas such as "Header scripts" or "Additional head code". Agencies often paste tags there.
5

Remove keywords from framework metadata

In Next.js App Router, a keywords property in a metadata export or in generateMetadata renders as a meta keywords tag. Delete the property from your root layout.tsx and from any page-level metadata. For next-seo or similar libraries, remove the keywords entry from additionalMetaTags.

javascript
// app/layout.tsx
export const metadata = {
  title: 'Example Co',
  description: 'Durable widgets shipped from Example Co.',
  // keywords: ['widgets', 'cheap widgets'],  <- delete this line
};
6

Deploy and purge caches

Publish the theme or code change, then clear every cache layer so visitors and crawlers receive the new HTML:

  • Your caching plugin, for example WP Rocket or LiteSpeed Cache
  • Server or page cache
  • Your CDN, for example Cloudflare: Caching > Configuration > Purge Everything

If you skip this step, cached pages can keep serving the old tag for hours or days.

7

Recrawl and confirm the tag is gone

Re-run the curl command from step 1 against the same URLs. It should print only the paths, with no meta tag lines. Then recrawl the site in Screaming Frog and confirm that the Meta Keywords tab is empty. Finally, re-run the site audit. The check passes when no crawled page contains the tag.

text
curl -s https://example.com/ | grep -ci 'name="keywords"'   # expect 0
Pro tip: Test a URL with a cache-busting query, such as `?nocache=1`, to rule out a stale CDN copy.

Platform-specific notes

WordPress

Yoast SEO and Rank Math do not output meta keywords by default. All in One SEO does, if **Search Appearance > Advanced > Use Meta Keywords** is on, so turn that off. Older or premium themes often hardcode the tag in `header.php`. Remove it from a child theme copy of that file, or check **Appearance > Theme File Editor**.

Shopify

Shopify does not add meta keywords by default. If the tag appears, look in **Online Store > Themes > ... > Edit code > layout/theme.liquid** and in snippets such as `seo.liquid` or `meta-tags.liquid`. Some SEO apps also inject it, so check the app's settings or uninstall the app.

Wix

Wix does not output meta keywords by default. If one appears, open the page's **SEO basics > Advanced SEO > Additional tags** and delete the keywords tag. Also check **Settings > Custom Code** for site-wide head code.

Webflow

Webflow never adds meta keywords itself. Remove the tag from **Site settings > Custom code > Head code** and from each page's **Page settings > Custom code > Inside <head> tag**. Also check CMS template pages. Then republish.

Next.js

In App Router, the `keywords` field in `metadata` or `generateMetadata` renders the tag, so delete it from every layout and page. In Pages Router, search for a `<meta name="keywords">` inside `next/head` or `_document.tsx`.

Check that it worked

โœ… How to verify

  • Run `curl -s https://example.com/ | grep -ci 'name="keywords"'` on several page types and get 0 each time.
  • Recrawl with Screaming Frog and confirm the Meta Keywords tab lists no URLs.
  • Use View Source (Ctrl+U / Cmd+Option+U) on a sample page and search for "keywords". Only body text should match.
  • Re-run the site audit and confirm the Obsolete meta keywords tag check passes.

โš ๏ธ Common mistakes

  • Clearing the content attribute but leaving an empty `<meta name="keywords" content="">`. The tag is still present and still flagged.
  • Editing the parent theme directly, so the next theme update restores the tag.
  • Fixing the homepage only, while blog, product or CMS template pages still output the tag from a different template.
  • Forgetting to purge the CDN or page cache, then assuming the fix failed when the crawler sees the old HTML.

Is this still an issue on your site? Run a free audit โ€” ZORO checks this and 294 other SEO, AI-visibility, accessibility and security signals, with fixes for your platform.

Check my site free

FAQ

Does Google use the meta keywords tag?

No. Google announced in 2009 that it does not use meta keywords for ranking, and that has not changed. Google Search Console offers no meta keywords report, and AI answer engines do not rely on the tag either.

Can the meta keywords tag hurt my SEO?

Not directly in Google. Bing has said that stuffed keywords in this tag can be seen as a spam signal. The bigger cost is that it shows competitors exactly which terms you are targeting.

Should I put those keywords somewhere else instead?

Use the terms naturally in your title tag, H1, meta description and body copy, where they actually affect relevance and click-through. There is no replacement tag you need to add.

Is the news_keywords meta tag also obsolete?

Yes. Google News stopped using `news_keywords` years ago, so you can remove it as well. This audit check specifically flags `<meta name="keywords">`.