as title goes, I'm trying to disable the Author page functionality from K2. Simply put I don't want any available author links in articles nor the possibility to access author pages.
On this last point I want to be more specific: even if I disable all possible showing options of authors from the K2 configs, be it menu, category etc.. the author url is still reachable, with urls like
How can I disable all this? How can I have something like standard Joomla article author where there is only a text printed and no profile page linked to it?
I'm no PHP expert but digging in the code of the K2 component, it looks like it's directly embedded in the CCK functionalities with no direct option to disable it, am I wrong?
In the main config options of K2 I've alreaddy disabled the "Enable K2 User Plugin" option, and set to hide to any possible option in the "Layout & view options for user (author) pages", still the authors pages are available and possible to reach even with no links pointing to them in the whole website.
I'm using the last version of K2 and Joomla! 3.4.1.
My answer resolve the problem in a reasonable way. Tho as stated in my answer, instead of the Joomla! or custom template
error.php page is served a basic Apache 404 page.
How can this be done via .htaccess redirecting to the template error page? Better to do a PHP redirect?
If anyone can find a similar option to redirect with a 404 to the custom template 404 page I will update as correct answer.