Yoast SEO
[resolved] [Plugin: WordPress SEO by Yoast] Alert that WordPress SEO doesn't work won't go away (4 posts)

  1. webexplosion
    Posted 3 years ago #

    WordPress SEO version:

    I get this alert when I go to the dashboard:
    Your theme contains a meta description, which blocks WordPress SEO from working properly, please delete the following line, or press fix it:
    <meta name="description" content="<?php echo strip_tags(get_the_excerpt()); ?>" />

    Unfortunately, the fix it button doesn't work for my theme (Yamdidoo by WP Zoom). Could you please advise where I can locate the code to manually delete it?


  2. mikeotgaar
    Posted 3 years ago #

    Have you tried chmod-ing theme folders to 777 (temporarily) and trying the Fix it button?

    You can look for a file called head.php - or maybe header.php (also look in index.php, functions.php) - A bit difficult to give you a definite location without the theme files.

    Try a less specific text search in the files code - meta name="description" or just meta-name should narrow things down.
    Or ask the theme developer for assistance - you bought your theme - they must surely provide support.
    If all else fails - I can help if I can get the theme files.
    Or maybe a friend has Dreamweaver - the source-code search will locate it quickly...

  3. webexplosion
    Posted 3 years ago #


    I appreciate your advice. I was able to locate the code to be deleted in the header.php file. Now WordPress SEO is back to normal. Thanks for your help!

  4. Marcoh21
    Posted 3 years ago #

    I have the same problem with my theme - Bonpress from WP Zoom
    I tried to erase <meta name="description" content="<?php echo strip_tags(get_the_excerpt()); ?>" /> in two files :
    - header.php
    - header.php.wpseobak

    But the problem is not fixed...
    My blog is http://www.les-toiles-du-net.fr
    I'm French, sorry for my level in english...

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.