To change the author URL from https://yourdomain.com/author/user_slug/
to a more suitable format, you can use the Edit Author Slug plugin. This plugin allows you to customize both the author slug (the part after /author/
) and the author base (the /author/
portion itself).
Steps to Change the Author URL
- Install and Activate the Plugin
- Navigate to your WordPress dashboard.
- Go to Plugins > Add New.
- Search for Edit Author Slug.
- Click Install Now, then Activate the plugin.
- Edit the Author Slug
- Go to Users > All Users.
- Click Edit under the user whose slug you want to change.
- Scroll down to the Edit Author Slug section.
- Enter your desired slug (e.g.,
fahim-karim
) in the Custom field. - Click Update User to save the changes.
- Change the Author Base (Optional)
- Navigate to Settings > Edit Author Slug.
- In the Author Base field, enter a new base (e.g.,
profile
), so your URLs will look likehttps://yourdomain.com/profile/yourname/
. - Click Save Changes.
Important Considerations
- SEO Impact: Changing author URLs can affect your site’s SEO. To prevent broken links, set up redirects from the old URLs to the new ones.
- Setting Up Redirects:
- Install and activate the Redirection plugin.
- Go to Tools > Redirection.
- Add a new redirection:
- Source URL:
/author/fahim1030gmail-com/
- Target URL:
/author/fahim-karim/
(or your chosen slug)
- Source URL:
- Click Add Redirect.
For a visual guide, you might find this tutorial helpful: