Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Disable Author Pages WordPress
header("HTTP/1.1 301 Moved Permanently");
header("Location: /");
// Create a author.php file in your theme and add the above code
// Date Archives can be disabled with this same method but creating a date.php file
// Source:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.