permalink author

I have made a multi-author web
The permalink of each author is myweb.com/author/thomas

I installed the ultimate member plugin. Your permalink for the author is: myweb.com/user/thomas.

There is an option to redirect the link from author to user. That’s fine, because that way the links are redirected to the profile of the author (page of ultimate member).

There is a problem. The seo positions me the permalink myweb.com/author/thomas, and I have no option to position myweb.com/user/thomas.

So I want to change the permalink from “author” to “user”.

I have introduced this:
Add_filter (‘init’, create_function (‘$ a’, ‘global $ wp_rewrite; $ wp_rewrite-> author_base = “user”; $ wp_rewrite-> flush_rules ();’));

So the author / thomas permalink changes to user / thomas. But it does not redirect to the user / thomas (to ultimate member plugin) because it gives me error.

Any solution? Thanks!

Read more here: permalink author

Leave a Reply

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