Once in place, this code checks if the request is for an author archive, and if so, redirects as a 404 (Not Found) request. No editing is required, but you may want to tweak the redirect/response to something more user-friendly. For more information, check out my tutorial on stopping user-enumeration scans in WordPress.