title: .htaccess to add subdomain to permalinks (dev server to staging)
body: <p>I have developed a static site that works great when on my local server: <code>mysite.dev</code></p>
  
  <p>However, in my staging server, I have it going into a subdirectory:<br>
  <code>sites.domainname.com/mysite</code></p>
  
  <p>While it works on my local server (MAMP Pro), when I FTP the files to the <code>/mysite</code> directory, a link that should be <code>sites.domainname.com/mysite/about/index.php</code> is actually <code>sites.domainname.com/about/index.php</code> (completely leaving out the subdirectory folder "<code>mysite</code>")</p>
  
  <p>How can I fix this using .htaccess in the <code>mysite</code> folder?</p>