Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Change Author URL Slug and Base in WordPress

WordPress provides many ways to customize your website’s URLs, allowing you to optimize permalinks for posts, pages, and categories. However, by default, there is no built-in option to change author URLs.

Fortunately, we have found a simple way of changing the author URL slug and base using a free WordPress plugin. With a few easy steps, you can create custom author URLs that are both user-friendly and better optimized for search engines.

This article will show you how to easily change the author URL slug and base in WordPress, letting you improve your website’s organization and boost your author profiles in search results.

Easily change the author URL slug and base

What Is a URL Slug and URL Base?

Your WordPress website comes with built-in support for an SEO-friendly URL structure.

This is known as pretty permalinks and allows you to choose URLs for your posts, pages, and categories by editing their slugs.

This feature also creates pretty links for author pages. However, there is no option for you to customize the author URL.

In WordPress terminology, a slug is a title of a publicly viewable page in WordPress formatted to be used in URLs. It looks like this:

https://example.com/author/syed-balkhi/

In the example above, syed-balkhi is the slug, and /author/ is the base.

While users can change the slug and base for posts, pages, categories, and tags, it’s not possible to change the author URL in WordPress by default.

If you’d prefer to use ‘contributor’ instead of ‘author’ or want to change a certain author’s slug, then you are in the right place.

Let’s take a look at how you can easily change the author URL slug and base in WordPress:

Changing the Author Slug in WordPress

The first thing you need to do is install and activate the Edit Author Slug plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, this plugin will add a group of options to each user profile page.

If you want to edit the slug of a user on your site, then you need to go to the Users » All Users page in the WordPress dashboard. Next, click on the ‘Edit’ link below a username.

Edit user profile

This will take you to the Edit User screen.

Simply scroll down to the ‘Edit Author Slug’ section, and you will see a number of choices that you can use as the author slug. You can even enter a custom slug.

Edit author slug

Once you have made the changes, click the ‘Update User’ button and preview your WordPress website.

Now, when you click on the author name in a post to view the author page, you will see that it is using the author slug you choose for them.

Changing the Author Base in WordPress

If you are building a site where you want to change the author base from /author/ to something else, then you can do that with this plugin as well.

Simply head over to the Settings » Edit Author Slug page. Here, you will see an option to change the author base and even choose different bases for different user roles.

Change author URL base

Once you are finished, just click on the ‘Save Changes’ button to store your settings. You can now preview your site and click on the author link to see the changes in action.

Setting Up Redirects for SEO Purposes

Changing the author slugs and base on an established website can have a negative impact on SEO, especially if your author archives are indexed.

People coming to author pages from search engines will see a 404 error message. To avoid this, you need to set up redirects from old URLs to new author slug and base.

First, you need to install and activate the Redirection plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, head over to the Tools » Redirection page. You will be greeted by the plugin’s setup wizard. You can follow the on-screen instructions to continue set up or click on the ‘Manual Install’ link to skip it.

Redirection wizard

Next, you will reach the Redirection page. From here, scroll down to the ‘Add new redirection’ section.

You need to add the old author page URL as the source and the new author URL page as the target.

Redirect author page

Don’t forget to click the ‘Add Redirect’ button to save your changes. The plugin will now automatically redirect visitors coming to the old author page to the new URL.

If you have also changed the author base, then you will need to dynamically detect those URLs and redirect them.

Let’s suppose you changed the author URL base to ‘contributor’. Here are the settings you would use to set up the new redirection:

  • Source: https://example.com/author/(.*)$
  • Target: https://example.com/contributor/$1
Setting up a base redirect

If you selected the author URL base to be created using the user role, then you will need to do this for every user role, except when the user role itself is ‘author’.

As an alternative, you can use the All in One SEO (AIOSEO) plugin to set up redirects from your old URLs to your new URLs.

AIOSEO’s powerful Redirection Manager feature lets you easily set up full site redirects. Plus, you can enable automatic 404 error tracking to make sure you never have any broken links on your website.

To learn more about redirects, see our guide on how to set up redirects in WordPress.

