{"id":338,"date":"2012-01-22T11:31:24","date_gmt":"2012-01-22T02:31:24","guid":{"rendered":"http:\/\/www.santoshkori.com\/blog\/?p=338"},"modified":"2012-08-23T17:29:58","modified_gmt":"2012-08-23T08:29:58","slug":"11-ways-to-secure-your-wordpress-blog","status":"publish","type":"post","link":"https:\/\/www.santoshkori.com\/blog\/11-ways-to-secure-your-wordpress-blog\/","title":{"rendered":"11 Ways To Secure Your WordPress Blog"},"content":{"rendered":"<p>Securing your WordPress blog is the most important thing that you  must do after you have set it up on your server. There shouldn\u2019t be any  reason for you to leave your WordPress wide open for hackers to creep in  and steal your information and\/or destroy your data. Here are 11 ways  that you can use to secure your WordPress blog.<!--more--><\/p>\n<h2>1) Encrypt your login<\/h2>\n<p>Whenever  you try to login to your website, your password is sent unencrypted. If  you are on a public network, hacker can easily \u2018<em>sniff\u2019<\/em> out your login credential using network sniffer. The best way is to encrypt your login with the<a href=\"http:\/\/wordpress.org\/extend\/plugins\/chap-secure-login\/\" target=\"_blank\" rel=\"noopener\"> Chap Secure Login<\/a> plugin. This plugin adds a random hash to your password and authenticate your login with the <a href=\"http:\/\/en.wikipedia.org\/wiki\/Challenge-handshake_authentication_protocol\" target=\"_blank\" rel=\"noopener\">CHAP<\/a> protocol.<\/p>\n<h2>2) Stop brute force attack<\/h2>\n<p>Hackers can easily crack your login password and credential using <a href=\"http:\/\/en.wikipedia.org\/wiki\/Brute_force_attack\" target=\"_blank\" rel=\"noopener\">brute force attack<\/a>. To prevent that from happening, you can install the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/login-lockdown\/\" target=\"_blank\" rel=\"noopener\">login lockdown<\/a> plugin. This plugin records the IP address and timestamp of every  failed WordPress login attempt. Once a certain number of failed attempts  are detected, it will disable the login function for all requests from  that range.<\/p>\n<h2>3) Use a strong password<\/h2>\n<p>Make sure you use a  strong password that is difficult for others to guess. Use a combination  of digits, special characters and upper\/lower case to form your  password. You can also use the password checker on WordPress 2.5 and  above to check the strength of your password.<\/p>\n<h2>4) Protect your wp-admin folder<\/h2>\n<p>Your <em>wp-admin<\/em> folder contains all the important information and it is the last place that you want to give access to others. Use <a href=\"http:\/\/www.askapache.com\/wordpress\/htaccess-password-protect.html\" target=\"_blank\" rel=\"noopener\">AskApache Password Protect<\/a> to password protect the directory and give access right only to authorized personnel.<\/p>\n<h2>5) Remove WordPress version info<\/h2>\n<p>A  large number of WordPress theme include the WordPress version info in  the meta tag. Hackers can easily get hold of this information and plan  specific attack targeting the security vulnerability for that version.<\/p>\n<p>To remove the WordPress version info, log in to your <em>WordPress dashboard<\/em>. Go to <em>Design-&gt;Theme Editor<\/em>. On the right, click on the <em>Header<\/em> file. On the left where you see a lot of codes, look for a line that looks like<\/p>\n<p>&lt;meta name=\u201dgenerator\u201d content=\u201dWordPress &lt;?php bloginfo(\u2019version\u2019); ?&gt;\u201d \/&gt;<\/p>\n<p>Delete it and press <em>Update File<\/em>.<\/p>\n<p><strong>Update<\/strong>: <em>In  WP2.6 and above, WordPress automatically includes the version in the  Wp_head section. To fix this, you can simply install the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-security-scan\/\" target=\"_blank\" rel=\"noopener\">WP-Security Scan plugin<\/a>. <\/em><\/p>\n<h2>6) Hide your plugins folder<\/h2>\n<p>If you go to your <em>http:\/\/yourwebsite.com\/wp-content\/plugins<\/em>, you can see a list of plugins that you are using for your blog. You can easily hide this page by uploading an empty <em>index.html<\/em> to the <a id=\"KonaLink0\" href=\"http:\/\/maketecheasier.com\/11-ways-to-secure-your-wordpress-blog\/2008\/08\/12#\" target=\"_blank\" rel=\"noopener\"><span style=\"color: #336699;\">plugin directory<\/span><\/a>.<\/p>\n<p>Open  your text editor. Save the blank document as <em>index.html<\/em>.<\/p>\n<p>Using a ftp program, upload the index.html to the<em> \/wp-content\/plugins<\/em> folder.<\/p>\n<h2>7) Change your login name<\/h2>\n<p>The default username is <em>admin<\/em>. You can make it more difficult for the hacker to crack your login credential by changing the login name.<\/p>\n<p>In your WordPress dashboard, go to <em>Users<\/em> and set up a new user account. Give this new user <em>administrator<\/em> role. Log out and log in again with the new user account.<\/p>\n<p>Go to <em>Users<\/em> again. This time, check the box beside <em>admin<\/em> and press <em>Delete<\/em>.  When it asks for deletion confirmation, select the \u201c<em>Attribute all posts and links to:<\/em>\u201d and select your new username from the dropdown bar. This will transfer all the posts to your new user account. Press <em>Confirm Deletion<\/em>.<\/p>\n<h2>8) upgrade to the latest version of WordPress and plugins<\/h2>\n<p>The  latest version of WordPress always contains bugs fixes for any security  vulnerabilities, therefore it is important to keep yourself updated at  all times. The latest version is WP 2.6 (as of this post). You can  download it <a href=\"http:\/\/wordpress.org\/download\/\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n<h3>9) Do a regular security scan<\/h3>\n<p>Install the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-security-scan\/\" target=\"_blank\" rel=\"noopener\">wp-security-scan<\/a> plugin and perform a regular scan of your blog setting for any security  loopholes. This plugin can also help you to change your database prefix  from <em>wp_<\/em> to a custom prefix.<\/p>\n<h2>10) Backup your wordpress database<strong> <\/strong><\/h2>\n<p>No matter how secure your site is, you still want to prepare for the worst. Install the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-db-backup\/\" target=\"_blank\" rel=\"noopener\">wp-database-backup<\/a> plugin and schedule it to backup your database daily.<\/p>\n<h2>1) Define user privilege<\/h2>\n<p>If there is more than one author for your blog, you can install the <a href=\"http:\/\/redalt.com\/Resources\/Plugins\/Role+Manager\" target=\"_blank\" rel=\"noopener\">role-manager<\/a> plugin to define the capabilities for each user group. This will give  you, the blog owner, the ability to control what users can and cannot do  in the blog.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Securing your WordPress blog is the most important thing that you must do after you have set it up on your server. There shouldn\u2019t be any reason for you to leave your WordPress wide open for hackers to creep in and steal your information and\/or destroy your data. Here are 11 ways that you can [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[176],"tags":[179,50,180,178,177,725],"class_list":["post-338","post","type-post","status-publish","format-standard","hentry","category-wordress-security","tag-important-tips-to-secure-your-wordpress","tag-secure-wordpress","tag-secure-your-wordpress","tag-tips-secure-your-wordpress","tag-ways-to-secure-your-wordpress","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/posts\/338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/comments?post=338"}],"version-history":[{"count":5,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/posts\/338\/revisions"}],"predecessor-version":[{"id":695,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/posts\/338\/revisions\/695"}],"wp:attachment":[{"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/media?parent=338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/categories?post=338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/tags?post=338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}