{"id":126772,"date":"2025-03-11T17:56:12","date_gmt":"2025-03-11T17:56:12","guid":{"rendered":"https:\/\/peraltafinancing.com\/business\/internet-business\/how-to-secure-wordpress-site-without-using-plugin-wordpress-security-tips-2020\/"},"modified":"2025-03-11T17:56:12","modified_gmt":"2025-03-11T17:56:12","slug":"how-to-secure-wordpress-site-without-using-plugin-wordpress-security-tips-2020","status":"publish","type":"post","link":"https:\/\/fivemor.com\/?p=126772","title":{"rendered":"How To Secure WordPress site Without Using Plugin [ WordPress Security Tips 2020 ]"},"content":{"rendered":"<p> <br \/>\n<\/p>\n<div itemprop=\"articleBody\">\n<div class=\"bialty-container\"><span style=\"font-style:italic; font-weight:bold;text-align:center;\">(Last Updated On: May 11, 2020)<\/span><\/p>\n<p>\u00a0<\/p>\n<p>You can try our trick to protect your WordPress website from hackers easily. Most website hacked by a hacker using your WordPress theme or plugins<\/p>\n<p>It means some plugins or theme are vulnerable so the hacker can easily hack your website if your WordPress website vulnerable plugin or theme indexed by google bot<\/p>\n<p>Nowadays hackers are smarter they do not waste their time to hack one website so they search in google and google can show your plugin list and hacker easily hack your website<\/p>\n<p>So we need to disable google bot access to our theme and plugin folder so google bot won\u2019t index our WordPress theme and plugin so our website is safe from hackers\u00a0 \ud83d\ude42\u00a0 so we have to create robots.txt file in our website directory<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>Robots txt file specially made for robots means website crawler when robot or crawler come to visit our website they first check robots.txt file<\/p>\n<p>We can instruct robots using robots.txt file for example if we don\u2019t want to index any file or folder then we can use robots.txt file so robots will not index that file or folder \ud83d\ude42<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>Yes, My friend, we can secure our website with robots.txt file because as above I already mentioned that hacker use our website directory to find vulnerable plugins and theme so simple we can disable robots access to our theme and plugins directory using robots.txt file<\/p>\n<p>First, we need to create robots.txt file<\/p>\n<ol>\n<li>Go to File manager &gt; Public_html folder and create robots.txt file<\/li>\n<\/ol>\n<p><img data-attachment-id=\"5183\" src=\"https:\/\/www.hostkarle.in\/blog\/secure-wordpress-site-from-hackers\/screenshot_3-14\" data-orig-file=\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2020\/04\/Screenshot_3-1.jpg?fit=738%2C265&amp;ssl=1\" data-orig-size=\"738,265\" data-comments-opened=\"1\" data-image-meta=\"{\" aperture=\"\" data-image-title=\"Screenshot_3\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2020\/04\/Screenshot_3-1.jpg?fit=300%2C108&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2020\/04\/Screenshot_3-1.jpg?fit=738%2C265&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-5183 size-full\" alt=\"\" width=\"738\" height=\"265\" srcset=\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2020\/04\/Screenshot_3-1.jpg?w=738&amp;ssl=1 738w, https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2020\/04\/Screenshot_3-1.jpg?resize=300%2C108&amp;ssl=1 300w\" sizes=\"auto, (max-width: 738px) 100vw, 738px\" data-recalc-dims=\"1\"\/><\/p>\n<p>2. Paste the following code and save it<\/p>\n<blockquote>\n<p>User-agent: Googlebot<br \/>Disallow: \/cgi-bin\/*<br \/>Disallow: \/wp-admin\/*<br \/>Disallow: \/wp-content\/plugins\/*<br \/>Disallow: \/wp-content\/themes\/*<br \/>Disallow: \/wp-includes\/*<br \/>Allow: \/<\/p>\n<\/blockquote>\n<h2\/>\n<p>After creating robots.txt file you can test your file using <a href=\"https:\/\/www.google.com\/webmasters\/tools\/robots-testing-tool\" data-wpel-link=\"external\" target=\"_blank\" rel=\"nofollow noreferrer\">google robot testing tool\u00a0<\/a><\/p>\n<p>Sometimes hackers try to access our theme and plugin directory with browser or any software so we can easily disable access so our WordPress website is more secure \ud83d\ude42<\/p>\n<ol>\n<li>First, we have to open the file manager and go to the public_html\/wp-content folder and create a .htaccess file<\/li>\n<\/ol>\n<p>2. Add the following line to your <code>.htaccess<\/code>\u00a0file.<\/p>\n<blockquote>\n<p>Options -Indexes<\/p>\n<\/blockquote>\n<p>Tips:-<\/p>\n<p><span style=\"font-size: 1.0625rem; letter-spacing: 0px;\">&gt; Do not use nulled themes from any unknown website<\/span><\/p>\n<p>&gt; Keep your WordPress plugins and themes up to date<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>Hostkarle also offers <a href=\"https:\/\/www.hostkarle.in\/web-hosting\" data-wpel-link=\"external\" target=\"_blank\" rel=\"nofollow noreferrer\">web hosting<\/a> with cPguard so your website is more protected from hackers if you are using Hostkarle <a href=\"https:\/\/www.hostkarle.in\/web-hosting\" data-wpel-link=\"external\" target=\"_blank\" rel=\"nofollow noreferrer\">Web Hosting<\/a> Service We don\u2019t promote our hosting here we just inform you that you can use secure <a href=\"https:\/\/www.hostkarle.in\/web-hosting\" data-wpel-link=\"external\" target=\"_blank\" rel=\"nofollow noreferrer\">website hosting<\/a> to give better security to your WordPress website.<\/p>\n<\/div><\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>(Last Updated On: May 11, 2020) \u00a0 You can try our trick to protect your WordPress website from hackers easily. Most website hacked by a hacker using your WordPress theme or plugins It means some plugins or theme are vulnerable so the hacker can easily hack your website if your WordPress website vulnerable plugin or [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":126773,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[95],"tags":[15896,2765,2764,7476,3535,18117],"dealstore":[],"offerexpiration":[],"class_list":["post-126772","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-internet-business","tag-plugin","tag-secure","tag-security","tag-site","tag-tips","tag-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Secure Wordpress site Without Using Plugin [ Wordpress Security Tips 2020 ] - Som2ny Network<\/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:\/\/fivemor.com\/?p=126772\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Secure Wordpress site Without Using Plugin [ Wordpress Security Tips 2020 ] - Som2ny Network\" \/>\n<meta property=\"og:description\" content=\"(Last Updated On: May 11, 2020) \u00a0 You can try our trick to protect your WordPress website from hackers easily. Most website hacked by a hacker using your WordPress theme or plugins It means some plugins or theme are vulnerable so the hacker can easily hack your website if your WordPress website vulnerable plugin or [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fivemor.com\/?p=126772\" \/>\n<meta property=\"og:site_name\" content=\"Som2ny Network\" \/>\n<meta property=\"article:published_time\" content=\"2025-03-11T17:56:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/1741715772_My-Post.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fivemor.com\/?p=126772#article\",\"isPartOf\":{\"@id\":\"https:\/\/fivemor.com\/?p=126772\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371\"},\"headline\":\"How To Secure WordPress site Without Using Plugin [ WordPress Security Tips 2020 ]\",\"datePublished\":\"2025-03-11T17:56:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fivemor.com\/?p=126772\"},\"wordCount\":441,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fivemor.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/?p=126772#primaryimage\"},\"thumbnailUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/1741715772_My-Post.png\",\"keywords\":[\"Plugin\",\"Secure\",\"Security\",\"SITE\",\"Tips\",\"wordpress\"],\"articleSection\":[\"Internet Business\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fivemor.com\/?p=126772#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fivemor.com\/?p=126772\",\"url\":\"https:\/\/fivemor.com\/?p=126772\",\"name\":\"How To Secure Wordpress site Without Using Plugin [ Wordpress Security Tips 2020 ] - Som2ny Network\",\"isPartOf\":{\"@id\":\"https:\/\/fivemor.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/fivemor.com\/?p=126772#primaryimage\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/?p=126772#primaryimage\"},\"thumbnailUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/1741715772_My-Post.png\",\"datePublished\":\"2025-03-11T17:56:12+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/fivemor.com\/?p=126772#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fivemor.com\/?p=126772\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/?p=126772#primaryimage\",\"url\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/1741715772_My-Post.png\",\"contentUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/1741715772_My-Post.png\",\"width\":1200,\"height\":628},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fivemor.com\/?p=126772#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/fivemor.com\/?bp_activities=1\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Secure WordPress site Without Using Plugin [ WordPress Security Tips 2020 ]\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fivemor.com\/#website\",\"url\":\"https:\/\/fivemor.com\/\",\"name\":\"Som2ny Network\",\"description\":\"Daily Deals\",\"publisher\":{\"@id\":\"https:\/\/fivemor.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fivemor.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/fivemor.com\/#organization\",\"name\":\"Som2ny Network\",\"url\":\"https:\/\/fivemor.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png\",\"contentUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png\",\"width\":300,\"height\":86,\"caption\":\"Som2ny Network\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/fivemor.com\"],\"url\":\"https:\/\/fivemor.com\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Secure Wordpress site Without Using Plugin [ Wordpress Security Tips 2020 ] - Som2ny Network","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:\/\/fivemor.com\/?p=126772","og_locale":"en_US","og_type":"article","og_title":"How To Secure Wordpress site Without Using Plugin [ Wordpress Security Tips 2020 ] - Som2ny Network","og_description":"(Last Updated On: May 11, 2020) \u00a0 You can try our trick to protect your WordPress website from hackers easily. Most website hacked by a hacker using your WordPress theme or plugins It means some plugins or theme are vulnerable so the hacker can easily hack your website if your WordPress website vulnerable plugin or [&hellip;]","og_url":"https:\/\/fivemor.com\/?p=126772","og_site_name":"Som2ny Network","article_published_time":"2025-03-11T17:56:12+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/1741715772_My-Post.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fivemor.com\/?p=126772#article","isPartOf":{"@id":"https:\/\/fivemor.com\/?p=126772"},"author":{"name":"admin","@id":"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371"},"headline":"How To Secure WordPress site Without Using Plugin [ WordPress Security Tips 2020 ]","datePublished":"2025-03-11T17:56:12+00:00","mainEntityOfPage":{"@id":"https:\/\/fivemor.com\/?p=126772"},"wordCount":441,"commentCount":0,"publisher":{"@id":"https:\/\/fivemor.com\/#organization"},"image":{"@id":"https:\/\/fivemor.com\/?p=126772#primaryimage"},"thumbnailUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/1741715772_My-Post.png","keywords":["Plugin","Secure","Security","SITE","Tips","wordpress"],"articleSection":["Internet Business"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fivemor.com\/?p=126772#respond"]}]},{"@type":"WebPage","@id":"https:\/\/fivemor.com\/?p=126772","url":"https:\/\/fivemor.com\/?p=126772","name":"How To Secure Wordpress site Without Using Plugin [ Wordpress Security Tips 2020 ] - Som2ny Network","isPartOf":{"@id":"https:\/\/fivemor.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/fivemor.com\/?p=126772#primaryimage"},"image":{"@id":"https:\/\/fivemor.com\/?p=126772#primaryimage"},"thumbnailUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/1741715772_My-Post.png","datePublished":"2025-03-11T17:56:12+00:00","breadcrumb":{"@id":"https:\/\/fivemor.com\/?p=126772#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fivemor.com\/?p=126772"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/?p=126772#primaryimage","url":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/1741715772_My-Post.png","contentUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/1741715772_My-Post.png","width":1200,"height":628},{"@type":"BreadcrumbList","@id":"https:\/\/fivemor.com\/?p=126772#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/fivemor.com\/?bp_activities=1"},{"@type":"ListItem","position":2,"name":"How To Secure WordPress site Without Using Plugin [ WordPress Security Tips 2020 ]"}]},{"@type":"WebSite","@id":"https:\/\/fivemor.com\/#website","url":"https:\/\/fivemor.com\/","name":"Som2ny Network","description":"Daily Deals","publisher":{"@id":"https:\/\/fivemor.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fivemor.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/fivemor.com\/#organization","name":"Som2ny Network","url":"https:\/\/fivemor.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/#\/schema\/logo\/image\/","url":"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png","contentUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png","width":300,"height":86,"caption":"Som2ny Network"},"image":{"@id":"https:\/\/fivemor.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png","caption":"admin"},"sameAs":["https:\/\/fivemor.com"],"url":"https:\/\/fivemor.com\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts\/126772","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=126772"}],"version-history":[{"count":0,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts\/126772\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/media\/126773"}],"wp:attachment":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=126772"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=126772"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=126772"},{"taxonomy":"dealstore","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdealstore&post=126772"},{"taxonomy":"offerexpiration","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fofferexpiration&post=126772"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}