This plugin will trigger a 404 error for all author pages and replace author links generated by WordPress with links to the home page.
There are no settings, the plugin is supposed to be simple and just work for this specific task.
سارے 8 ریویو پڑھو
15 lines of code. Such a simple approach. I ended up simply adding this code to one of our existing in-house plugins for a multisite and slightly modified the code so it redirects to the parent domain of the blog / domain.
echo '<meta http-equiv="refresh" content="1;URL=http://'.$_SERVER['HTTP_HOST'].'">';
It catches /author/ pages, but misses /?author=0 (etc).
This is the type of plugin we need more of - they do the job without having to edit theme files. Thanks.
An asset in the line of defense.
“Remove Author Pages” is open source software. The following people have contributed to this plugin.حصہ پاوݨ آلے