title: Wordpress messing up rewrite rules
body: <pre><code># BEGIN WordPress
  &lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.php [L]
  &lt;/IfModule&gt;
  # END WordPress
  
  RewriteEngine on
  RewriteCond %{HTTP_HOST}    ^www.app.domain.com$
  RewriteCond %{REQUEST_URI}  !^/app/
  RewriteRule (.*)            /app/$1
  RewriteCond %{HTTP_HOST}    ^app.domain.com$
  RewriteCond %{REQUEST_URI}  !^/app/
  RewriteRule (.*)            /app/$1 
  </code></pre>
  
  <p>The problem: app.domain.com is working without problems, but as soon as you add a subfolder like app.domain.com/folder you get the Wordpress tag page. </p>
  
  <p>What am I doing wrong?</p>