• After switching to a new different WordPress theme, Google started adding the sitename to all my pages in the search results. Even when leaving the sitename area blank , Google adds the Homepage title next to every page title. example “Page Title – Sitename” or “page title – homepage title”. I only want the Page title to show.

    Currently I am using the yoast seo plugin and tried removing removing “%%sep%% %%sitename%%” in the yoast settings, but it didnt work.

    Please help

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    If your theme is using wp_title() to output the page window title, use the ‘wp_title_parts’ filter. Unset any offending part in the passed array. You can usually verify what your theme does for titles by looking at the header.php template. It may be necessary to alter the template instead of using the ‘wp_title_parts’ filter.

    If you need to alter theme templates, consider using a child theme to protect your changes from theme updates.

Viewing 1 replies (of 1 total)
  • The topic ‘How Do I remove The sitename from all page titles ?’ is closed to new replies.