• Skip to primary navigation
  • Skip to main content

SERT Media

  • About
  • Services
    • Maintenance
    • Speed
    • Search Optimized
      • Local SEO
    • Consulting
  • Featured Work
    • French With Benefits
    • Arielle Executive
    • You Can Live Rich On Less
  • Blog
  • Contact
  • Show Search
Hide Search

How To Remove The WooCommerce Generator Tag

January 22, 2020 by Scott Hartley Leave a Comment

FacebookTwitterTumblrLinkedInPinterestRedditFlipboardMixBufferEmail

WooCommerce is the most popular eCommerce solution for WordPress. It’s also one of the most popular eCommerce platforms on the web.

However, WooCommerce loads a meta generator tag in the header of your website’s code. Having this meta generator tag will not hurt your website’ search engine optimization (SEO) value. However, it’s impact is often debated, as it reveals what version of the software you are running. Therefore, I typically recommend removing such code.

Look for the following line in the view-source code on your homepage to find the meta-generator tag.

<meta name="generator" content="WooCommerce 3.8.0" />

Add The Following Code To Remove The WooCommerce Meta Generator Tag

If you’re looking to remove the code from your website, you’re going to need to add the following line of code to your functions.php (within your child theme) file or add it your site-specific plugin.

remove_action('wp_head', 'wc_generator'); 

The above code should remove any and all traces of the meta generator tag from the frontend of your website.

If you have any questions feel free to ask them below!

FacebookTwitterTumblrLinkedInPinterestRedditFlipboardMixBufferEmail

Filed Under: WordPress Tutorials Tagged With: WooCommerce

Email Newsletter

We help bloggers, small-business owners, and creative entrepreneurs build and manage their online WordPress websites by focusing on speed, security, and search engine optimization.

No charge. Unsubscribe anytime.

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Hit the ground running with an optimized website.Learn More

Copyright © 2021 · WordPress · Log in

  • Facebook
  • Twitter
  • LinkedIn
  • Github
  • YouTube