title: wordpress returns a 404 when i call php file with jquery ajax
body: <p>I have php file for adding email addresses to a newslist
  the file is in my wp-content/plugins directory</p>
  
  <p>my file is called add_subscriber.php</p>
  
  <p>i think my htaccess block this file for some reason</p>
  
  <p>my htaccess file is as follow</p>
  
  <pre><code>IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
  
  &lt;Limit GET POST&gt;
  order deny,allow
  deny from all
  allow from all
  &lt;/Limit&gt;
  &lt;Limit PUT DELETE&gt;
  order deny,allow
  deny from all
  &lt;/Limit&gt;
  
  
  &lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.php [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>when i try to call this file it somehow redirects to the 404 page.</p>
  
  <p>my AJAX code</p>
  
  <pre><code>&lt;script&gt;
      &lt;?php echo 'var blog_url = \''.get_bloginfo('wpurl').'\''; ?&gt;;
  
  
  function validateEmail(email) { 
      var re = /^(([^&lt;&gt;()[\]\\.,;:\s@\"]+(\.[^&lt;&gt;()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
      return re.test(email);
  }
  
  function subscribeMailList(){
      email=jQuery("#ml-email").val();
      if(!validateEmail(email)){
          return false;
      }
      //jQuery("#ml-img").fadeIn(0);
      //jquery ajax request
      var url=blog_url+"/wp-content/plugins/mail-list/ajax/add_subscriber.php"
  
      console.log(url);
  
      jQuery.post(url,{emailaddress:email},function(result){
          if(result=="true"){
              $("#newsletter-form-succeeded").css("display","block");
              $("#newsletter-form").css("display","none");
          }      
      });
  
      //hide the form
      /*jQuery("#ml-img").fadeOut(0);
      jQuery('#ml-p').fadeOut(0);
      jQuery('#ml-p-sent').fadeIn(0);
      jQuery('#ml-form').fadeOut(0);
      jQuery('#ml-newsletterform').delay(3000).fadeOut(1000);*/
      return false;
  }
  
  &lt;/script&gt;
  </code></pre>