Link the author page to the user profile

Do it with a function (add code inside the functions.php of your template). With plugins you may have problems with permalinks. Before: website.com/author/john.doe After: website.com/profile/john.doe Code:

add_action(‘init’, ‘change_author_base’);
function change_author_base() {
global $wp_rewrite;
$author_slug=‘profile’; // change the name for ‘author’
//here
$wp_rewrite->author_base=$author_slug;
}

Was this article helpful?

Related Articles

Leave A Comment?