Remove the byline/author link

Posted in: Newspaper
Post count: 6

Is there any way to remove the link to the ‘author’ page for posts, etc., including any archives. Or more specifically, I would like to redirect them to my ‘about’ page when clicked. I don’t want anyone going to the default WP author page, because it reveals the username, which can be used for brute force attacks, etc., trying to gain access to my wp-admin.

Thanks!

Post count: 1341

Nothing to remove or change. It is necessary to observe basic safety rules.

Read the first two points at this link: https://yoast.com/wordpress-security/

1. Don’t use admin as a username
2. Create an editor account for yourself

As a rule, this is enough.

Also read this tutorial: https://forum.tagdiv.com/topic/tutorial-good-basic-security-practices/

Post count: 6

Thank you for the info. My concern is that security sites often state things such as “Stop user enumeration. So users/bots cannot discover user info via author permalink.”. The username is available via the author page, that’s an issue, which gives the hackers 50% of what they need. (note I am not using admin, and have strong password)

However, the overall thing is that I just don’t want it to go to the author page, but to another page in the site (basically the “about” page). I have done this with other themes easily, but there are so many blocks and other things with Newspaper, I can’t find where in the code to be able to change this. Thanks for any help!

  • This reply was modified 7 years by ap3048.
  • This reply was modified 7 years by ap3048.
Post count: 623

Option- 1
Disabling author archive in Yoast SEO settings will disable author page. In this case, clicking on author name will redirect the user to the site homepage.

Option – 2
You can add redirection using regex redirect for author URL to about page.

Post count: 6

Thank you! I will try those! There is no way to ‘remove’ it in the files (php) though?

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.