Hi,
Thanks for this plugin ??
Installed but could not find :
settings/disable author pages
Regards
]]>Rather than disable the link, it simply changes the URL to that of the current page. I’m not sure that would be great for SEO, and it isn’t technically “disabling” the author link. Would you mind adding the option to do so? That would be really useful. Thanks, Frank!
]]>Hi,
My blog is allinallnew.com basically I want to hide author page from Google. If I install this plugin will it hide these pages.
https://www.allinallnews.com/author/admin
https://www.allinallnews.com/author/allinallnews
and if this plugin hide these pages, will it effect to the posts I mean I dont want to hide any post from google, Just want to hide author page.
Thank you
]]>Hey Frank,
I enabled your plugin on our website, but the author link is still working:
https://www.montagmorgens.com/author/reach/
I enabled” Disable Author Pages” and redirected with 301 to the home page.
Also enabling “Autorenlink deaktivieren” does not help ..
Best regards!
]]>I am trying to disable only the author link with the number like ?author=1
so that Admin authors do not come up, however the checkbox to only disable admin author pages is not making any difference. All the authors are being disabled (I have some bio pages which I want to show for normal authors).
Even the top checkbox doesn’t seem to make any difference. I had to disable the plugin to get the author pages back.
]]>hi,
nice plugin, thanks, but may i ask for a request ?
the way you are testing if it is an author page that is requested, if the author does not exists, is not working if wordpress is installed in a subdirectory :
for https://example.com/wp/author/mike
the $request
is /wp/author/mike
so stripos
is not 0.
what do you think about using get_query_var()
instead of $request
:
if ( is_404() && ( get_query_var( 'author' ) || get_query_var( 'author_name' ) ) ) {
if ( get_option( 'disable_author_pages_redirect_non_authors' ) == 1 ) {
$authorrequest = true;
}
}
if ( is_404() && ! ( get_query_var( 'author' ) || get_query_var( 'author_name' ) ) ) {
return;
}
what do you think ?
seb.
]]>Hi Support, love the idea.
When I choose redirect to “Profile” page and save, the dialogue reverts back to Homepage.
When I try on site I am redirected to wp_user_names page.
Thanks
]]>Hi
when you enable Redirect non exists author pages a 404 on your website throws a notice warning.
Notice: Trying to get property of non-object in wp-includes/post-template.php on line 29
Can you pls correct the code?
Thnx
B.
]]>Hi there
Nice plugin, works well.
However, whilst it redirects any valid author page as expected, it doesn’t redirect from any non-existing author pages – such as:
/author/notavalidauthor/
So someone can still theoretically find out what username’s are in use on a site, but trying ones to see which get redirected, vs. which go to a ‘404 Not Found’ page.
I added the plugin to a site to try to improve security, and I guess from my perspective as such it doesn’t entirely ‘disable author pages’.
I don’t know if this could be added, but could be a good addition to the plugin.
]]>Hi Frank
i added a extra ability…..
here is the new code. now you can disable it for admin author pages only.
Have a nice day.
]]>