Here’s a great article on how to create different types of redirections with the Redirection plugin from WordPress.
To create a wildcard redirection you add the following:
That’ll forward the home URL and every following subdirectory accordingly.
To add a redirect regardless of whether the user adds a trailing slash or not, you add this:
[/]? so it’d look something like this: /relative-url[/]?
Here’s a good article explaining the trailing slashes:
Have any questions or comments? Write them below!