DISCLAIMER: this post is older than one year and may not be up to date with latest WordPress version.

In WordPress, author profile are by default accessible using the url yoursite.com/author/name. But what if you want to use the term “profile” instead of “author” in the url? Here is a handy recipe to do so.

Pasting the following code on your functions.php file will change the default yoursite.com/author/name to yoursite.com/profile/name.
Replace profile on line 4 by any slug you want.

add_action('init', 'cng_author_base');
function cng_author_base() {
    global $wp_rewrite;
    $author_slug = 'profile'; // change slug name
    $wp_rewrite->author_base = $author_slug;

Thanks to Kevin Chard for the cool tip!



  1. Excellent tip! Storing this one away for later.

  2. WpRecipes, I like your new header!

    Nice tip, too.

  3. Don’t forget to re-save options on Settings -> Permalinks to get it work !

  4. Thanks wprecipes. I was find this way for along time until found one here. Good tips !

Leave a Comment

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