title: Robots.txt file to allow all root php files except one and disallow all subfolders content
body: <p>I seem to be struggling with a robots.txt file in the following scenario.  I would like all root folder *.php files to be indexed except for one (exception.php) and would like all content from all subdirectories of the root folder not to be indexed.  </p>
  
  <p>I have tried the following, but it allows accessing php files in subdirectories even though subdirectories in general are not indexed?</p>
  
  <p>....</p>
  
  <pre><code># robots.txt 
  User-agent: *
  Allow: /*.php
  disallow: /*
  disallow: /exceptions.php
  </code></pre>
  
  <p>....</p>
  
  <p>Can anyone help with this?</p>