title: Sending Empty GET Requests to PHP, but handle the request?
body: <p><strong>EDIT</strong> I updated my configuration like below:</p>
  
  <pre><code>location / {
      rewrite ^/tag/([^/]*)$ /tag/?tag=$1 break;
  }
  </code></pre>
  
  <p>This worked.</p>
  
  <hr>
  
  <p>How would I have a file structure like this:</p>
  
  <pre><code>/
   /tags
    index.php
  </code></pre>
  
  <p>Look like this in the URL:
  <a href="https://example.com/tags/animals" rel="nofollow">https://example.com/tags/animals</a></p>
  
  <p>("animals" being the tag, but the page gets animals in a $_GET or some method alike)</p>
  
  <p>I can't have a seperate page for each tag since tags are dynamically made, I figured there would be something to do with rewrite rules. I use nginx as my server, so how would I do something like this?</p>