title: .htaccess 301 redirect not working?
body: <p>I have a static page of the form page1.html in my root directory and another page index.php also in the root directory. What I am trying to do is move all old incoming links to point to a wordpress directory. I got the main domain to redirect via the .htaccess and the index.php which I found from my hosting providers help site (i.e. abc.com now redirects to my wordpress installation folder properly).</p>
  
  <p>The problem I have now is, any pages that were directly linked to or indexed are still showing up. For example abc.com/page1.html is still visible. I tried using the following .htaccess code to redirect to the new site:</p>
  
  <pre><code>redirect 301 /page1.html abc.com/index.php
  </code></pre>
  
  <p>The above code should be correct from my understanding as my index.php loads up the wordpress data (same method used for the correctly working abc.com redirect), but for some reason the redirect is not taking place.</p>
  
  <p>Here is the general layout of my .htaccess file.</p>
  
  <pre><code># BEGIN WordPress redirect
  # This part is for the abc.com -&gt; wordpress folder redirect.
  # Code taken strait from my hosting provider's help tutorial.
  &lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /WordpressInstallation/
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /WordpressInstallation/index.php [L]
  &lt;/IfModule&gt;
  
  # Problem code below
  # Static page redirects
  redirect 301 /page1.html /index.php
  redirect 301 /page2.html /index.php
  .
  .
  .
  </code></pre>
  
  <p>Any ideas on what I am doing wrong or how I can achieve the result I am looking for?</p>
  
  <p>Edit:</p>
  
  <p>It may not be necessary information, but the page1.html, page2.html, etc files are located in the root directory with the .htaccess file while the wordpress installation is in a folder named wordpressInstallation in the root directory. I just thought I would clarify that if the question didn't make that clear.</p>
  
  <pre><code>/
  ---wordpressInstallation
  ------Wordpress files (head.php, index.php, style.css etc.)
  ---page1.html
  ---page2.html
  .
  .
  .
  ---index.php
  ---.htaccess
  .
  .
  .
  </code></pre>