title: How to 301 redirect django url with multiple slashes on url path?
body: <p>I am trying to figure out how to redirect properly some urls
  that contain multiple slashes and create a permanent 301 redirect whenever the slug changes.</p>
  <p>For example:</p>
  <p>A - <a href="https://example.org/category/subcategory/article-name-A" rel="nofollow noreferrer">https://example.org/category/subcategory/article-name-A</a></p>
  <p>B - <a href="https://example.org/category/subcategory/article-name-B" rel="nofollow noreferrer">https://example.org/category/subcategory/article-name-B</a></p>
  <p>I want to redirect the A to B.
  I tried the default redirects app from django but did not work with multiple slashes.
  What is the correct approach here?!</p>