title: Htaccess rewrite url (Shorten url)
body: <p>So I have the url: myurl.com/projects/url/visit.php?link=fbehe and I want to rewrite it as so:</p>
  
  <p>myurl.com/u/fbehe</p>
  
  <p>But it isn't working. I am using this so far:</p>
  
  <pre><code>RewriteEngine On
  RewriteRule ^/u/([^/]*)$ visit.php?link=$1 [L]
  </code></pre>
  
  <p>I would also like to note that I placed my htaccess file in the directory with my visit.php file. so myurl.com/projects/url/.htaccess</p>
  
  <p>How could I achieve this?</p>