title: 301 Redirect - variable in the old url
body: <p>I have several urls on a Joomla site which have been indexed and I need to 301 redirect them into some new pages. The old URL is formed like this:</p>
  
  <p><a href="http://www.mydomain.com/en/wfmenuconfig/family/family-disease/177-category-english?start=20" rel="nofollow noreferrer">http://www.mydomain.com/en/wfmenuconfig/family/family-disease/177-category-english?start=20</a></p>
  
  <p>I want it to go to: </p>
  
  <p><a href="http://www.mydomain.com/en/family-members/family-disease" rel="nofollow noreferrer">http://www.mydomain.com/en/family-members/family-disease</a></p>
  
  <p>I tried using: </p>
  
  <pre><code>RewriteCond %{QUERY_STRING} ^start=(.*)$
  RewriteRule ^/en/wfmenuconfig/family/family-disease/177-category-english$ http://www.www.mydoamin.com/en/family-members/family-disease%1 [R=301,L]
  </code></pre>
  
  <p>I've tried several answers on here but nothing seems to be working. </p>
  
  <p><a href="https://stackoverflow.com/questions/1513164/htaccess-301-redirect-dynamic-url">htaccess 301 redirect dynamic url</a></p>
  
  <p>and</p>
  
  <p><a href="https://stackoverflow.com/questions/871511/301-redirecting-urls-based-on-get-variables-in-htaccess">301 Redirecting URLs based on GET variables in .htaccess</a></p>
  
  <p>Any ideas what I should try next? (I've tried a normal redirect 301)</p>