• Resolved decato

    (@decato)


    Hi,

    I’ve activated Yoast seo plugin on Network level, and “ReOrder Posts within Categories” on main site.

    Problem is that I am not able to save SEO title & Meta description fields on pages for main site.

    But when “ReOrder Posts within Categories” is disabled everything is working as expected.

    Anybody has an idea ?

    Thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    the plugin has no effect on the printing of pages. It only affects your front-end queries for posts that have been manually sorted.

    I myself use this plugin on a multi-site installation with Yoast SEO and do not face this issue.

    But when “ReOrder Posts within Categories” is disabled everything is working as expected.

    are you using any custom filters in your functions.php file?

    Thread Starter decato

    (@decato)

    Hey Aurovrata,

    Thanks for quick reply.
    I’ve made a test on my localhost. I’ve installed fresh setup of wordpress and used default theme “twentytwenty” and used two plugins only.
    Yoast SEO and ReOrder Posts within Categories.

    Yoast SEO is activated throughout the network whereas ReOrder Posts within Categories plugin is activated for main site only.
    But still I am not able to save the SEO data on pages.

    For subsite where “ReOrder Posts within Categories” is not activated, I can save yoast seo data.

    Hope you could help me on this.

    Thanks

    Plugin Author Aurovrata Venet

    (@aurovrata)

    But still I am not able to save the SEO data on pages.

    what do you mean by this? what data are you talking about?

    Thread Starter decato

    (@decato)

    Its the Yoast SEO data (SEO Title, Meta description etc) under each page’s content area.

    When “ReOrder Posts within Categories” is activated along with Yoast SEO in multisite enviournment then the Yoast SEO fileds (SEO Title, Meta description etc) couldn’t be updated.

    Please refer to this screenshot link.
    https://nimb.ws/mbsDwy.

    Follow the thread.
    I can confirm the issue @decato have. @aurovrata

    I have the same Issue on a webpage. And after digging in to the the problem. Activate and reactive all plugins. I confirmed that your plugin make a problem to save Meta Title and Description on pages/custom post types.

    I think there is a issue with the code in yoast ” admin/metabox/class-metabox.php”
    if ( is_multisite() && ms_is_switched() ) {
    return false;
    }

    Because if I remove this code. And have your plugin activated I can update meta description.
    But, if I updated Yoast to latest version, this code disappear. And I have to either deactivate your plugin to update Meta and Title, or remove the code in Yoast.

    Se referred article:
    https://github.com/Yoast/wordpress-seo/pull/4557/files

    https://github.com/Yoast/wordpress-seo/issues/4989

    • This reply was modified 4 years, 4 months ago by haganan.
    Plugin Author Aurovrata Venet

    (@aurovrata)

    thank you @haganan for this analysis. Looks like ms_is_switched() is returning true as a result of the custom sql queries the plugin is running.

    I will need to make these queries MS proof, but currently I don’t have much time to fix this.

    Is this urgent for either of you?

    @aurovrata It kind of urgent. Since this effecting us/our customer from editing the description without reactive plugin/active plugin etc.

    Otherwise we need to find another plugin for this solution.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    would your client be open to sponsoring a solution?

    Plugin Author Aurovrata Venet

    (@aurovrata)

    I had a quick look at my multisite setup and found an issue with the db upgrade process which I fixed and which cased the ms_switched flag to return true.

    please upgrade to v2.9 and confirm if it works now.

    Thread Starter decato

    (@decato)

    Hey @aurovrata
    Thanks for for look into the issue. I just updated the plugin and now everything is workiing like a charm.
    Thanks for your help.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    workiing like a charm.
    Thanks for your help.

    good to hear. Please leave a review.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Conflict with “Yoast seo” pugin in Multisite Environment’ is closed to new replies.