title: Replace part of a URL with .htaccess
body: <p>I had to change the name of a subpage and now the problem is that all shared links on Facebook, Twitter, etc. are not working anymore. </p>
  
  <p>That's why I am trying to redirect only a part of a URL with <code>.htaccess</code> but I have no solution yet.</p>
  
  <p>It should work like this:</p>
  
  <pre><code>www.mydomain.com/feeds/details/ --&gt; www.mydomain.com/highlights/details/
  </code></pre>
  
  <p>I hope you can help me!</p>