title: Facebook Like Custom Profile URL PHP
body: <p>Making a website and I want to put in a custom profile URL for all the users on my site (like facebook). </p>
  
  <p>On my website already, people have a page like <a href="http://sitename.com/profile.php?id=100224232" rel="nofollow">http://sitename.com/profile.php?id=100224232</a> </p>
  
  <p>However, I want to make a mirror for those pages that relates to their username. For example, if you go to <a href="http://sitename.com/profile.php?id=100224232" rel="nofollow">http://sitename.com/profile.php?id=100224232</a> it redirects to you <a href="http://sitename.com/myprofile" rel="nofollow">http://sitename.com/myprofile</a></p>
  
  <p>How would I go about doing this with PHP and Apache?</p>