Skip to content

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

0 points3 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
c1932u

Author

13
posts
14
comments
2
media
View profile

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.

1 points

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!

1 points

...which I’ve to change in my theme file ?

I can't say without seeing the theme or its files. It would be better if you used the work around I suggested.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.