Remove author (user) slug (permalink base) for a Multisite

I have a Multisite WordPress installation in which I want to change the structure of user permalinks by removing the base “/user/”


I want:

I found the following thread with the function that works quite well since I tested it in an individual WordPress installation (Not Multisite):

I tried to include the same function in a Multisite WordPress installation and I verified that the first part of the function works but the second function that does the redirection does not work and the link structure is like this:

Help me please 🙂

Read more here:: Remove author (user) slug (permalink base) for a Multisite

Leave a Reply

Your email address will not be published. Required fields are marked *