title: htaccess redirect of sub pages
body: <p>Redirects for top-level pages work fine, but now I'm looking to redirect sub-pages in a WordPress site to their new respective top level page, but I evidently don't have the correct syntax:</p>
  
  <p>Old page:  websiteURL/aboutus/benefits</p>
  
  <p>New page:  websiteURL/careers</p>
  
  <p>After trolling through the forums, I tried this option, but no luck:</p>
  
  <pre><code>redirectMatch 301 ^/aboutus/benefits$ http://website.net/careers/
  </code></pre>
  
  <p>Problem: Rather than re-directing to the new absolute/static URL, the redirect just changes the folder name, so the resulting URL is simply
  websiteURL/about-us/benefits.</p>
  
  <p>One more example of a sub-page needing to the redirected to an absolute URL:</p>
  
  <p>Old url:   websiteURL/expertise/software-engineering</p>
  
  <p>New url:   websiteURL/core-competencies</p>
  
  <pre><code>redirectMatch 301 /expertise.* http://websiteURL/core-competencies
  </code></pre>
  
  <p>But this doesn't work.  The resulting URL is websiteURL/core-competencies/software-engineering
  Meaning it changes the folder name, then adds on the page name.  No good for what we need.</p>