title: .htaccess but only from GET variable
body: <p>I am using wordpress and need to redirect wp-login?action=register to /registration/ page, </p>
  
  <p>first i did </p>
  
  <pre><code>Redirect /wp-login.php http://www.class-world.com/register/
  </code></pre>
  
  <p>but then it also keeps redirecting logout wp-login.php?action=logout so cant logout at all.</p>
  
  <p>My question is how to only redirect action=register, instead of whole wp-login.php</p>
  
  <p>I tried with following: </p>
  
  <p>RewriteRule ^/wp-login.php\?action=register$ /register/</p>
  
  <pre><code># BEGIN WordPress
  &lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /
  RewriteRule ^index\.php$ - [L]
  RewriteRule ^/wp-login.php\?action=register$ /register/
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.php [L]
  &lt;/IfModule&gt;
  # END WordPress
  </code></pre>
  
  <p>but no luck</p>