title: 2 WordPress site, Sub directory site giving 404
body: <p>Here is a situation</p>
  
  <p>I have <code>example.org</code> and <code>example.org/dev</code> with following code, I have made subdirectory '<code>dev</code>' as subdomain i.e <code>dev.example.org</code>. Both sites are WordPress site.</p>
  
  <pre><code>RewriteEngine on
  
  RewriteCond %{HTTP_HOST} ^(www\.)?example\.org$
  RewriteRule ^dev/(.*)$ http://dev.example.org/$1 [L,QSA,R=301]
  </code></pre>
  
  <p>Now problem is 
  <code>example.org</code> works OK, but I can not access any page of <code>dev.example.org</code> I get a <code>404</code> at every page. </p>
  
  <p>Further more, wp-admin is redirecting to HTTPS/SSL although I have set it to be false <code>(define( 'FORCE_SSL_ADMIN', false );)</code></p>
  
  <p>Any help is highly appreciated</p>