WordPress.org

Forums

WordPress SEO by Yoast
delete meta description (40 posts)

  1. ChicDenim
    Member
    Posted 7 months ago #

    None off the above worked for me. I can't seem to clear the error message. I am using a new theme, got the error message, deleted the code from my header.php file and it worked. However, the theme was recently updated to include meta data and now getting rid the error message has been impossible. I really like this plugin, but I wish the bug would get fixed soon.

  2. imaginativstudio
    Member
    Posted 7 months ago #

    I was doing some testing this morning with the WP Supercache plugin and I checked the box "Coarse file locking" in the Advance Settings page. This caused the Yoast SEO plugin to display this error message : <meta name="description" content="<?php bloginfo('description'); ?>" /> `.
    So I unchecked that box, went back to the Yoast SEO plugin and I clicked on the red "Fix" button. The error disappeared and I saved the setting.
    So that worked for me. I think I saw on W3 Total cache a check box that will affect the Yoast SEO plugin as well (something about Javascript ?.
    If you have already tried to fix the problem by clicking on the red "Fix" button then it might not work but try renaming or deleting the .bak file that was created when your first clicked on the red "fix" button - something like: header.php.wpseobak - in your theme directory, and then go back to the yoast SEO plugin and try to fix it again using the red "Fix" button.
    Hope this will help someone.

  3. gunhackx
    Member
    Posted 6 months ago #

    Stefan's solution worked for me - clicked "Fix", scrolled down and clicked "Save," and the red error message went away.

  4. perkster
    Member
    Posted 6 months ago #

    I've been having this issue for a month. Website is: http://holdfree.com

    I've tried everything,

    • the description has been removed from the header (since the beginning since I knew I was going to use this plugin).
    • Tried the most recent upgrade.
    • Clicked fix it and save settings
    • Changed file permission to 777, clicked fix it and then save setings (then changed settings back to normal)

    I'm truly at a loss.

    P.S. I really like this plugin and have used it on other websites using this SAME template (http://inappcare.com) so I really can't figure out why this is doing what its doing.

  5. jayredliner
    Member
    Posted 5 months ago #

    Here's what worked for me:

    Find your header.php file and delete the following line:

    <meta name="description" content="<?php bloginfo('description'); ?>">

    Then find the header.php.wpseobak file and delete that entire file.

    Go to your SEO plugin dashboard and click fix, it should work.

    I don't know if this is the correct way to do it but it worked for me. Backup your files before you delete or modify just in case.

  6. paynehd
    Member
    Posted 5 months ago #

    Delete code...really?

    C'mon man...unless you know wtf you're doing...better to just comment out the code and see if it works!

  7. Andrew Nevins
    Volunteer Moderator
    Posted 5 months ago #

    You should never modify the theme's files without a Child Theme environment because;
    - Your modifications will erase when the theme updates,
    - You will compromise the theme,
    - Debugging becomes a whole lot harder.

    Guys, if you require support with your own issues, please create your own threads.

  8. hmwind
    Member
    Posted 4 months ago #

    I have the same problem with the Magazine 3 theme.

    Within that theme it is possible to switch the Magazine 3 SEO part off and rely e.g. on Yoast WordPress SEO which I did.

    The header.php of the theme contains meta name description tags. However, those are not active in practice and will not be included if Magazine 3 SEO is switched off.

    Nevertheless Youst WordPress SEO continues to give the meta name description error.

  9. SeoSan
    Member
    Posted 2 months ago #

    Hi Yoast! I really love your plugin!

    This is the message I get from your general settins plugin:

    Tu tema contiene una meta descripcion, lo que impide que WordPress Seo funcione adecuadamente, por favor borra la siguiente linea, o presiona reparar:
    <meta name="description" content="<?php pbt_metaDesc(); ?>" />

    It's in Spanish. It means that your theme contains a meta description, which it don't let wordpress seo work correctly, please delete next line or press repair:

    I've click repair but nothing. I deleted manualy from the header but still appears.

    I would appreciate your answer.
    Best regards and congratulations for your work

  10. mwhardesty
    Member
    Posted 2 weeks ago #

    Hey guys,

    I figured out what was causing the issue for me. I have the Cherry framework with a child theme on top. Both of them use a header.php file.

    Here's the steps I took to fix the issue:
    1) I deleted the line from my theme's header.php file. Note that I did not use the Fix It link and I'm not sure if that will work in this scenario.
    2) I deleted the line from the parent theme's header.php file (it was in both places).
    3) Hit "Save Setting" on the Yoast settings dashboard. Problem solved.

    Looks like maybe the "Fix It" link doesn't edit parent theme header.php files, but it still recognizes when the line exists.

    Props to Yoast for at least getting that message to appear based on a check for it. I can't imagine how many people might give up if they weren't given some sort of error.

    I hope this helps!
    Matt

Reply

You must log in to post.

About this Plugin

About this Topic