Hi,
I would appreciate if the developers can take a look and offer any help.
I have my forum at https://malayali.ca/forums/
My SEO plugin is SEOPRESS and I am also using elementor PRO.
My issue is that, I cannot save the page properly because it gives the following error "Error message: The response is not a valid JSON response." https://share.getcloudapp.com/rRuLnmQD
This happens ONLY on the page that has the WPFORO shortcode. I was able to get a developer look at this and he said the following
---------------------------------------------------------------------
because their forum is adding an html output to the json request
for example, upon update you hit this request:
https://malayali.ca/wp-admin/admin-ajax.php?action=seopress_do_real_preview&post_id=5372&tax_name=&origin=post&post_type=page&seopress_analysis_target_kw=&_ajax_nonce=2d3d259591&_fs_blog_admin=true
and this is json request: https://malayali.ca/wp-json/wp/v2/pages/5372?_locale=user
yet response from that JSON request you get isn't in JSON format
<div id="wpforo-wrap" class="wpf-default wpf-auth">
<div class="wpforo-subtop">
<style>.wpf-item-element{display: inline;}</style>
<div class="wpf-breadcrumb" itemscope="" itemtype="http://schema.org/BreadcrumbList">
<div itemprop="itemListElement" itemscope="" itemtype="https://schema.org/ListItem" class="wpf-item-element wpf-root active"><a itemprop="item" href="https://malayali.ca/forums/" title="Forums"><span itemprop="name">Forums</span></a><meta itemprop="position" content="1"></div>
<a href="#" class="wpf-end"> </a></div><div class="wpf-clear"></div></div><div class="wpforo-main wpft-"><div class="wpforo-content " style="width:100%"></div><div class="wpf-clear"></div></div>
<!-- forum statistic --><div class="wpf-clear"></div><div id="wpforo-footer"></div> <!-- wpforo-footer -->
</div><!-- wpforo-wrap -->{"id":5372,"date":.....}
you get a bunch of "wpforo" stuff before the actual json response
-----------------------------------------------------------------------------------------------------
I was wondering if the devs can give me a solution for this.
Jimmy George
Hi @jimmy-george,
1. Please change the forum page slug to /forums/ in Dashboard > pages admin page. You don't have forum in /community/ page, so this slug to be changed to /forums/
2. wpForo has built-in SEO system with all necessary SEO data in forum pages, you should exclude the SEO plugin from forum pages. Those SEO plugin can't work with wpForo. wpForo is not based on custom post types so, your SEO plugin has no chance to work for your forum, unless this plugin devs make some special changes to make it compatible with wpForo.
3. At the Moment only Yoast SEO, All-In-One SEO, The SEO Framework and Rank Math SEO plugins are compatible with wpForo. The SEOPress developers promised to make it compatible in next version (current version is 3.7.7.1). These plugins are automatically disabled on wpForo forum pages allowing wpForo SEO functions work without any conflict. So saying compatible I mean those plugins don't affect wpForo SEO data and those don't insert any SE information in forum pages. If a SEO plugin is not compatible, it makes lots of problems, it understands all forum pages and topics as a one forum page with the same title and canonical URLs, so Search Engines will see your forum as a one page.
Here is an example of your topic SEO data, it's currently duplicated wrongly by the SEO plugin, you can check it pressing Ctrl+U.
4. Please contact to your plugin developers and ask them to help you exclude forum page from plugin function. They should provide some solution to disable this plugin for forum pages. It would be better if they add that solution in the plugin core or provide some hook to allow us to disable it from our side like other SEO plugins.
Hi @martin,
Thanks a lot for your suggestions.
- I believe that you are talking about the Forum Base URL and it is already forums
- I see you have a valid point there
- Yoast = too much bloat and I will think about the other two for sure
- The plugin authors say that its not possible https://wordpress.org/support/topic/how-to-disable-seopress-on-a-particular-page/
Thanks a lot for your help again.
Jimmy
1. No I mean the forum page. You have a forum page in Dashboard > Pages admin page, find that page, edit and set the slug of that page /forums/
4. If you can't disable it for forum pages, then you'll have many SEO problems for forum as i described it above. This plugin ads incorrect SEO title, description and Canonical URL to forum pages and to topics so, your forum SEO will be incorrect. The only hope is on Search Engine bots. If they choose the wpForo SEO data and ignore the duplicated SEO plugin data all will be fine. but if those choose vice versa your forum will be one single page in search results.