Getting 404 Errors? Update to version 1.1.60
-
If your VirtualPosts were returning 404s even when your VirtualPost config test returned records, the latest update should fix it.
I recently found and worked around an issue that was caused by plugins/themes that used the “flush_rewrite_rules()” method when is_admin() == false.
Simply put, flushing the rewrite rules should only happen when an admin has triggered it by activating, deactivating, or configuring a plugin. Some plugins and themes (Gravity Forms to name one) run a check of the rewrite rules on *every page load* for their expected rewrite rules and if they’re not found, add them, and then flush the rules.
This approach means that *every plugin author* who doesn’t want to have their rewrite rules wiped out must add them on every page load. Now, this isn’t a huge performance hit, but it would be unnecessary if others followed best practices.
Rest assured that Airpress is NOT calling flush_rewrite_rules() on every page load… it’s just calling the required add_rewrite_rule on every page load *just in case* some other plugin calls “flush_rewrite_rules()” on the “frontend”.
Hope this helps some of y’all!
The topic ‘Getting 404 Errors? Update to version 1.1.60’ is closed to new replies.