Disable search, author, attachment, and date-based archives
If the WordPress site you’ve built doesn’t make use of search, author archives, attachment links, or date-based archives, those pages are generated and people can stumble across them. So, just turn them off, right? Unfortunately, to the best of my knowledge, there isn’t a simple switch for that. Instead, you have to go about it another way. What this does,…