METHOD 2 (Recommended): Filter Author Link (No Child Theme)
Method1 (Active in divi)
This forces WordPress to always replace the author link with an external URL.
Steps
- Go to Divi → Theme Options → Integration
- Paste this into “Add code to the <head> of your blog” or Body section
<?php
add_filter(‘author_link’, function ($link, $author_id) {
return ‘https://yourwebsite.com’; // external link
}, 10, 2);
- Save Changes
✔ Every author name now links to your external website
Method2
Use Author Profile → Website Field
No code, Divi-safe
Divi automatically links the author name to the author website URL if it exists.
Steps
- Go to WordPress Dashboard → Users → All Users
- Click the Author
- In Contact Info → Website, paste the external URL
example:https://yourcompany.com - Update Profile
✔ Done.
Now the author name in Divi blog posts links to that external site.
Method3
Filter Author Link (No Child Theme)
This forces WordPress to always replace the author link with an external URL.
Steps
- Go to Divi → Theme Options → Integration
- Paste this into “Add code to the <head> of your blog” or Body section
<?php
add_filter('author_link', function ($link, $author_id) {
return 'https://yourwebsite.com'; // external link
}, 10, 2);
- Save Changes