Secondary description and keywords meta tags

This topic contains 2 replies, has 2 voices, and was last updated by  Marc Mathys 7 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #330089

    Marc Mathys
    Expired Member
    Post count: 216

    Hi,

    Please take a look at line 285 of
    this html source of a listing’s page, it has this content:

    <meta name="description" content="%%extrait%%" /><meta name="keywords" content="seconde main, brocante" />

    I already use The SEO Framework as my SEO plugin and I was exchanging about this with the developper. Here’s the status on secondary tags:

    Normally on Search Engines, a secondary description that’s found later in the code is disregarded; but some systems like Facebook still take it as the primary entry. The keywords are a bad thing to have, they’re outdated and can lead to unwanted Search Engine bias; filtering your website from certain queries.

    (view discussion here: https://wordpress.org/support/topic/seo-framework-breaks-geodirectory/#post-8543692)

    The question is about how to disable this output from GeoDirectory?

    Thanks and happy holidays,
    Marc

    #330116

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Marc,

    You just want to remove keywords? If so this should do it

    add_filter('geodir_seo_meta_keywords','__return_empty_string');

    Thanks and happy holidays to you also 🙂

    Stiofan

    #331278

    Marc Mathys
    Expired Member
    Post count: 216

    Hi Stiofan,

    Brilliant, I added this line to remove the description as well. My SEO plugin (SEO Framework) already provides description and keywords.

    add_filter('geodir_seo_meta_description','__return_empty_string');

    Thanks,
    Marc

Viewing 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket