Hi, does Simple Press work with Yoast SEO Plugin? I was researching options and came across this post which has me concerned:
http://dottech.org/101602/problem-with-post-edit-buttonow-to-make-yoast-wordpress-seo-work-with-simplepress-page-title-and-canonical-guide/
Looks like there is a major issue with how the two plugins interact? Is this true? Recently someone posted this comment below.
Please clarify if Simple Press works fine with Yoast SEO Plugin. Many thanks. I like what I see in your forum and just want to make sure this is the right solution for me.
Warm Regards,
Robert
RECENT COMMENT FOUND ONLINE WHICH IS A “SOLUTION” TO FIX SIMPLE PRESS/YOAST SEO:
For anyone this might help. Without adding the code above, The main forum title is showing in the title as expected, but we need the forum section or forum post title to show for the title instead so we don’t have over a hundred duplicate titles from the forum. This was the simple solution:
to the theme’s functions.php
function forumtitle() {
$urlparts = explode(“/”,$_SERVER[“REQUEST_URI”]);
$title=ucwords(str_replace(“-“,” “,$urlparts[count($urlparts)-2]));
if ($title == ‘Forum’) { $title = ‘**** *** **** *****’; }
return $title;
}
In the header.php (id of course being the forum’s main page id #)
I’m now going to use that same if statement to add the title to the end of the description tag so those aren’t duplicate anymore also.
If this is helpful to anyone, be sure to replace the asterisks in the line in the function to whatever you want your forum landing page title to be. Our page slug is forum, so we wanted the inital forum title on that landing page.
http://dottech.org/101602/problem-with-post-edit-buttonow-to-make-yoast-wordpress-seo-work-with-simplepress-page-title-and-canonical-guide/#qi9iYALrHkQtSSBM.99