title: add_rewrite_rule is not working properly
body: <pre><code>&lt;?php
  function add_my_external_rules()
  {
      add_rewrite_rule('myrule', '/newlocation');
  }
  add_action('init', 'add_my_external_rules');
  ?&gt;
  </code></pre>
  
  <p>Hi i am using this code in function.php file of a theme to add my own rewrite rule in .htaccess file. But this code is not writing any thing in .htaccess file. Please help.</p>