Get WPFTS Pro today with 25% discount!

WPFTS does not index files NOT uploaded with Media Library

  • I use Simple File List Pro from Mitchel Bennis. Files are uploaded to a directory structure in wp-content/uploads/simple-file-list.
    In the wp-content/uploads/simple-file-list there are folders, used as categories. For Example wp-content/uploads/simple-file-list/newsletters.
    Newsletters are PDFs in that directory.

    But when i do a search on a certain word in 1 of the newsletters, the PDF does not show up in search results.
    When i simply upload it to the wp-content/uploads/ with the Media manager from Wordpress, the newsletters does show up in search results.

    Am i right in thinking that WPFTS does not index files NOT uploaded with Media Library?
    Can i make WPFTS index the /uploads/simple-file-list/ ?

    Your help will be appreciated

  • Hi @Webwerkplaats

    The main problem is that WPFTS basically works with database entries in the wp_posts table, not with physical files. The files are the source of the search text only at the time of the indexing procedure, and thereafter the index only references the rows in the database table. It works this way because WPFTS is essentially an extension of the standard WordPress function, WP_Query, which searches wp_posts records.

    What I might suggest in your case?

    1. Since Simple File List Pro does not save information to WP Media Library, we need another plugin that will populate wp_posts with information about each file. In this case, with a small addon, the WPFTS plugin can index each file and display it in the search results (every file).

    2. Another option is to index files that are embedded in the page using the [eeFSL] shotcode. But in this case it will be impossible to highlight a single file in the search results - instead a link to the page itself, where the list of files is embedded, will be displayed.

    I need to understand exactly what you need in order to give further instructions or advice. Please let me know.

Suggested Topics

  • 1
  • 2
  • 2
  • 1
  • 1

Be the first to read the news!

We are always improving our products, adding new functions and fixes. Subscribe now to be the first to get the updates and stay informed about our sales! We are not spammy. Seriously.

Join Us Now!

We are a professional IT-team. Many of us have been working in a Web IT field for more than 10 years. Our advanced experience of software development has been employed in the creation of the WordPress FullText Search plugin. All solutions implemented into the plugin have been used for 5 or more years in over 60 different web-projects.

We are looking forward to your comments, requests and suggestions in relation to the current plugin and future updates.


The forum powered by NodeBB | Contributors