title: 301 Redirect old site URL's in new Drupal installation
body: <p>I'm looking to 301 redirect an URL from a old version of a site no longer being used to a new URL that has been created in fresh Drupal installation.</p>
  
  <p>Old URL: /198/our-software/</p>
  
  <p>New URL: /services/software-development/</p>
  
  <p>In the .htaccess located in the root directory of Drupal I have added the following:</p>
  
  <pre><code>redirect 301 /198/our-software/ http://www.domain.com/services/software-development
  </code></pre>
  
  <p>The redirect is working to some extent, it sends the user to a url like below with a query string appended to the end of it, which results in a 404 error:</p>
  
  <p><a href="http://www.domain.com/services/software-development?q=198/our-software/" rel="nofollow">http://www.domain.com/services/software-development?q=198/our-software/</a>  </p>
  
  <p>I have tried placing the redirect at both the start and end of the .htaccess file both result in a 404 page not found error.</p>
  
  <p>Do I need to use a more complex redirect to get around Drupals URL rewrite?</p>
  
  <p>NOTE: I'm using the Pathauto module.</p>