• Hello and thank you for this great plugin!

    I have a question about indexing. For information, I use the builder Divi.

    When I index all the pages of my site, then I write a term in the search, the pages appear well.

    When editing a page (adding a sentence, or a paragraph), the page no longer appears in the search results.

    If the change does not appear in the results, I can understand it. But this is the page that no longer appears in the search results.

    Am I doing something wrong? 🙂

    Thank you for your reply !

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Well, it still should appear in the search, just with all the new words.

    Since you use Divi, it’s a good idea to check with the admin search (Dashboard > Admin search): does that search still find the post or not?

    Thread Starter epokk

    (@epokk)

    I just tried and it does not work. This is exactly the same thing with the admin search. The page is not found after editing the page.

    I still need to reindex the content of my site after editing any page to have search results

    Plugin Author Mikko Saari

    (@msaari)

    Usually with problems like this it’s the other way around: complete index fails and saving individual post works.

    If you add this bit of code to your theme functions.php and then go save a post, what happens? It should show a blank screen with either true or false displayed.

    add_filter( 'relevanssi_do_not_index', 'rlv_dni_test', 999 );
    function rlv_dni_test( $donotindex ) {
        var_dump( $donoindex );
        exit();
    }

    If you get false, remove that code and instead try this:

    add_filter( 'relevanssi_post_to_index', 'rlv_pti_test' );
    function rlv_pti_test( $post ) {
        var_dump( $post->post_content );
        exit();
    }

    This should show you the post contents. Does it, and are all the post contents there? Once you’ve done testing, remove the code.

    Thread Starter epokk

    (@epokk)

    By adding the first code, I get the following message NULL.

    With the second code, I can not edit my page and I get a Divi error message.

    I tried to find a solution by deactivating all my plugins (except Relevanssi) and it works! After some research, only the plugin “Yoast by SEO” is the source of the problem.

    Do you know why? Is there a parameter to modify or a line of code to insert to no longer have this problem? 🙂

    Plugin Author Mikko Saari

    (@msaari)

    Have you set the post to be excluded from the search engines with Yoast SEO? That also excludes it from the Relevanssi index. If you want to disable that feature, the instructions are here: https://www.relevanssi.com/knowledge-base/yoast-seo-compatibility/

    Thread Starter epokk

    (@epokk)

    Thank you for your answer Mikko.

    I have not set the post to be excluded from the search engines with Yoast SEO, but I still tried the method with the code to insert and it does not work …
    I always keep an older version of my site (without new updates). I updated relevanssi, everything works perfectly. I updated Yoast by SEO, everything works perfectly also (while it is this plugin the problem). I then updated the latest version of Divi (4.0), it does not work anymore :(.

    So, this is Divi 4.0 the problem and I have no idea why …

    Did you have this kind of problem, or problems related to the latest update of Divi 4.0?

    • This reply was modified 4 years, 5 months ago by epokk.
    Plugin Author Mikko Saari

    (@msaari)

    I have Divi 4.0 and Yoast SEO on my test site, and they cooperate without problems. This is likely something specific to your site. Unfortunately I can’t help you here without a closer look at your site.

    Thread Starter epokk

    (@epokk)

    OK thanks for your answer.
    By purchasing the premium version of Relevanssi, can the support help me ? 🙂

    Plugin Author Mikko Saari

    (@msaari)

    Yes, I can look at your site then.

    Thread Starter epokk

    (@epokk)

    I found the solution !

    Before the update of Divi 4.0, the “expand shortcodes” box in “Relevanssi” was checked and everything worked well. After the update of Divi 4.0, I had to uncheck this box for everything to work again.

    It’s strange because there is no link …

    Thread Starter epokk

    (@epokk)

    I thought I had the solution but … no.
    This is a very strange problem. The page is no longer indexed sometimes after 1 modification, and sometimes after 2 modifications of the page …

    I remove all the codes I added on the site, disable the child theme, disable all plugins, it does not change anything.

    The problem only appears with version 4.0 of divi. I contacted the technical support of Divi, they told me to contact the support of “Relevanssi” …

    Plugin Author Mikko Saari

    (@msaari)

    Well, if you can share the post contents with me, I can see if I can reproduce the error on my test site. If I can, then I may be able to help.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘The page is no longer indexed after modification’ is closed to new replies.