Sometimes Relevanssi can get confused and indexes the post content under the wrong post ID. The main symptoms for this are: You can confirm this problem by checking the posts involved with the Relevanssi debugger that shows how Relevanssi has indexed the post. If you have this specific problem, you’ll find that the posts either...
Source
Sometimes Relevanssi can get confused and indexes the post content under the wrong post ID. The main symptoms for this are:
You can confirm this problem by checking the posts involved with the Relevanssi debugger that shows how Relevanssi has indexed the post. If you have this specific problem, you’ll find that the posts either have no or too little content indexed, or have a lot of content that seems to be from the wrong post.
That’s what’s going on: when Relevanssi indexes a post, it gathers up the content in the post and then stores it in the wp_relevanssi database table under the correct post ID. However, in some cases, the process may get disturbed and the content will end up under the wrong post ID.
The most typical cause for this problem is when you have a post loop element on a page. This may be a block or a shortcode, but it’s something that loops through posts. When Relevanssi sees this element and indexes it, it runs the loop and in some cases, the loop will change the post ID Relevanssi thinks it’s indexing.
SolutionsA simple solution is to exclude the loop element from index. The exact method depends on if it’s a block, a shortcode or something else, but if you exclude it, it won’t confuse Relevanssi anymore.
If this is your shortcode, you can write the code in a way that doesn’t confuse Relevanssi. These problems come when your code changes the global $post value. In general, messing with that is not a good idea, so if your loop code uses new WP_Query(), rewrite it to use get_posts() instead. In most cases, using WP_Query should be restricted to templates and in other cases you should use get_posts().
Not logged in. Log in to see your license details.
Relevanssi doesn’t work automatically with the Query Loop block in GeneratePress and GenerateBlocks. Fortunately, the solution is simple: the Query…
Starting from versions 2.4.0 (Premium) and 4.3.0 (Free), Relevanssi doesn’t index posts that have been marked “noindex” in the Yoast SEO settings (“Allow search engines to show this Post in search results?”). If the “noindex” setting is in the default value or set to explicit “yes”, Relevanssi indexes the post….
Relevanssi includes a search form shortcode that can be used to display a search form. The shortcode is searchform and…
I have a term who name is for, example, Great Blue Trojans. The slug is GBT.I…
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | Removing Relevanssi from the quick edit | 0 | 4.7 | 02-03-2026 |
| 2 | Add more content to the index for Relevanssi Light | 0 | 10 | 20-04-2026 |
| 3 | Disabling Relevanssi Light for a specific post type | 0 | 9.04 | 20-04-2026 |
| 4 | A New Chapter for Relevanssi | 0 | 10 | 27-03-2026 |
| 5 | Premium 2.30 / Free 4.27 | 0 | 11.65 | 12-05-2026 |
| 6 | A New Chapter for Relevanssi – Frontpage | 0 | 10 | 27-03-2026 |
| 7 | comesio solutions – The new home of Relevanssi | 0 | 10 | 27-03-2026 |
| 8 | 0 | 7.01 | 24-07-2026 | |
| 9 | Issure of bookmark search | 0 | 6.69 | 29-07-2026 |