title: redirect links using htaccess file
body: <p>How do I redirect a link to a particular link using .htaccess</p>
  
  <pre><code>http://www.example.com/one http://differentdomain.co.uk/a/
  http://www.example.com/two http://differentdomain.co.uk/b/
  http://www.example.com/three http://differentdomain.co.uk/c/
  http://www.example.com/four http://differentdomain.co.uk/d/
  </code></pre>
  
  <p>i have tried Redirect 301 &amp; RewriteRule but its not working at all, im using an apache server</p>
  
  <p>This is what i have on my .htaccess file</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  #Options +FollowSymLinks
  #Options +Indexes 
  RewriteEngine On
  #RewriteBase /
  RewriteCond %{HTTP_HOST} ^www\.example\.com [NC]
  RewriteRule ^/one http://differentdomain.co.uk/a/ [R=301,L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>both these codes dont work for me</p>
  
  <pre><code>Redirect 301 /one/ http://differentdomain.co.uk/a/
  RewriteRule ^/one http://differentdomain.co.uk/a/ [R=301,L]
  </code></pre>
  
  <p>by the way the domain I'm working on is empty only the .htaccess &amp; cgi-bin folder is present</p>