title: user profile redirect in .htaccess file
body: <p>####.htaccess file#######</p>
  <pre><code>RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^u([a-z0-9]+)$ /user.php?username=$1 [L]
  RewriteRule ^([^\.]+)$ $1.php [NC,L]
  AuthGroupFile /dev/null
  AuthType Basic
  AuthUserFile /home/aydeslis/domains/*******/.htpasswd/public_html/.htpasswd
  AuthName &quot;Site in maintenance&quot;
  require valid-user
  ErrorDocument 401 &quot;Unauthorized Access&quot;
  </code></pre>
  <p>I am trying to redirect users to a PHP file that shows a user profile the URL would look like this
  domain.com/u/user.php?username=[Username] and would be typed into the URL bar like domain.com/u/[username]. would be much appreciated if someone could help me out.</p>