Disable File Pages

For performance reasons you can completely disable the custom post type ‘wpfb_filepage’.

WP-Filebase stores file meta data in its own data base tables, which is optimized for managing tens of thousands of files. Additionally, to benefit from the WordPress custom post type API, WP-Filebase Pro generates a post for each file in the `wp_post` table. This can have a negative impact on performance.

You can prevent WP-Filebase from mirroring each file in the post table by putting the following line in wp-config.php:

define('WPFILEBASE_DISABLE_FILE_PAGES', true);

This stops WP-Filebase to create more file pages, but does not touch the existing ones. To clean the wp_posts table, run this MySQL query:

DELETE FROM wp_posts WHERE post_type = 'wpfb_filepage';

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Leave a Reply

Your email address will not be published.