title: Page Redirect 301 using htaccess
body: <p>I want to redirect <strong>/event/path1/{id}/{some_name}</strong> to <strong>/event/path2/{id}</strong>,</p>
  
  <p>I want to redirect old page to the new one and remove the last segment of the url,</p>
  
  <p>I have done with this but not removing the last segment of the url, this is what .htaccess</p>
  
  <pre><code>RewriteRule ^event/path1/(.*) /event/path2/$1 [L,R=301]
  </code></pre>