<html xmlns:og="http://ogp.me/ns#" [u]xmlns:fb="http://ogp.me/ns/fb#"[/u] xmlns:mysite="http://ogp.me/ns/fb/mysite#" [u]xmlns:fb="http://ogp.me/ns/fb#"[/u] xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru-ru" lang="ru-ru" ><meta property="og:site_name" content="MySite.com"/>$siteName = OpenGraphUtilities::getCurrentSiteNameTag();
$this->addDefaultGraphTag('og:site_name', $siteName, PRIORITY_NORMAL);you're not right! my site is 5 years old, and "Site Name" added to "Titles" only after i'm install one plugin with OGP tag "SiteName"!alzander wrote: The og:site_name tag is used by Google only if the title of your page is too short. It's not something that's actually added to your title tag. Google does this automatically to help brand your pages and give more information to user's searching. If your title tag is already long enough, the site_name tag will not be appended to it. This is what's recommended by Google and what they do automatically to provide more context. It's not something we'll add an option to disable in the future as you are the first user to not like this feature.
"Site Name" added for Google search! I know, that people on my site not see Site-Name in Titles, i'm not idiot.alzander wrote: The site_name tag is added for Facebook to be able to use your Site Name in posts that refer to your site. It's their recommended setting. Google also uses that tag to enhance your listings, since you're making more information about your page available to them.
Google recommends using as many Open Graph tags as you can to improve the ability to show as much data as possible about your page. You can test the structured data tags, which include Open Graph, using their Structured Data testing tool:
www.google.com/webmasters/tools/richsnippets
You are correct that the site_name may only appear after JFBConnect is installed. That's because we are setting the tag. Google is then choosing to use that tag to better improve your listings.
Again, if you don't want that tag added, you can delete it using the instructions above. We are not, in any way, altering the <title> tag on your page. JFBConnect is simply giving Google more meta information about your page, which is what they recommend. If you don't want that extra functionality, feel free to delete it.
I hope that helps explain,
Alex
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.
