WPBeginner

Beginner's Guide for WordPress

  • Blog
    • Beginners Guide
    • News
    • Opinion
    • Showcase
    • Themes
    • Tutorials
    • WordPress Plugins
  • Start Here
    • How to Start a Blog
    • Create a Website
    • Start an Online Store
    • Best Website Builder
    • Email Marketing
    • WordPress Hosting
    • Business Name Ideas
  • Deals
    • Bluehost Coupon
    • SiteGround Coupon
    • WP Engine Coupon
    • HostGator Coupon
    • Domain.com Coupon
    • Constant Contact
    • View All Deals »
  • Glossary
  • Videos
  • Products
X
☰
Beginner's Guide for WordPress / Start your WordPress Blog in minutes
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

WPBeginner» Blog» Plugins» How to Change Author URL Slug and Base in WordPress

How to Change Author URL Slug and Base in WordPress

Last updated on July 18th, 2019 by Editorial Staff
248 Shares
Share
Tweet
Share
Pin
Free WordPress Video Tutorials on YouTube by WPBeginner
How to Change Author URL Slug and Base in WordPress

Do you want to change the author url slug and base in WordPress?

WordPress comes with built-in support for SEO friendly URL structure, also known as pretty permalinks. This feature 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 this article, we will show you how to easily change the author URL slug and base in WordPress.

Easily change the author URL slug and base

What is a URL Slug and URL Base?

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, its not possible to change the author URL in WordPress.

If you wanted to use ‘contributor’ instead of ‘author’ or if you wanted to change the author slug altogether, then you’re in the right place.

Let’s see how you can easily change author URL slug and base in WordPress.

Changing The Author Slug in WordPress

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 Users » All Users page. 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 ‘Edit Author Slug’ section, and you will see a number of choices that you can use as author slug. You can even enter a custom slug.

Edit author slug

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

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 Author Base

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

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 author base for users with different user roles.

Change author URL base

Once you are finished, 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 author slugs and base on an established website can have negative SEO ramifications 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.

Upon activation, head over to Tools » Redirection page. You’ll be greeted by the plugin’s set up 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 redirect’ 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

Click on 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.

Now 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’. This is how you will set up the redirect.

Setting up a base redirect

Source: https://example.com/author/(.*)$
Target: https://example.com/contributor/$1

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’.

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

We hope this article helped you change author slug and base in WordPress. You may also want to see our list of most wanted WordPress tips, tricks, and hacks.

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.

248 Shares
Share
Tweet
Share
Pin
Popular on WPBeginner Right Now!
  • How to Start Your Own Podcast (Step by Step)

    How to Start Your Own Podcast (Step by Step)

  • Revealed: Why Building an Email List is so Important Today (6 Reasons)

    Revealed: Why Building an Email List is so Important Today (6 Reasons)

  • How to Properly Move Your Blog from WordPress.com to WordPress.org

  • Google Analytics in WordPress

    How to Install Google Analytics in WordPress for Beginners

About the Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Trusted by over 1.3 million readers worldwide.

The Ultimate WordPress Toolkit

25 Comments

Leave a Reply
  1. estelle says:
    Oct 7, 2020 at 5:01 pm

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

    Reply
    • WPBeginner Support says:
      Oct 8, 2020 at 9:08 am

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

      Reply
  2. Frank the Man says:
    Jul 28, 2020 at 11:58 pm

    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?

    Reply
    • WPBeginner Support says:
      Jul 29, 2020 at 11:06 am

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

      Reply
  3. Muhammad Waqas says:
    May 7, 2020 at 4:59 am

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

    Reply
    • WPBeginner Support says:
      May 8, 2020 at 10:04 am

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

      Reply
  4. Bathri Vijay says:
    Jul 21, 2019 at 12:14 am

    Thanks for your wonderful blog.

    Reply
    • WPBeginner Support says:
      Jul 22, 2019 at 12:55 pm

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

      Reply
  5. Linas says:
    Jan 14, 2019 at 3:45 pm

    Thank You! this is what I was looking for!

    Reply
    • WPBeginner Support says:
      Jan 15, 2019 at 1:50 pm

      Glad our content is what you were wanting :)

      Reply
  6. Amanda says:
    Oct 9, 2018 at 9:03 pm

    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.

    Reply
  7. Bishwambhar Sen says:
    Sep 3, 2018 at 10:38 am

    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!

    Reply
  8. Tony says:
    Aug 16, 2018 at 11:02 am

    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?

    Reply
  9. Phil says:
    Nov 10, 2017 at 5:18 am

    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

    Reply
    • Marven says:
      Jan 24, 2018 at 12:45 pm

      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%/

      Reply
  10. Vikash says:
    Aug 26, 2017 at 7:26 am

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

    Reply
  11. Matt says:
    Mar 14, 2017 at 8:51 pm

    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

    Reply
    • WPBeginner Support says:
      Mar 14, 2017 at 9:23 pm

      Hi Matt,

      Yes, if your author pages are indexed by search engines, then you will need to setup redirects. See our guide on how to create redirects in WordPress for detailed instructions.

      Reply
      • Matt says:
        Mar 14, 2017 at 9:26 pm

        Thanks for your quick reply!

        To better assist other users, this is what I came up with. Please correct any .htaccess coding issues as you see fit.

        # Redirect Old author URL to new one 3/14/17 (Matt)
        RedirectMatch 301 /old-user/ http://www.example.com/author/new-user/

        Reply
  12. Chad says:
    Jan 20, 2017 at 2:49 am

    Thanks, great post. :)

    Reply
  13. Ashu says:
    Dec 21, 2016 at 11:48 am

    yes helpful

    Reply
  14. Dinesh says:
    Jul 16, 2016 at 11:10 am

    Thank you very much. I love this solution.

    Reply
  15. madhavi jha says:
    Aug 3, 2015 at 5:48 am

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

    Reply
  16. Ann says:
    Aug 19, 2014 at 4:06 am

    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….

    Reply
  17. ferdicon says:
    Apr 25, 2014 at 2:24 am

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

    Reply

