How to change the WordPress author slug

Grass on top
Creative Commons License photo credit: steepways

While we're on the topic of WP authors, while I was making my author profile yesterday, I wanted to change the "slug" - the bit in the URL that labels the particular author. By default, the URL of author pages ishttp://domain.com/author/slug

For most users, this "slug" is set to the user name: while you can't change a user name, you might very well want to change the way your name appears in the author page's URL.

To change the name, you'll need to edit the slug directly in the database (through PHPMyAdmin or similar). You need to make two edits:

  1. in your users table (probably wp_users), change user_nicename to the new name
  2. in your usermeta table (probably wp_usermeta), change id_username for the relevant user (check the ID number) to the same name as above

I can't believe there isn't a plugin to do this, but I can't find one: if no one can leave me a link to a plugin, I'll write one. In the meantime, if you don't want to edit it yourself - drop me a line and I'll do it for you.

If you want to change the "author" part of the URL - to "member" or "user" or "chum", for example - The Author Slug plugin lets you change this.

Share this post:
  • email
  • del.icio.us
  • Facebook
  • FriendFeed
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Twitter

Tags: ,

Posted by Sue on June 28, 2009 in WordPress.

9 comments to "How to change the WordPress author slug"

  1. Thanks for this post. I know you wrote it a while back, but you just helped me do something that I was racking my brain about for hours!

  2. Allison Hill wrote:

    Copyrighting is very important specially if you wrote original articles both online and offline.~,;

  3. Mia Johnson wrote:

    i am not a fan of having credits and getting credits cards.:":

  4. Linda wrote:

    Great Information, thanks for your fine Article. Really great topic to write about on my Website. I probably set a bookmark from another Website. Shelving Racking Flooring

  5. Emilia Palmer wrote:

    i had a bad credit score last year but i was able to fix it now.-;-

  6. Sarah Clark wrote:

    Copyright is really needed to protect your own works. in china, they are not even concered about it`:`

  7. i always avoid to have bad credit because i want a great credit score:,'

  8. Toby Simpson wrote:

    in this times of economic recession, sometimes it is difficult to have a great credit score.;.

  9. Libby Murray wrote:

    China is one big country that does not even respect international copyrights :";

Leave a Reply