WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. webexplosion
    Member
    Posted 1 year ago #

    WordPress SEO version: 1.2.8.3

    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?

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. mikeotgaar
    Member
    Posted 1 year ago #

    @webexplosion
    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
    Member
    Posted 1 year ago #

    @mikeotgaar

    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
    Member
    Posted 1 year ago #

    Hello,
    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

About this Topic

Tags

No tags yet.