Expert Guides on WordPress Permalinks URLs

We hope this article helped you change the author slug and base in WordPress. You may also want to see some other articles related to WordPress permalinks and URLs:

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

27 CommentsLeave a Reply

  1. Ritish Sharma

    Thank you for the information. But can I delete the plugin after changing the author’s URL slug? Or, the changed URL will also be deleted with this?

    • WPBeginner Support

      We would recommend checking out the plugin’s FAQ as they cover when you are able to remove the plugin or when you would be unable to.

      Admin

  2. estelle

    Thank you so much for your time and effort in posting this. This worked

    • WPBeginner Support

      You’re welcome, glad our guide was helpful :)

      Admin

  3. Frank the Man

    Seems like this is outdated? I cannot find “Edit author slug” when I go to Edit user profile (I am logged in as Admin). Any new tips for this?

    • WPBeginner Support

      You would want to ensure the plugin is installed and activated for the section to be visible.

      Admin

  4. Muhammad Waqas

    Issue resolved after watching youtube vedio of wp beginner thanks..

    • WPBeginner Support

      You’re welcome, glad our guide was helpful :)

      Admin

  5. Bathri Vijay

    Thanks for your wonderful blog.

    • WPBeginner Support

      You’re welcome, glad you like our site :)

      Admin

  6. Linas

    Thank You! this is what I was looking for!

    • WPBeginner Support

      Glad our content is what you were wanting :)

      Admin

  7. Amanda

    Thank you so much! I had no idea this plugin existed. Now, I have both more professional-looking (and SEO-friendly) author slugs and my usernames are fully private, so I don’t have to worry about would-be hackers. It was the one thing my security plugin didn’t seem to deal with, so I’m very pleased.

    I can also confirm that this plugin works with the latest version of WordPress, even though it technically hasn’t been tested for it (last update was a year ago). I guess when a plugin works, it works.

  8. Bishwambhar Sen

    Thanks for this post! My author slug was something like myname_somerandomcharcter and since it was my username i couldn’t even change it and all my posts had this author slug. SEO analysis would reveal this slug as SEO unfriendly URL. Now I have changed it using this plugin! Thanks again!

  9. Tony

    Great article, I have a problem though.

    I set a custom structure in the permalink settings to article/%postname%/. However it also affects my author pages and now I’m left with article/author/%author%.

    Please can you help?

  10. Phil

    Hi there

    Thanks for this article. Is it possible to do the following:
    [URLs are examples]

    I have a site xyz.com. Under the URL xyz.com/site1/site2 i have the posts from wordpress. If i open now the Post the url is like xyz.com/{postname} but i’d like to have xyz.com/site1/site2/{postname}

    Can you help me?

    BR
    Phil

    • Marven

      You are only able to create a URL which consists of the PRIMARY category and the post name.
      Head over to Settings->Permalinks and choose “custom structure”. In the your can click on the buttons below the input field or paste the following:
      /%category%/%postname%/

  11. Vikash

    In WordPress 4.8.1 ? i am unable to find it. help me

  12. Matt

    Quick question about old URLs and search engines. Since I’ve been using this site for about 11 years, I know the old author URLs are in the search engines and possibly other places as well.

    Shouldn’t we add a redirect to .htaccess so all old links are redirected to the new author URL?

    Thank you for your advice.
    -Matt

  13. Chad

    Thanks, great post. :)

  14. Dinesh

    Thank you very much. I love this solution.

  15. madhavi jha

    You add this in your theme function.php
    global $wp_rewrite;
    $wp_rewrite->author_base = “member”; // or whatever
    $wp_rewrite->flush_rules();

  16. Ann

    OMG, a lifesaver! A hacker used my exact (and weird) username. I finally figured out that it was being displayed in author/username (even though Woo Canvas asks me how I want to display my name), and this is the only post (I’ve been searching hours) to offer a simple solution for a non-programmer. I love you, WPBeginner….

  17. ferdicon

    Must Plugin be used to change User Slug, too many plugin can really cause your wordpress site to become slow in loading

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.