How to Change Author Slug in WordPress and Use Custom Author Slug

If I use word ‘slug’, it means I am talking about the URL structure. Slug is the URL just after the domain name. In WordPress, we also say it permalink. In WordPress, default author slug is something like this:

http://example.com/author/username

This page displays all posts of that author. Few themes also comes with a bio at the top of posts in author pages. If you have WordPress based blog, you can use this URL to access the author page of any user just by adding username at the last. And there is no way to change the permalink structure of author archives. WordPress only allows users to change post archives and use custom URL base. What if you wan to change the permalink structure of author pages. In this post, we are listing few plugins and code snippet for using custom author slug in WordPress.

Also read: How To Remove WordPress Tags & Categories from Google Search Results?

1. Plugin Method:

Most simple method of changing author archive slug is use of plugins. Edit Author slug is a simple plugin.Install the plugin and then visit the plugin settings page (Settings > Edit Author Slug). Her enter new author base slug which you want to use.

You can change this to be look like this

http://example.com./profile/username

Edit Auhor Slug

2. Code Snippet

You can also change author slug manually by adding following code in functions.php of your WordPress theme.

Above code will change default author slug to profile. You can modify the above code to use what you want to add in the author slug.

Changing author base slug will never affect the search engine ranking of your website. It is also recommended not to index your archive pages. It may leads to duplicate content issue.

If you have anything to ask, you can comment blow.

advertisement

Subscribe To Our Newsletter

Subscribe To Our Newsletter

Join our mailing list to receive the latest updates, web design resources and tools.

You have Successfully Subscribed!

About The Author

    ADD YOUR COMMENT

Subscribe To Our Newsletter

Subscribe To Our Newsletter

Receive fresh web design resources and SEO tips in your email by our weekly newsletter

You have Successfully Subscribed!