title: Redirect any url containing /foo/
body: <p>I'm trying to redirect a series of around 400 urls using .htaccess/Apache containing a given /directory/ anywhere in the url to a specific location.</p>
  
  <p>The problem here is that my site is receiving requests for an old site hosted on our servers ip. I've tried manually redirecting the urls but the volume is simply too great.</p>
  
  <p>I've searched but can only find examples for redirecting query strings or files</p>
  
  <p>Thanks in advance.</p>