title: .htaccess custom redirect from subdirectory to root
body: <p>I have a website (Wordpress) installed in the root HTTP folder. Everything works great.
  I have another subdirectory which I want to make it a temporary default landing page (clean HTML5 website).</p>
  
  <p>Currently, everything works great with the following rule:</p>
  
  <pre><code># for subdirectory default landing
  RewriteEngine on
  RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s/+[\s?]
  RewriteRule ^$ /subdirectory [R=301,L]
  # end rule for subdirectory
  
  # begin WP
  &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 WP
  </code></pre>
  
  <p>On the landing page, I have a link to the main website (targeted to www.domain.com/index.php), but when I click to that link, redirects me automatically back to my subdirectory (via .htaccess rule). There is any workaround?</p>