Topic-icon Duplicate social OGP meta-tags if i'm used YooZoo or another extension

Active Subscriptions:

None
I'm use Joomla 2.5.17 and YooZoo 3.1.4 on site and have duplicate meta-information in tag:
<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" >

please solve this problem!!!

and please delete meta-tag:
<meta property="og:site_name" content="MySite.com"/>

I'm set "off" in Joomla settings in option "Use site name in Title or not", but your component use this tag, and i'm see in Google search "Site name" in Titles after main Title of page! This is very bad!!!
The topic has been locked.
Support Specialist
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.

If you'd like to disable it though, you can edit the /libraries/sourcecoast/openGraph.php file. Around line 222, you'll see:
$siteName = OpenGraphUtilities::getCurrentSiteNameTag();
        $this->addDefaultGraphTag('og:site_name', $siteName, PRIORITY_NORMAL);
Delete those lines and the site_name tag will no longer be set on any of your pages.

For the duplicates namespace tags, there's not much we can do about that. There are 2 different extensions setting the namespace tag of "xmlns:fb="ogp.me/ns/fb#" on your site. One is definitely JFBConnect. I'm assuming Zoo is the other. That namespace needs to be set on all of your pages for all features of JFBConnect to work. If Zoo is only setting that namespace on the Zoo pages, then you should have that extension disable the namepace insertion. Otherwise, on non-Zoo pages, JFBConnect features may not work.

With that said, having a duplicate namespace is not an issue for any browser in existence. They all simply ignore the duplicate inclusion and there is no extra bandwidth or processing required for the extra namespace. It's a matter of another 30 characters being sent to the user.

I hope that helps explain, but if you have any questions, just let me know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None

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.

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"!
Google not include SiteName if you not use Site name in Title.
You are really idiot, if you mean, what Google something doing like that.

And 2nd question - SiteName is needed tag for work JFB component ??? If not - why you add this tag????
The topic has been locked.
Support Specialist
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
The topic has been locked.
Active Subscriptions:

None
12 years 5 months ago - 12 years 5 months ago #40034 by alechu

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

"Site Name" added for Google search! I know, that people on my site not see Site-Name in Titles, i'm not idiot.

But you really don't know about SEO ( Search engine optimizationSearch engine optimization )

1) this summer, when i'm enter in Google search word "site:mysite.com" - i'm not see SiteName in titles (4000+ pages, 5 years).
2) after this, i'm install one plugin with OGP, and this plugin added "og:site_name".
one month later i'm go to Google search and see on all my pages "Titles+Site Name"!!!
my site very down low in Google search for all words!!! this is very bad, because "bad Titles" = down positions in Google search.
FUCK YOU, idiot! My sites live with Google search traffic, and i'm hate "og:Site-Name", because this is very bad for Google search.

All my pages was in Top-3 or Top-1 & 2 before i'm add OG:SiteName in Google search, :D

after i'm add OG:Site-Name all my pages in 2nd or 3rd page in Google search!!! :mad:

i can add more 'OG tags' like "picture, video, etc", but not Site-Name!!! My site - not IMDB or BBC!

3) when i'm delete tag "og:Site-Name" from my site.
after one month i'm again go to Google search, and i'm see some pages without "Site-Name" in Titles. But need more time for re-index all pages from my site.

IF YOU DONT KNOW ABOUT SEO, please never say, what i need do. :mad:
Last edit: 12 years 5 months ago by alechu.
The topic has been locked.
Support Specialist
Thanks for your information. I'm glad we could help you remove the feature as you wanted.

Best of luck,
Alex
The topic has been locked.