GD Injecting Text Into Title Tags?

This topic contains 6 replies, has 4 voices, and was last updated by  Stiofan O’Connor 9 years, 3 months ago.

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

Open Support Ticket

Tagged: , ,

  • Author
    Posts
  • #15834

    identity
    Lifetime Member
    Post count: 445

    Were changes made how GD handles title tags? All of a sudden it seems like my category title tags are “messed up.”

    I’m using Yoast’s plugin to better control title tags programmatically. Typically this follows a cascading method similar to CSS, allowing varying degrees of control from page level to programmatic based on a page/post type. Ultimately this will also overwrite the WP default methods if something has been entered into Yoast.

    Now on category/subcategory pages, the city and category is being injected into the middle of the Yoast version, resulting in a low quality, spammy title tag.

    Example:

    Activity CPT in the Kids & Family category for McHenry, IL.

    What I want:
    Kids & Family – Activities – McHenry, IL | sitename

    What I get:
    Kids & Family – Activities – McHenry, IL Mchenry Kids Family | sitename

    So GD appears to be applying changes after Yoast and injecting into the middle of the title, except McHenry is being spelled incorrectly and the “&” isn’t included for Kids & Family.

    None of that really matters though. What I want is for it to apply it’s title tag insertions prior to Yoast and allowing Yoast to overwrite if need be.

    At least that’s what I’m assuming is happening. If that’s the case, can it be corrected to allow Yoast to overwrite or is there a way I can turn this off?

    cheers

    #15931

    Guust
    Moderator
    Post count: 29970

    I have forwarded this to Stiofan.

    #15932

    identity
    Lifetime Member
    Post count: 445

    Thanks Guust.

    By all means I want GD to take a pass at providing this kind of content, but ultimately still want to retain final control either manually or via another tool like Yoast’s plugin, which does allow me to manually override at any level.

    cheers

    #15956

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Brian,

    If Yoast is installed then it removes the locations from these pages so we hook into and add them back via

    add_filter('wpseo_title' , 'geodir_post_type_archive_title',11, 1 );

    You can remove this with remove_filter or even add your own filter to it.

    Stiofan

    #15991

    identity
    Lifetime Member
    Post count: 445

    Excellent Stiofan, thanks!

    cheers

    #46944

    jkirker
    Lifetime Member
    Post count: 298

    You’ve done such an excellent job with this plugin! Loving it!!!

    #46946

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    🙂

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount