title: The URL adds /public_html/ after changes in .htaccess
body: <p>I'm a newby on using the .htaccess file for making changes on my website.</p>
  
  <p>I want to change a URL automatically by adding the "www." at the begining of the domain name. To do so I enter the following code on the .htaccess file:</p>
  
  <pre><code>RewriteEngine On
  RewriteCond %{HTTP_HOST} !^www.arnaldpedros.com$ [NC]
  RewriteRule ^(.*)$ http://www.arnaldpedros.com/$1 [L,R=301]
  </code></pre>
  
  <p>I see allover the web that this is the proper way to do it but when I type arnaldpedros.com in my browser it takes me to: </p>
  
  <p><a href="http://www.arnaldpedros.com/public_html/" rel="nofollow noreferrer">http://www.arnaldpedros.com/public_html/</a></p>
  
  <p>Whis is a 404 Not Found page, with the message:</p>
  
  <blockquote>
    <p>Not Found 
    The requested URL /public_html/ was not found on this server.</p>
  </blockquote>
  
  <p>What I want to do is to type arnaldpedros.com and to automatically go to www.arnaldpedros.com.</p>
  
  <p>It's driving me crazy cause the same happens on many websites I mange. 
  Any help please?</p>