// prevents hackers from getting your username by using ?author=1 at the end of your domain url // ============================================================================== add_action('template_redirect', computec_template_redirect); function computec_template_redirect() { if (is_author()) { wp_redirect( home_url() ); exit; } }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter