• Resolved grungyape

    (@grungyape)


    So it seems most WP search tools will not search dynamic data generated on the fly, or via shortcodes, like for example TablePress.

    Google Search will because it visits the page from the outside looking in, like a living person, so the searchbot sees the dynamic content rendered.

    My guess is the other tools are looking in the database.

    Looking to see if this plugin will index and search dynamic page content.

    https://www.ads-software.com/plugins/relevanssi/

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

    (@msaari)

    Relevanssi can expand shortcodes –?not all, but those that behave well –?and see their content. Dynamic data depends on how it’s done; in some cases yes, in some cases no.

    However –?if you have, say, TablePress table on a page, and you make changes in the table, Relevanssi doesn’t notice that. The changes are not reflected in the index for the page until the page is reindexed, either by saving it or by rebuilding the whole index.

    If your site is very dynamic, Relevanssi is not the best option.

    Thread Starter grungyape

    (@grungyape)

    OK. By dynamic I should clarify. I could technically do the whole thing in static HTML, but I used the TablePress to build the tables, then the shortcode to insert them into the page, making the page have maybe 12 lines of code.

    The data itself may change, but not daily or based on any user action. If it does change, we’d edit the TablePress and re-save the page if need be. Right now, the main issue is, no search period seems to see any of the table data, which is pushing me to build it statically.

    Plugin Author Mikko Saari

    (@msaari)

    Ok, in that case Relevanssi will do just fine – Relevanssi will index the contents of your TablePress tables with the posts.

    Hi Mikko, wondering if you could help me with a similar task.

    I have a page that is loaded completely dynamically from a php mysql query and populated into a table. I’ve tried a couple ways of doing this both work but neither allow Relevanssi to search it.
    Method 1 – insert_php plugin
    Method 2 – custom page template

    Any ideas?

    Thank you!

    Plugin Author Mikko Saari

    (@msaari)

    Beerawk, make it a shortcode, and Relevanssi will be able to index it – just not dynamically when the content changes.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Search dynamic data?’ is closed to new replies.