Site name in google search

Posted in: Newspaper
Post count: 14

Hi!

In google search the posts have the name of my site

example: post title name – sitename

I’m using seo by yoast and always set just %postname. Could be an option of newspaper? How to disable it?

Thanks!

Post count: 22421

Hi,
The site name or URL is not affected by the theme but rather WordPress and seo plugins. Our theme does not have options for this.
Please try to re-save permalinks and chose a default permalink structure and then check your plugin settings for YOAST.
Thank you!

Post count: 14

So, what is this code found in header.php?

<head>
<title><?php wp_title('|', true, 'right'); ?></title>
<meta charset="<?php bloginfo( 'charset' );?>" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php
wp_head(); /** we hook up in wp_booster @see td_wp_booster_functions::hook_wp_head */
?>
</head>

Post count: 22421

Hi,
That code ads the site title in the browser tab or screen. If you remove this you will see the url in the title tab, but this will not affect google.
The theme does not control the information displayed by google in search results. In the search results usually are displayed the titles of the pages. I am not sure why google appends the site’s url to the end of the titles from search results but you can check this link for more details in this regard: https://yoast.com/google-page-title/
Thank you!

Post count: 14

Okay, thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.