Thank you for that, it works almost perfectly. When I click on a link that would take me to the redirect path (members/buddypresstester/settings/notifications/) I am redirected correctly. But if I copy and paste this address into the address bar and hit enter, for some reason the redirect does not happen. Is there a setting that can change this so it doesn’t happen?
Also, how would I set the target url to the home page or an external url? When I type http://www.google.com into the target url this is simply appended onto the address where I currently am. Apologies if these are very basic questions.
The dynamic part will be a username. I am trying to create redirects for some Buddypress urls such as:
members/buddypresstester/settings/notifications/
part1/dynamic/part2/part3
Since the username part will always be different based on which user’s profile is being viewed, I would like to write a redirect rule as a regular expression to cater for this dynamic part.