Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Disable Author Pages WordPress
<?php
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: http://blog.futtta.be/2015/03/03/quick-tip-disabling-wordpress-author-pages/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment