Notifications
Clear all

[Closed] If using SEO FRAMEWORK READ THIS *** IMPORTANT**

7 Posts
4 Users
2 Likes
482 Views
dimalifragis
Posts: 2563
Topic starter
(@dimalifragis)
Famed Member
Joined: 4 years ago

For anyone using The SEO FRAMEWORK and wpForo 2, please add this snippet in order to work correctly:

 

add_action( 'the_seo_framework_query_supports_seo', function( $supported ) {
	// No need to evaluate further if already not supported.
	if ( ! $supported ) return $supported;
	
	if ( function_exists( 'is_wpforo_page' ) && is_wpforo_page() ) 
		$supported = false;
		
	return $supported;
} );

 

If using wpForo 1.x nothing is needed.

Snippets can be added using a Wordpress plugin like

https://wordpress.org/plugins/search/snippets/

https://wordpress.org/plugins/code-snippets/

And if using wpForo 2 and added any previous snippet for SEO FRAMEWORK, pls remove it.

 

6 Replies
Posts: 1133
(@percysgrowroom)
Noble Member
Joined: 5 years ago

what do yu mean SEO framework mate? Is this something I should be implementing?

3 Replies
dimalifragis
(@dimalifragis)
Joined: 4 years ago

Famed Member
Posts: 2563

@percysgrowroom Seo Framework is a SEO plugin, the best IMHO.

(@kezeo)
Joined: 7 years ago

Estimable Member
Posts: 87

@dimalifragis with this snippet it can be used with wpforo ?

dimalifragis
(@dimalifragis)
Joined: 4 years ago

Famed Member
Posts: 2563

@kezeo Yes, with that snippet SEO Framework totally ignores all the pages of wpForo.

Since wpForo has its own SEO.

The snippet is not mine, comes from the developer of the plugin at Wordpress.org.

dimalifragis
Posts: 2563
Topic starter
(@dimalifragis)
Famed Member
Joined: 4 years ago

An update of SEO FRAMEWORK is available, fixing some issues with wpForo2.

Important:

(1) REMOVE the snippet above (if installed)

(2) Clear any meta title/description in the wpForo page (the page with the shortcode). Clear from Wordpress dashboard / Pages / Quick edit (or edit). Nothing needed in wpForo2 plugin.

(3) Check if your topics descriptions are ok and your wpForo home also correct.

1 Reply
(@fastinfoclass)
Joined: 1 year ago

New Member
Posts: 1

@dimalifragis Applied and this works fine. Thank you