Support Forum

Undesired Title Tage on first line of body

36 Answers

New Answer

MP Mr Papa
Mr Papa
Member

so would still like to know if you are using SEO plugin and if so, which one…

MP Mr Papa
Mr Papa
Member

that’s the yoast one, right?   generally working for users and in use on one of our test sites since its somewhat popular…

so every sp checkbox is checked in the forum – components – seo panel (just checking cause most dont do that – shouldnt matter)…  might try unchecking the force sp one and see…

I will also try to dig in a bit further on our test site and see if we have an special wordpress seo options checked and verify the hooks (if any) we are using…

the wp_title() function is the most ‘abused’ hook in wp :)   by abused mean plugins and themes always battle over setting it, so its a constant struggle…  yoast himself has updated his plugin half a dozen times to alter the usage of that hook because some other thing was interfering…  nobody inherently wrong, just competing for controlling the title.. and most seo plugins assume a wp page is static which is not true and not the case here…

I assume you have told genesis to use wordpress seo?

FS Franck Scipion
Franck Scipion
Member

Unchecked forced SP SEO, and nothing happen!

Nothing to tell at genesis level

MP Mr Papa
Mr Papa
Member

give this a try to keep  yoast from ruling the roost…

add_action('sph_forum_startup', 'do_my_title_filter');
function do_my_title_filter() {
    remove_filter('wp_title', 'sp_setup_browser_title', 99, 3); # want it to run last
    add_filter('wp_title', 'sp_setup_browser_title', 10, 3); # want it to run last
    remove_filter( 'wp_title', array( $GLOBALS['wpseo_front'], 'title' ), 15, 3 ); # dont let yoast ruin our title
}
FS Franck Scipion
Franck Scipion
Member

Did solve the issue of the Meta Title. Thanks Mr. Papa

Now, how to admin the meta descriptions ¿?

Wouldn’t it be better to have WordPrress SEO working instead of disabling it?

MP Mr Papa
Mr Papa
Member

WordPress SEO is working…  on the forum page, it works incorrectly…  it assumes the anything on that wp page is static – it is not…  there is only one wp page for the forum… the appearance of many forum pages is url rewrite black magic..  its still actually being displayed on a single wp page…  so the seo plugin tries to give it a url for the wp page instead of its rewritten url…  simple press is just one of many pluigns that do this… so we just have to override, if you will, what the seo plugin is doing…  but its just the page title… we didnt turn off the rest of things that the seo plugin is doing…

can you elaborate further on the meta description?  is something not right?

what options and text for the simple press meta description are you using?  its on the same admin panel…

FS Franck Scipion
Franck Scipion
Member

seo-options.jpgI don’t get any meta description on the head tags.

Do not use custom meta in both Description & Keywords. Shall I activate these options?

MP Mr Papa
Mr Papa
Member

yes, if you want custom meta description and keywords on each forum page… otherwise you will get the same on each forum page…

FS Franck Scipion
Franck Scipion
Member

It’s not working. Nothing is generated. 

It’s working perfectly with WordPress SEO on blog pages. But for the forum pages (all), the meta description tag is not generated.

I need a unique Meta description / page, not a standard one, same for all (what you looks to be offering in the SP SEO admin panel)

MP Mr Papa
Mr Papa
Member

I will look into it with genesis/wp seo and get back with you…

MP Mr Papa
Mr Papa
Member

can you show me your seo options panel for the forum again?  this is working just fine for me with genesis and wp seo…   make sure you scan the entire head tags in the page source… all of the meta stuff is not necessarily together with wp…

MP Mr Papa
Mr Papa
Member

so in the options (far right columns), you said to add description to all forum pages and you said to use the custom description entered in the custom description panel on the left… but the custom description is empty…  so no meta description tag….  if  you want a custom description, you have to enter it…

FS Franck Scipion
Franck Scipion
Member

Could you please tell me how to have a unique meta description per page. Sharing your SEO panel for example.

I am NOT willing to have the same meta description for all the forum pages

Thank you