title: htaccess 301 redirect in wordpress
body: <p>How can I 301 redirect this with htaccess?</p>
  
  <pre><code>http://example.com/category/produkter_and_service 
  </code></pre>
  
  <p>to </p>
  
  <pre><code>http://example.com/products
  </code></pre>
  
  <p>While not affecting posts within the categories like this:</p>
  
  <pre><code>http://example.com/category/produkter_and_service/ventiler-og-bakkekraner/
  </code></pre>
  
  <p>I tried like this:</p>
  
  <pre><code>Redirect 301 /category/produkter_and_service http://www.example.com/products
  </code></pre>
  
  <p>But it also affects the posts pages inside like:</p>
  
  <pre><code>/category/produkter_and_service/some_product
  </code></pre>