Hello,
Thank you for contacting the support, and sorry for any inconvenience that might have been caused due to that.
You would need a filter to change the Author ID or it’s URL. Please refer to my filter below and apply it into your theme’s functions.php
or you can make use of Snippets Code plugin.
add_filter( 'rank_math/snippet/rich_snippet_article_entity', function($entity) {
$entity['author'] = [
'@type' => 'Person',
'name' => 'Author Name',
'@id' => 'https://mywebsite.com/other-url-custom'
];
return $entity;
});
Hope that helps.
Looking forward to helping you.
Not Work.
I have tried this also but it is also not working. check below
SS: https://ibb.co/nsw7k7j
Hello,
To change the author slug, please use the following plugin:
https://wordpress.org/plugins/edit-author-slug/
The changes made to the author slug in the meta box will not work because WordPress doesn’t allow to change the author slug by default.
I hope this helps. Looking forward to helping you.
Hello,
Glad that helped.
Please feel free to reach out to us again in case you need any other assistance.
We are here to help.
Thank you.