title: Remove part URL before second last slash in PHP
body: <p>How can I remove the part in my URL that is before the second last slash?
  My URL is this:</p>
  <pre><code>http://antwerp.test/nl/aanbod/activiteiten/kunst/the-world-of-steve-mccurry/the-world-of-steve-mccurry/activity-mccurry/ 
  </code></pre>
  <p>So I want to remove &quot;the-world-of-steve-mccurry/&quot; the second time it appears. The URL should be:</p>
  <pre><code>http://antwerp.test/nl/aanbod/activiteiten/kunst/the-world-of-steve-mccurry/activity-mccurry/ 
  </code></pre>