SEO title, theme adding the site name with no separator

This topic has 17 replies, 3 voices, and was last updated 5 years, 7 months ago ago by Rose Tyler

  • Avatar: fabio_vito
    Fabio
    Participant
    April 22, 2019 at 18:16

    Dear Support,

    I use yoast for managing the seo aspects of my website. I have been in contact with them and realized that the yoast plugin cannot remove or modify the sitename added at the end of a page title. In other words, I was informed that the theme is adding the sitename at the end of page/blog/products titles.

    Now, my issue is that there is no separator before the sitename therefore, the sitename is joined to the title making its reading difficult.

    Could you please support me in adding a separator before the sitename added to the meta titles?

    Thanks.

    F.

    Please, contact administrator
    for this information.
    16 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 23, 2019 at 08:59

    Hello,

    Could you provide screenshots and temporary wp-admin and FTP access?
    You can use such screenshot maker as Lightshot https://prnt.sc/

    Regards

    Avatar: fabio_vito
    Fabio
    Participant
    April 26, 2019 at 19:45

    Dear Support,

    Please find attached the images.

    As you can see in the image 1, at the end of the SEO title the website name is added. However, if you see the yoast snip of the same page title in image 2, you will see no website name added at the end.

    I was told by yoast and other users that this is due to the theme setting. So in this case it is the theme adding the website name at the end of each page SEO title.

    Could you please help me to at least add a separator between the end of the SEO title and the website name added by the theme?

    Thanks.

    F

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 30, 2019 at 13:04

    Hello,

    Sorry for the delay due to the weekends.
    Please provide temporary wp-admin and FTP access, so we can take a closer look.

    Regards

    Avatar: fabio_vito
    Fabio
    Participant
    May 7, 2019 at 19:44

    Dear Rose,

    Please find the access in the private area.

    I really appreciated the fact that in the other ticket of few hours ago you checked the issue and told me how to solve it. I would like to use the same approach. It is a live website, therefore I would really kindly ask you to be extremely careful to not break the website.

    Best regards.

    F.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 8, 2019 at 15:02

    Hello,

    1) Add this code in functions.php file of your child theme:
    remove_filter( 'wp_title', 'etheme_wp_title', 10, 2 );
    clear cache and check the result (right click on page http://prntscr.com/nm12d7http://prntscr.com/nm12mq)
    2) If the first solution dosn’t help, copy etheme_wp_title function (legenda/framework/theme-functions) into functions.php file of the child theme and edit code of the function there.
    Do changes in files via FTP.

    Regards

    Avatar: fabio_vito
    Fabio
    Participant
    May 8, 2019 at 18:37

    Dear Rose,

    Thank you for your suggestions, please find below the outcome:

    1) I have implemented the code however it does not work
    2) I have copied the below code in the child theme functions and commented the line which adds the title however it does not have any impact on the page titles

    if(!function_exists(‘etheme_wp_title’)) {
    function etheme_wp_title($title, $sep ) {
    global $paged, $page;

    if ( is_feed() ) {
    return $title;
    }

    // Add the site name.
    //$title .= get_bloginfo( ‘name’, ‘display’ );

    // Add the site description for the home/front page.
    $site_description = get_bloginfo( ‘description’, ‘display’ );
    if ( $site_description && ( is_home() || is_front_page() ) ) {
    $title = “$title $sep $site_description”;
    }

    // Add a page number if necessary.
    if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) {
    $title = “$title $sep ” . sprintf( esc_html__( ‘Page %s’, ‘legenda’ ), max( $paged, $page ) );
    }

    return $title;
    }
    add_filter( ‘wp_title’, ‘etheme_wp_title’, 10, 2 );
    }

    Could you please let me know if I am doing something wrong or what to do?

    Thanks.

    F.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 8, 2019 at 18:42

    Hello,

    Then provide us with FTP access to check why it does not work for you.

    Regards

    Avatar: fabio_vito
    Fabio
    Participant
    May 9, 2019 at 08:22

    Dear Olga,

    Please find the access in private area.

    Please keep note of any change because in case of issues I would like to revert the changes.

    Thanks.

    F.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 10, 2019 at 15:15

    Hello,

    Thanks. The topic was passed to our developers. They will be able to check on Monday and I’ll give you the answer.

    Regards

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 13, 2019 at 15:16

    Hello,

    Please make sure that credentials from FTP are related to the mentioned site, because we can’t see changes that were done in files (we have reverted them for now). Or provide us with a path to the theme folder on FTP.
    Do you use CDN?

    Regards

    Avatar: fabio_vito
    Fabio
    Participant
    May 19, 2019 at 16:49

    Dear Rose,

    Sorry for my late reply, I could not reply earlier.

    I confirm that the FTP credentials already provided you concern the right website. Please find the path to the theme folder: /public_html/wp-content/themes/legenda-child

    I do not use CDN.

    Thank you to have reverted the changes since not working. Please keep me informed about this issue and implemented steps.

    Best regards.

    F.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 21, 2019 at 07:40

    Hello,

    Have you changed the Dashboard access http://prntscr.com/nr92kv ?
    We are able to connect to your FTP but can’t login to Dashboard.

    Waiting for the correct Dashboard access to proceed.

    Regards

    Avatar: fabio_vito
    Fabio
    Participant
    May 22, 2019 at 18:55

    Please find the new password.

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 23, 2019 at 16:38

    Hello,

    Check now, please.

    Regards

    Avatar: fabio_vito
    Fabio
    Participant
    May 23, 2019 at 19:23

    Dear Olga,

    Thank you for your reply and work. I noticed a change and we are getting close.

    I have notice that you implemented a space however there is duplication. What i see now in the SEO title, if I open the homepage, is the following: please read the private area.

    Is there a way to achieve the second solution proposed? Is there something I could do?

    Thank you.

    F.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 24, 2019 at 08:09

    Hello,

    I do not see the problem on your Home page https://prnt.sc/nsolbe Have you sorted out?
    Please clear cache and check one more time.

    Regards

  • Viewing 17 results - 1 through 17 (of 17 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.