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.
When you don't want people to know your author names, it works
Does what it's supposed to, in one single step. Thanks a lot, Winiweb! :)
..with no hassle :)
Does what it says it will.
You must log in to submit a review. You can also log in or register using the form near the top of this page.