title: Remove author prefix on WordPress
body: <p>How can I remove the author prefix on a WordPress website, I have done a quick Google but have only found htaccess redirects which I don't want to resort to.</p>
  
  <p>To clarify I want to turn this:</p>
  
  <p><code>http://www.domain.com/author/cameron/</code></p>
  
  <p>into this</p>
  
  <p><code>http://www.domain.com/cameron/</code></p>
  
  <p>I don't want to use any redirects of any kind, but actual PHP code I can use in the functions.php file, as I want all links across the site that use the author stuff to auto update without keeping there original links and then redirecting to the new one.</p>
  
  <p>Thanks</p>