title: Allow a specific PHP file to access a hardened wp-content folder
body: <p>1) My wp-content is hardened with a .htaccess file containing this code:</p>
  
  <pre><code>&lt;Files *.php&gt; 
  deny from all
  &lt;/Files&gt;
  </code></pre>
  
  <p>2) I want (need) to authorize <code>xml-sitemap-xsl.php</code> Otherwise I get this error in my error log: <code>client denied by server configuration: /home/user/mysite.net/wp-content/plugins/wordpress-seo/css/xml-sitemap-xsl.php, referer: http://mysite.net/sitemap_index.xml</code></p>
  
  <p>3) I think I should add the following code but I’m not sure if it’s the right code nor where to place it:</p>
  
  <pre><code>&lt;Files "xml-sitemap-xsl.php"&gt;
  Allow from all
  &lt;/Files&gt;
  </code></pre>
  
  <p>The thing I want to avoid is a conflict between the deny and allow commands.</p>
  
  <p>Thanks,</p>
  
  <p>P.</p>