Get WPFTS Pro today with 25% discount!

Can I exclude files from being indexed?


  • Hello. Just thinking about the security. If I have files in my WP upload folder that I do not want to be indexed, cal I exclude specific files?

    My board needs to know before I pull the trigger and purchase.
    Thanks
    Graham

Suggested Topics

  • 0 Votes
    2 Posts
    103 Views
    EpsilonAdminE

    Hi @Simply_Friend

    Thank you for the question. Actually it's not planned to be added to the plugin core, because this feature (search by date FROM - TO) is already implemented in WP Native search (in WP_Query()).

    So you can search with date using WP_Query parameter date_query.

    Here is the topic: https://developer.wordpress.org/reference/classes/wp_query/#date-parameters

    Another question is if you want date picker fields to be added next to the text query field in the search widget.

    This is fairly easy to do for the average WP developer. There are probably some visual constructors to do this, but I can’t recommend anything here - if you find a solution, please write. It will be useful for other users.

    We don't plan to add a search form builder to the core functionality of WPFTS because we don't want to compete with Elementor / Beaver Builder / Visual Builder etc etc, although we will probably do a detailed tutorial on how to use the builders to make a search widget with additional fields.

    Hope this helped you.

    Thanks!

  • DB table size?

    Frequently Asked Questions
    6
    0 Votes
    6 Posts
    606 Views
    EpsilonAdminE

    Hi @ALG1970

    Yes, it was another bug.

    I've just updated the plugin to version 1.59.211 that should fix the issue.

    The "_tp" table should not grow anymore.

    Also this should not make any additional load to the server.

    Please update WPFTS and give it another chance.

    Thank you, let me know if this goes fine now.

  • WPML compatibility

    Frequently Asked Questions
    1
    0 Votes
    1 Posts
    546 Views
    No one has replied
  • Problem with ACF generated fields

    Frequently Asked Questions
    3
    0 Votes
    3 Posts
    769 Views
    D

    @epsilonadmin

    Thanks!

    It does!!! It works.

    Thanks for your hard work!!!

  • Filter and sort result list

    Frequently Asked Questions
    4
    0 Votes
    4 Posts
    761 Views
    EpsilonAdminE

    Hi @ilocimwca

    It's simple to do with this addon
    https://fulltextsearch.org/wpfts-addon-files-only-1.0.1.zip

    It contains some code to limit post_type to 'attachment' only:

    add_action('pre_get_posts', function(&$wpq) { if ($wpq->is_search && $wpq->is_main_query()) { $wpq->set('post_type', array('attachment')); $wpq->set('post_status', array('inherit')); } });

    Pretty simple. If you want to set up your own post_types, just modify this code. You can read about full WP_Query() parameters at the Wordpress official documentation.

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.

ewm-logo-450

The forum powered by NodeBB | Contributors