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.
Дополнение — «то, что нужно».
Единственное но, не имеет перенаправления на «главную» (или указанный адрес), и author=0 не прячет.
Вцелом нормально (если без учёта).
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.
Does what it’s supposed to, in one single step. Thanks a lot, Winiweb! 🙂
خواندن تمامی 9 نقد و بررسی
“Remove Author Pages” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کردهاند.
مشارکت کنندگان