{"id":46,"date":"2011-03-09T05:41:32","date_gmt":"2011-03-09T05:41:32","guid":{"rendered":"http:\/\/wp89.com\/learn\/?p=46"},"modified":"2011-03-09T05:41:32","modified_gmt":"2011-03-09T05:41:32","slug":"wordpress-security-tips1","status":"publish","type":"post","link":"https:\/\/wp89.com\/learn\/wordpress-security-tips1","title":{"rendered":"WordPress Security Tips:1"},"content":{"rendered":"<p>Amazingly, lots of WordPress Web sites are still using default \"admin\" user name for the admin log in. After WordPress 3.0, you may choose a hard to guess admin user name. If your WordPress site was created before that, you may go to your phpMyAdmin and the 'wp-users' table to change 'admin' to a new user name of your choice.<\/p>\n<p>The bottom line is<\/p>\n<h2>Do Not Use The Default \"admin\" User Name<\/h2>\n<p>Also try to use a longer ( more than 10 characters long) user name for your WordPress admin account.<\/p>\n<p>Another tip related to this is: <\/p>\n<h2>Prevent Log In Error To Be Displayed<\/h2>\n<p>Even with WordPress 3.1, the default setting is still \"showing log in error\" when you type in a wrong user name. This makes it convenient for users who really forget their user name or password, but it also gives too much information for hackers.<\/p>\n<p>A trick to prevent the log in error to be displayed is to insert this simple line of code in the functions.php at your current theme folder (e.g. wp-content\/themes\/twentyten )<\/p>\n<blockquote><p>add_filter('login_errors',create_function('$a', \"return null;\"));<\/p><\/blockquote>\n<p>Remember to backup your functions.php file so you can roll-back the change in case you do it wrong.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Amazingly, lots of WordPress Web sites are still using default &#8220;admin&#8221; user name for the admin log in. After WordPress 3.0, you may choose a hard to guess admin user name. If your WordPress site was created before that, you may go to your phpMyAdmin and the &#8216;wp-users&#8217; table to<a href=\"https:\/\/wp89.com\/learn\/wordpress-security-tips1\" class=\"read-more\">Read the Rest&#8230;<\/a><\/p>\n","protected":false},"author":130,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[5],"tags":[],"class_list":["post-46","post","type-post","status-publish","format-standard","hentry","category-wordpress-security"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>WordPress Security Tips:1 - WP89 WordPress Tutorials<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wp89.com\/learn\/wordpress-security-tips1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WordPress Security Tips:1 - WP89 WordPress Tutorials\" \/>\n<meta property=\"og:description\" content=\"Amazingly, lots of WordPress Web sites are still using default &quot;admin&quot; user name for the admin log in. After WordPress 3.0, you may choose a hard to guess admin user name. If your WordPress site was created before that, you may go to your phpMyAdmin and the &#039;wp-users&#039; table toRead the Rest...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wp89.com\/learn\/wordpress-security-tips1\" \/>\n<meta property=\"og:site_name\" content=\"WP89 WordPress Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2011-03-09T05:41:32+00:00\" \/>\n<meta name=\"author\" content=\"Paul\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Paul\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/wp89.com\/learn\/wordpress-security-tips1#article\",\"isPartOf\":{\"@id\":\"https:\/\/wp89.com\/learn\/wordpress-security-tips1\"},\"author\":{\"name\":\"Paul\",\"@id\":\"https:\/\/wp89.com\/learn\/#\/schema\/person\/c7e332be1102754542fef49ce461d3e3\"},\"headline\":\"WordPress Security Tips:1\",\"datePublished\":\"2011-03-09T05:41:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/wp89.com\/learn\/wordpress-security-tips1\"},\"wordCount\":208,\"commentCount\":0,\"articleSection\":[\"WordPress Security\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/wp89.com\/learn\/wordpress-security-tips1#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wp89.com\/learn\/wordpress-security-tips1\",\"url\":\"https:\/\/wp89.com\/learn\/wordpress-security-tips1\",\"name\":\"WordPress Security Tips:1 - WP89 WordPress Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/wp89.com\/learn\/#website\"},\"datePublished\":\"2011-03-09T05:41:32+00:00\",\"author\":{\"@id\":\"https:\/\/wp89.com\/learn\/#\/schema\/person\/c7e332be1102754542fef49ce461d3e3\"},\"breadcrumb\":{\"@id\":\"https:\/\/wp89.com\/learn\/wordpress-security-tips1#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wp89.com\/learn\/wordpress-security-tips1\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wp89.com\/learn\/wordpress-security-tips1#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/wp89.com\/learn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WordPress Security Tips:1\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wp89.com\/learn\/#website\",\"url\":\"https:\/\/wp89.com\/learn\/\",\"name\":\"WP89 WordPress Tutorials\",\"description\":\"Learn WP for Your Business Sites\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wp89.com\/learn\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/wp89.com\/learn\/#\/schema\/person\/c7e332be1102754542fef49ce461d3e3\",\"name\":\"Paul\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wp89.com\/learn\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/468417102e1507a9a25b56c279dbeeaa1e3e6861e27829ab8df2292e3fb97778?s=96&d=wavatar&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/468417102e1507a9a25b56c279dbeeaa1e3e6861e27829ab8df2292e3fb97778?s=96&d=wavatar&r=g\",\"caption\":\"Paul\"},\"description\":\"WordPress Master We have been building sites with WordPress for over 5 years.\",\"url\":\"https:\/\/wp89.com\/learn\/author\/host\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"WordPress Security Tips:1 - WP89 WordPress Tutorials","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wp89.com\/learn\/wordpress-security-tips1","og_locale":"en_US","og_type":"article","og_title":"WordPress Security Tips:1 - WP89 WordPress Tutorials","og_description":"Amazingly, lots of WordPress Web sites are still using default \"admin\" user name for the admin log in. After WordPress 3.0, you may choose a hard to guess admin user name. If your WordPress site was created before that, you may go to your phpMyAdmin and the 'wp-users' table toRead the Rest...","og_url":"https:\/\/wp89.com\/learn\/wordpress-security-tips1","og_site_name":"WP89 WordPress Tutorials","article_published_time":"2011-03-09T05:41:32+00:00","author":"Paul","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Paul","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/wp89.com\/learn\/wordpress-security-tips1#article","isPartOf":{"@id":"https:\/\/wp89.com\/learn\/wordpress-security-tips1"},"author":{"name":"Paul","@id":"https:\/\/wp89.com\/learn\/#\/schema\/person\/c7e332be1102754542fef49ce461d3e3"},"headline":"WordPress Security Tips:1","datePublished":"2011-03-09T05:41:32+00:00","mainEntityOfPage":{"@id":"https:\/\/wp89.com\/learn\/wordpress-security-tips1"},"wordCount":208,"commentCount":0,"articleSection":["WordPress Security"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/wp89.com\/learn\/wordpress-security-tips1#respond"]}]},{"@type":"WebPage","@id":"https:\/\/wp89.com\/learn\/wordpress-security-tips1","url":"https:\/\/wp89.com\/learn\/wordpress-security-tips1","name":"WordPress Security Tips:1 - WP89 WordPress Tutorials","isPartOf":{"@id":"https:\/\/wp89.com\/learn\/#website"},"datePublished":"2011-03-09T05:41:32+00:00","author":{"@id":"https:\/\/wp89.com\/learn\/#\/schema\/person\/c7e332be1102754542fef49ce461d3e3"},"breadcrumb":{"@id":"https:\/\/wp89.com\/learn\/wordpress-security-tips1#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wp89.com\/learn\/wordpress-security-tips1"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wp89.com\/learn\/wordpress-security-tips1#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wp89.com\/learn\/"},{"@type":"ListItem","position":2,"name":"WordPress Security Tips:1"}]},{"@type":"WebSite","@id":"https:\/\/wp89.com\/learn\/#website","url":"https:\/\/wp89.com\/learn\/","name":"WP89 WordPress Tutorials","description":"Learn WP for Your Business Sites","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wp89.com\/learn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/wp89.com\/learn\/#\/schema\/person\/c7e332be1102754542fef49ce461d3e3","name":"Paul","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wp89.com\/learn\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/468417102e1507a9a25b56c279dbeeaa1e3e6861e27829ab8df2292e3fb97778?s=96&d=wavatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/468417102e1507a9a25b56c279dbeeaa1e3e6861e27829ab8df2292e3fb97778?s=96&d=wavatar&r=g","caption":"Paul"},"description":"WordPress Master We have been building sites with WordPress for over 5 years.","url":"https:\/\/wp89.com\/learn\/author\/host"}]}},"_links":{"self":[{"href":"https:\/\/wp89.com\/learn\/wp-json\/wp\/v2\/posts\/46","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp89.com\/learn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp89.com\/learn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp89.com\/learn\/wp-json\/wp\/v2\/users\/130"}],"replies":[{"embeddable":true,"href":"https:\/\/wp89.com\/learn\/wp-json\/wp\/v2\/comments?post=46"}],"version-history":[{"count":1,"href":"https:\/\/wp89.com\/learn\/wp-json\/wp\/v2\/posts\/46\/revisions"}],"predecessor-version":[{"id":47,"href":"https:\/\/wp89.com\/learn\/wp-json\/wp\/v2\/posts\/46\/revisions\/47"}],"wp:attachment":[{"href":"https:\/\/wp89.com\/learn\/wp-json\/wp\/v2\/media?parent=46"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp89.com\/learn\/wp-json\/wp\/v2\/categories?post=46"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp89.com\/learn\/wp-json\/wp\/v2\/tags?post=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}