• Resolved ahau

    (@ahau)


    Hi,

    I have just installed Relevanssi (Version 4.0.3), ran indexing and I am getting some strange results:

    1. I have wp-foro installed – it it a forum. While Relevanssi indexes it all correctly as I can see the results in the search results page, and the excerpt is from the forum topic page with the relavent bits highlighted, it is not linking to that forum post – topic, only to the default forum page. How can I get this to give the page for the post itself where it is getting its excerpt from?

    2. I have some custom plugins that are loaded by shortcode and there is pagination at the bottom of the pages to move into the next lot in information. The shorcode is the only thing on a post page.

    If I do a search for something on one of those first post pages, I get the results and the correct page link. But if I do a search for anything on the other pages that are from the pagination links, I get Sorry, no posts matched your criteria. It seems that it only indexes the first post page but does not follow the pagination links to the next lot? How can I get it to follow and index everything in the site?

    Thank you for your time ??

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

    (@msaari)

    You’re talking about wpForo? That forum is not compatible with Relevanssi, and it’s just not possible to have Relevanssi search the forum posts, because they are stored in a separate database table, outside the wp_posts table.

    When Relevanssi indexes a post, it runs do_shortcode() on the post to expand the shortcodes and uses that content. It doesn’t know that it needs to do something else, and really can’t do that in any case: that’s the page content and that’s it.

    You can use the relevanssi_content_to_index filter hook to add more content to the posts before Relevanssi indexes them. You can write a function that’ll fetch the other pages of content and add them to the posts so Relevanssi can see the content.

    Do note that Relevanssi isn’t going to understand the paging, and will just return that post and link to the first page of the post, even if the matching content would be on a subpage.

    Thread Starter ahau

    (@ahau)

    Thank you for your reply.

    Yes, I am using wpForo.

    Not fully indexing into tables outside of the wp_posts table also explains why it will not index my plugins fully as they are are in seperate tables also.

    Once again thank you for your time – your reply is appreciated ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not Indexing Properly’ is closed to new replies.