Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
SEO settings
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 12, 2015 - 5:59 pm

you want to remove the OG Tags from any forum page???

something like this should do the trick:

add_action('wp_head', 'sp_remove_seo_og', 1);
function sp_remove_seo_og() {
    if (sp_is_forumpage()) remove_action( 'wpseo_head', array( $GLOBALS['wpseo_og'], 'opengraph' ), 30 );
}

added to your spFunctions.php file of your sp theme...

Avatar
FidoSysop
Clearwater Florida
Member

VIP
sp_UserOfflineSmall Offline
Apr 12, 2015 - 6:14 pm

Mr Papa said
you want to remove the OG Tags from any forum page???

something like this should do the trick:

<br />

add_action('wp_head', 'sp_remove_seo_og', 1);
function sp_remove_seo_og() {
    if (sp_is_forumpage()) remove_action( 'wpseo_head', array( $GLOBALS['wpseo_og'], 'opengraph' ), 30 );
}

<br />

added to your spFunctions.php file of your sp theme...

That sounds interesting. Will try that tomorrow. Google still indexes my forum with no problems. Possibly add open graph and featured image support for sp?  Add to the current seo plugin or add another. It's really needed for social sharing sp forum posts.

As it is now I would rather sites scrape sp title and description meta instead of the forum page default og tags. 

  • Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.
Avatar
FidoSysop
Clearwater Florida
Member

VIP
sp_UserOfflineSmall Offline
Apr 12, 2015 - 8:13 pm

Here is a screen grab of what i am seeing. The meta title tag is correct. But when social sharing any open graph tags take precedence. 

yoast-sp-og-tags.jpgImage Enlarger

  • Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 12, 2015 - 8:48 pm

you are seeing the OG tags with my code change?  It removes them for me on forum pages...

Avatar
FidoSysop
Clearwater Florida
Member

VIP
sp_UserOfflineSmall Offline
Apr 12, 2015 - 9:43 pm

Mr Papa said
you are seeing the OG tags with my code change?  It removes them for me on forum pages...

No I have not done the code change yet, will do that in the morning. Just wanted to add a screen grab to my article for Joost to see. 

He could have helped with it. Instead he washed his hands of it and told me to hire a freelancer. Not good customer service especially after I sent him $89.

  • Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 12, 2015 - 11:46 pm

ah, okay...  let us know...

frankly, never met the guy, but keep hearing the same thing over and over about him...  word tends to get around...

Avatar
FidoSysop
Clearwater Florida
Member

VIP
sp_UserOfflineSmall Offline
Apr 13, 2015 - 9:37 am

Mr Papa said
ah, okay...  let us know...

frankly, never met the guy, but keep hearing the same thing over and over about him...  word tends to get around...

Thanks Steve, worked like a charm! wink

Maybe Joost De valk's success has went to his head. An old saying "too big for his britches" seems appropriate in this situation.

I sure am grateful for you guys friendly support. 

Regards, Ed

  • Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 13, 2015 - 3:11 pm

The pleasure is all ours. Well - most of the time anyway :).

andy-signature.png
YELLOW
SWORDFISH
Avatar
FidoSysop
Clearwater Florida
Member

VIP
sp_UserOfflineSmall Offline
Apr 13, 2015 - 3:27 pm

I'm wondering if these share sites have this url cached in?

I dumped my cache on CloudFlare. But when trying to share this post they scraped the same thing. And i can not see any og meta data in the source code, other than the twitter data.

But this is what hootsuite scraped.

ebms-sp-hootsuite.jpgImage Enlarger

  • Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 13, 2015 - 9:54 pm

I would imagine they would...   plus its a short url so likely cached too...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626