title: Can I modify a path in an Akamai redirect?
body: <p>I need to create an Akamai 301 redirect rule.</p>
  
  <p>I want to redirect all traffic from:
  <a href="http://www.example.com/subdirectory/" rel="nofollow">http://www.example.com/subdirectory/</a>*</p>
  
  <p>To:
  <a href="http://subdomain.example.com/" rel="nofollow">http://subdomain.example.com/</a>*</p>
  
  <p>I'm able to do it easily through the control center as a "Relative Redirect Change Hostname only" - but I need the subdirectory stripped out of the target URL. I still need the rest of the path intact.</p>
  
  <p>So example.com/subdirectory/file.html should redirect to subdomain.example.com/file.html.</p>
  
  <p>I can get this to work in htaccess at the web server level, but I need to have it happen at Akamai.</p>
  
  <p>Any suggestions?</p>