How to avoid that Discord display page author name
As nobody gave a "working solution" to the post here: https://www.reddit.com/r/Wordpress/comments/9m4zip/why_does_wordpress_leak_my_admin_account_username/
I create a new one to know to avoid that page or post author be displayed in SEO meta
I've already tried to install Yoast and do this: https://kb.yoast.com/kb/disable-enable-author-archives/ but it didn't succeed
About this post
- Posted
- Archived
- Score
- 0 · 100% up
- Kind
- Text
- ID
- c1932u
12 comments
You'd have to edit your theme files to remove the author metadata via a child-theme or a filter. Plus, you'd have to do the same in Yoast.
It would be easier to work around it by creating a user with the same username as the website, then assign this new user as the post/page author.
The thing is that I’ve no meta for author like there is nothing with my admin username in the source code, yet I’ve all others meta tag. Anyway, which I’ve to change in my theme file ? If you don’t exactly know what’s the meta name then I just have to search string in my folder. Thanks!
Did you ever come up with a solution to this?
I can't say without seeing the theme or its files. It would be better if you used the work around I suggested.