• Resolved CharlesDerre

    (@brakkar)


    Hello,
    in the plugin there is a setting “Enable search query alteration?” if I enable this to database, are the alteration permanant to the wordpress database?

    Please clarify

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hello!

    The query-alterations are not permanent; they’re “JIT” (Just in Time). When you disable the plugin, or when you disable the query-alteration settings, it’ll be turned off, and everything is as if it was never touched.

    For each post and page, the setting is stored in the post-meta database.

    When you alter the query “in the database”, whenever you update a post, all post IDs with the query-altering setting enabled are collected and stored in a new database entry. This entry is called once an archive-query or search-query is detected, it’s then stored in memory, and TSF uses it to filter the posts from the query dynamically.

    When you alter the query “on the site”, each post is checked for the query-altering entry as they (try) to be displayed on your website during an archive-query or search-query loop, without a pagination bias. It is why you may experience 404-errors using this setting, but it may be the preferred method for some corner-cases (e.g. large news websites).

    Thanks to my numinous focus on performance, you shouldn’t notice any slowdown because of these settings, whichever way you configure them. ??

    I hope this clarification brings you peace of mind! Cheers!

    • This reply was modified 4 years, 8 months ago by Sybre Waaijer. Reason: typo
    Thread Starter CharlesDerre

    (@brakkar)

    Thank you very much for your answer.
    I chose your plugin over the “other one” for my site and don’t regret it.

    I only wish the sitemap would also include tags and categories, which is not the case if i’m not mistaken.

    Plugin Author Sybre Waaijer

    (@cybr)

    No problem ??

    And that’s correct, we don’t display archives in the sitemap–thanks to WordPress’ structure, they should be found automatically by search engines. That is not to say we’ll never include them, but for now, the feature isn’t present.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Are query alteration permanent?’ is closed to new replies.