Optimization of wp_options
-
Hello,
I am trying to optimize wordpress database ispecially wp_options table. I found that your plugin Slim Seo, adds these in wp_options:
1. rewrite_rules
You add rewrite rule for sitemap with this code:
add_rewrite_rule( 'sitemap-(taxonomy-[^/]+?)\.xml$', 'index.php?ss_sitemap=$matches[1]', 'top' );
I removed all taxonomies from the sitemap with filter
add_filter('slim_seo_sitemap_taxonomies', '__return_empty_array');
Please, add some possibility for users that don’t use taxonomies in sitemap, so they can remove the rewrite rule for “sitemap-taxonomy”. Maybe with some condition for addying this rewrite rule or add some filter.
2. _transient_slim-seo-news
Please, add possibility to prevent the creation of this transient. I don’t want to have this in my wp_options.
If there is a way to prevent the creation of this transient, please advice how to do that. I don’t find anything in plugin documentation.
Thank you,
david
- The topic ‘Optimization of wp_options’ is closed to new replies.