• Resolved Jason Chong

    (@dantianhealth)


    I’m having trouble doing import from SEO Framework.
    Meta descriptions imports OK
    Meta title imports appending site title to end. If not custom title had been set this means that it is resulting in all posts / pages having just site title set as meta title.
    How to avoid this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Anh Tran

    (@rilwis)

    Hi @dantianhealth ,

    SEO Framework creates the title meta tag differently from the normal way WordPress and SEO plugins do: while others show the title as [Title] – [Site title], it shows only [Title].

    If that’s really what you need, then you can use this snippet to make it work the old way:

    add_filter( 'document_title_parts', function( $title_parts ) {
        unset( $title_parts['site'] );
    } );

    But I’d recommend keeping the Site title in the title. It makes everything consistent with how WordPress handles the title.

    • This reply was modified 4 years, 5 months ago by Anh Tran.
    Thread Starter Jason Chong

    (@dantianhealth)

    You have missed my point.
    When I am running an import from SEO Framework there is an error. If a custom title has not been set then it imports “- [Site title]”, setting this as the title meta tag for the post. This means that for every post / page that has not had a custom title set I have to manually go in and edit the metatag so it doesn’t read “- [Site title]”.
    When the post previously had a custom title set, the import works fine.

    Plugin Author Anh Tran

    (@rilwis)

    Oh, I see. Let us check that again and fix it.

    Thanks for your feedback!

    Plugin Author Anh Tran

    (@rilwis)

    Hi @dantianhealth ,

    We have fixed this in the latest version. Thanks a lot for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘SEO Framework import – site title issue’ is closed to new replies.