save_mod_rewrite_rules


save_mod_rewrite_rules ( No parameters )

Returns:
  • (bool|null) True on write success, false on failure. Null in multisite.
Defined at:

Description

Updates the htaccess file with the current rules if it is writable.

Always writes to the file if it exists and is writable to ensure that we blank out old rules.

Related Functions

add_rewrite_rule, iis7_save_url_rewrite_rules, iis7_add_rewrite_rule, flush_rewrite_rules, iis7_delete_rewrite_rule

Top Google Results

User discussions

wpseek mobile