title: How can I send multiple $_GET["x"] variables using htaccess?
body: <p>so far everything good with this but.....</p>
  
  <pre><code>$custom_path= "musical_instruments";
  echo '&lt; a href='$custom_path' &gt;custom link&lt; /a&gt;'
  </code></pre>
  
  <p>I'm able to use the <code>$_GEt["custom_path"]</code> in the page I'm redirected</p>
  
  <pre><code>RewriteCond %{REQUEST_FILENAME} !-f 
  RewriteCond %{REQUEST_FILENAME} !-d 
  RewriteRule ^(.*)$ localhost/folder/folder/stuff.php?custom_path=$1
  </code></pre>
  
  <p>how to send multiple <code>$_GET</code> variables form a custom link so I can use them in the page I'm redirected to?</p>
  
  <p>I did it this but is not quite what I want to know:</p>
  
  <pre><code>$custom_path = "category=$category&amp;item_name=$url&amp;item_id=$id";
  </code></pre>
  
  <p>php</p>
  
  <pre><code>$custom_path= "musical_instruments";
  $item_name= "guitar";
  $item_id= 123;
  
  echo '&lt; a href='$custom_path&amp;$item_name&amp;$item_id' &gt;custom link&lt; /a&gt;'
  </code></pre>
  
  <p>htaccess</p>
  
  <pre><code>RewriteCond %{REQUEST_FILENAME} !-f 
  RewriteCond %{REQUEST_FILENAME} !-d 
  RewriteRule ^(.*)$ localhost/folder/folder/stuff.php?custom_path=$1&amp;item_name=$2&amp;item_id=$3
  </code></pre>
  
  <p>how can I have access to the variables $1, $2 and $3 of a custom link? am I doing something wrong with the way I'm building the custom link?</p>