How to redirect something like /ab/ab/ab/ab => ab ?
ab is actually a WordPress slug something like /wordpress-is-awesome/ so the actual problematic slug looks like this: /wordpress-is-awesome/wordpress-is-awesome/wordpress-is-awesome/wordpress-is-awesome/ and want to be redicted to /wordpress-is-awesome/ only
A solution like (.*)/(.*)/(.*)/(.*) => $1 dosen’t make sense because it conflicts with stuff like /tag/help/page/3
- The topic ‘matching identical slugs’ is closed to new replies.