Leave a Reply Cancel 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.

Over 1,320,000+ Readers

Get fresh content from WPBeginner

Featured WordPress Plugin
SeedProd Logo
SeedProd
Create beautiful custom landing pages - Drag & drop builder. Learn More »
How to Start a Blog How to Start a Blog
I need help with ...
Starting a
Blog
WordPress
Performance
WordPress
Security
WordPress
SEO
WordPress
Errors
Building an
Online Store
Useful WordPress Guides
    • 7 Best WordPress Backup Plugins Compared (Pros and Cons)
    • How to Fix the Error Establishing a Database Connection in WordPress
    • Why You Need a CDN for your WordPress Blog? [Infographic]
    • 30 Legit Ways to Make Money Online Blogging with WordPress
    • Self Hosted WordPress.org vs. Free WordPress.com [Infograph]
    • Free Recording: WordPress Workshop for Beginners
    • 24 Must Have WordPress Plugins for Business Websites
    • How to Properly Move Your Blog from WordPress.com to WordPress.org
    • 5 Best Contact Form Plugins for WordPress Compared
    • Which is the Best WordPress Popup Plugin? (Comparison)
    • Best WooCommerce Hosting in 2021 (Comparison)
    • How to Fix the Internal Server Error in WordPress
    • How to Install WordPress - Complete WordPress Installation Tutorial
    • Why You Should Start Building an Email List Right Away
    • How to Properly Move WordPress to a New Domain Without Losing SEO
    • How to Choose the Best WordPress Hosting for Your Website
    • How to Choose the Best Blogging Platform (Comparison)
    • WordPress Tutorials - 200+ Step by Step WordPress Tutorials
    • 5 Best WordPress Ecommerce Plugins Compared
    • 5 Best WordPress Membership Plugins (Compared)
    • 7 Best Email Marketing Services for Small Business (2021)
    • How to Choose the Best Domain Registrar (Compared)
    • The Truth About Shared WordPress Web Hosting
    • When Do You Really Need Managed WordPress Hosting?
    • 5 Best Drag and Drop WordPress Page Builders Compared
    • How to Switch from Blogger to WordPress without Losing Google Rankings
    • How to Properly Switch From Wix to WordPress (Step by Step)
    • How to Properly Move from Weebly to WordPress (Step by Step)
    • Do You Really Need a VPS? Best WordPress VPS Hosting Compared
    • How to Properly Move from Squarespace to WordPress
    • How to Register a Domain Name (+ tip to get it for FREE)
    • HostGator Review - An Honest Look at Speed & Uptime (2021)
    • SiteGround Reviews from 4464 Users & Our Experts (2021)
    • Bluehost Review from Real Users + Performance Stats (2021)
    • How Much Does It Really Cost to Build a WordPress Website?
    • How to Create an Email Newsletter the RIGHT WAY (Step by Step)
    • Free Business Name Generator (A.I Powered)
    • How to Create a Free Business Email Address in 5 Minutes (Step by Step)
    • How to Install Google Analytics in WordPress for Beginners
    • How to Move WordPress to a New Host or Server With No Downtime
    • Why is WordPress Free? What are the Costs? What is the Catch?
    • How to Make a Website in 2021 – Step by Step Guide
Deals & Coupons (view all)
Liquid Web
Liquid Web Coupon
Get 50% OFF on Liquid Web managed WordPress hosting plans for 3 months. From just $9.50.
WP FullText Search
FullText Search Coupon
Get 15% OFF on FullText Search WordPress search plugin.
Featured In
About WPBeginner®

WPBeginner is a free WordPress resource site for Beginners. WPBeginner was founded in July 2009 by Syed Balkhi. The main goal of this site is to provide quality tips, tricks, hacks, and other WordPress resources that allows WordPress beginners to improve their site(s).

Join our team: We are Hiring!

Site Links
  • About Us
  • Contact Us
  • FTC Disclosure
  • Privacy Policy
  • Terms of Service
  • Free Blog Setup
  • Free Business Tools
  • Growth Fund
Our Sites
  • OptinMonster
  • MonsterInsights
  • WPForms
  • SeedProd
  • Nameboy
  • RafflePress
  • Smash Balloon
  • AIOSEO

Copyright © 2009 - 2021 WPBeginner LLC. All Rights Reserved. WPBeginner® is a registered trademark.

Managed by Awesome Motive | WordPress hosting by SiteGround | WordPress Security by Sucuri.