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.

For example:

A - https://example.org/category/subcategory/article-name-A

B - https://example.org/category/subcategory/article-name-B

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?!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/ec14b3db-757c-48c5-ad0b-98e5ef685c50n%40googlegroups.com.

Reply via email to