Plugin rewrite rule flushed on plugin/wp update
-
My plugin sets rewrite rules using add_rewrite_rule, on plugin activation the rule works great.
Often these rules stop working which seem to coincide with a WordPress update and/or a Yoast SEO plugin update.
Is there any way to set the rewrite to not be flushed by another source, or is it possible to check via cron job in my plugin whether the rule exists, if not then set it again?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Plugin rewrite rule flushed on plugin/wp update’ is closed to new replies.