Change the Parent URL of Children

Here is how to change the parent slug permalink and also apply it to the children.

For example if you have:

And you want to change it to:

You would do the following in htaccess:

And to add it into htaccess include it like this:

The above code can be credited to:

To add this in WordPress to the redirection plugin it would look like:

* Be sure to enable regex. Save your redirect then go back to edit it and you will see a regex box on the left that must be checked.

Leave a Reply