Change FlyingPress .htaccess rules

FlyingPress injects some rules to .htaccess to serve cached pages directly by the web server. You can change the rules by using the " flying_press_htaccess_rules" filter.

The wrong htaccess rule may result in a server error and crash your entire site, be careful.

add_filter('flying_press_htaccess_rules', function($flying_press_rules){
   // Change $flying_press_rules here
   return $flying_press_rules;
});
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.