Support Forum

Forum Meta Title and OG Title Tags Not Being Generated

EK Edward Koon
Edward Koon
Member

Another oddball problem it seems. The sucks site forum has quit generating it’s required meta title and og title. All that is being displayed is Forum which is the forum page name. It should generate the category and post titles.

Been all through the component > seo > settings with no changes. Running WP 4.4

This might have something to do with it.

12/11/2015 11:42 AM | spaErrNotice | 142 | php

file: /simple-press/sp-startup/forum/sp-forum-support-functions.php

line: 719
function: sp_og_meta
Notice | Undefined index: seotitle

36 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

What are your SP SEO settings please?

EK Edward Koon
Edward Koon
Member

Hi Andy, Same as they have been. Toggling different options makes no difference.

The other site docsplace is working fine.. Only difference is the theme. But neither theme has been updated for a while.

sp-seo.jpg
MP Mr Papa
Mr Papa
Member

any other seo plugins that may be competing?  and oddly bunch of js is getting loaded twice – especially some notalk cache??? does it do same with default wp theme?

EK Edward Koon
Edward Koon
Member

Dang if I can figure it out.. It’s not the theme or yoast seo. Tried disabling other plugins including jetpack. 

Your latest update installed OK on that site, but still gives a service unavailable error on docsplace.org which is displaying the title with no problems. 

MP Mr Papa
Mr Papa
Member

sorry, service unavailable?  where do you see this? I dont see it on your site…

on the sucks site, I am seeing this:

<meta property='og:title' content='Forum'/>
<meta property='og:site_name' content='Doc's Classic eBay Motors Sucks Blog'/>
<meta property='og:url' content='https://blog.ebaymotorssucks.com/forum/'/>
<meta property='og:type' content='article'/>
EK Edward Koon
Edward Koon
Member

Yes that’s all the og says is Forum for the title. Should be different for the forum pages and topic pages. I have disconnected all the plugins one at a time, swapped out the theme, to no avail. Strange that little quirks here and there can be a nightmare to run down.

I wonder if running another nearly identical WordPress install in a subdirectory (without sp forums) could be causing some weird incompatibility?

Docsplace still has the same problem as before running sp updates. ‘An error occurred while updating Simple:Press: Download failed. Service Unavailable’. I have to download the files and ftp upload to update on that domain.

MP Mr Papa
Mr Papa
Member

oh, during upgrade you see that…  sort of remember now… but still no clue what it means…

so something is messing up the meta title (which is essentially what we use) as well…  and wp 4.4 did make a potential change to that depending on how themes use it…

would be interested in seeing it with default wp theme and all plugins disabled (vice one at time)…  still think its other things competing for the vaunted site title…

I assume its a different theme than doc’s place… are plugins different too?

EK Edward Koon
Edward Koon
Member

Yes it appears something is preventing the meta title / og title from being generated. Nothing in the browser console error wise. In sp components > seo > none of the title option toggles make any change. Ive been racking my brain today to the point i got a headache from it.

Doc’s place uses a custom artisteer theme. Plugins are the same. The update error has been going on for some time. I just download plugins from ebms after updating and upload to docsplace. But it’s strange this is happening.

sp-update-error-docsplace.jpg
EK Edward Koon
Edward Koon
Member

Mornin Y’all.. cool

Downloaded and activated WordPress 2016 default theme with no change (sigh.)

So it’s apparently not a theme or plugin problem. I even created a new forum page and updated it’s setting in integration > forum page. Dang if i know.. None of the component > seo > page title settings make any difference. All that is displayed is the forum page title itself.

Got lots of informative information in the forum. I have found simple:press is great for mini informational posts that do not have enough content blog posts. With your added open graph meta it makes social sharing simple:press posts a cinch.

But with no post title it will kill the sp seo benefit as Google considers the title the most relevant.

Thanks for all your help.. wink

YS Yellow Swordfish
Yellow Swordfish
Member

We need to break his down a bit. Can you do this for me…

Go to the forum admin > toolbox > Data Inspector. Turn on the option top left to display ‘spVars’.

Run the main forum page (Group view) then an individual form page and finally a topic page and each time check if any value is showing up n the ‘seotitle’ array element. Then you can turn it off again of course.

And let us know the 3 results…..

EK Edward Koon
Edward Koon
Member

AhHa…

I see when comparing my two sites that ebms is missing the seotitle variable.

It’s there on docsplace.

sp-seo-docsplace.jpg
YS Yellow Swordfish
Yellow Swordfish
Member

Correct. But why is the big question!

The ‘seotitle’ element is set up in our function sp_setup_title() and at the moment I am having trouble figuring out how it could possibly not go through that function…