Title: Hide Author Name in source code
Last modified: February 27, 2020

---

# Hide Author Name in source code

 *  Resolved [masdemas](https://wordpress.org/support/users/masdemas/)
 * (@masdemas)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/hide-author-name-in-source-code/)
 * Hi, thanks for the developing the nice plugin. Just a question about the published
   author name in the source code. In local SEO I set everything to organization
   but the name of the publisher is still displayed.
 * {“@type”:”WebPage”,”@id”:”https:\/\/www.chatlab.de\/”},”author”:{“@type”:”Person”,”
   name”:….
 * How I am able to hide the name?
 * Greetings and thanks, Matthias.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhide-author-name-in-source-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Rank Math SEO](https://wordpress.org/support/users/rankmath/)
 * (@rankmath)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/hide-author-name-in-source-code/#post-12493292)
 * Hello [@masdemas](https://wordpress.org/support/users/masdemas/)
 * Thank you for contacting the support.
 * It is not recommended to remove that data, otherwise, Google’s Search Console
   will start throwing errors.
 * If you still want to do it, please add the following code to your theme’s functions.
   php file:
 *     ```
       add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
       	if ( isset( $data['richSnippet']['author'] ) ) {
       		unset( $data['richSnippet']['author'] );
       	}
       	return $data;
       }, 99, 2 );
       ```
   
 * Hope that helps.

Viewing 1 replies (of 1 total)

The topic ‘Hide Author Name in source code’ is closed to new replies.

 * ![](https://ps.w.org/seo-by-rank-math/assets/icon.svg?rev=3438330)
 * [Rank Math SEO – AI SEO Tools to Dominate SEO Rankings](https://wordpress.org/plugins/seo-by-rank-math/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/seo-by-rank-math/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/seo-by-rank-math/)
 * [Active Topics](https://wordpress.org/support/plugin/seo-by-rank-math/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/seo-by-rank-math/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/seo-by-rank-math/reviews/)

## Tags

 * [author name](https://wordpress.org/support/topic-tag/author-name/)

 * 1 reply
 * 2 participants
 * Last reply from: [Rank Math SEO](https://wordpress.org/support/users/rankmath/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/hide-author-name-in-source-code/#post-12493292)
 * Status: resolved