{"id":2613,"date":"2022-07-12T11:00:00","date_gmt":"2022-07-12T15:00:00","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2013\/04\/15\/lock-down-wordpress-admin-login-with-htaccess\/"},"modified":"2024-09-11T16:16:17","modified_gmt":"2024-09-11T20:16:17","slug":"lock-down-wordpress-admin-login-with-htaccess","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/","title":{"rendered":"Locking WordPress Admin Login with .htaccess Rules"},"content":{"rendered":"<p>If you are a website administrator, security should be at the top of your list. That\u2019s why your first step should be to work with InMotion\u2019s <a href=\"https:\/\/www.inmotionhosting.com\/wordpress-hosting\">WordPress Hosting<\/a> team to get your website up and running. After that, you can <strong>lock<\/strong> down the <strong>WordPress admin login<\/strong> with some <strong>.htaccess<\/strong> rules to prevent unauthorized login attempts.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Locate Your .htaccess File in cPanel\u2019s File Manager<\/h2>\n\n\n\n<p>This guide will show how you to limit WordPress admin login attempts by IP address, or referrer. Below we\u2019ll show you, how to get to your <strong>.htaccess<\/strong> file, and what edits to make, to limit WordPress admin logins. But first, we\u2019ll show you how to find your .htaccess file in the cPanel File Manager.<\/p>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-log-into-cpanel\/\">Log into your cPanel<\/a>.<\/li>\n\n\n\n<li>Find the <strong>Files <\/strong>category and click on the <strong>File Manager<\/strong> icon.<br><img decoding=\"async\" class=\"wp-image-1093 size-full\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cmPape_01.png\" alt=\"cPanel\"><\/li>\n\n\n\n<li>Click <strong>Settings<\/strong> at the top right corner.<br><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"400\" class=\"size-full wp-image-9309\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/04\/PL_fix_Selection_03.png\" alt=\"cPanel\"><\/li>\n\n\n\n<li>Select the <strong>Document Root<\/strong> for your domain and check the box next to <strong>Show Hidden Files<\/strong>. Click <strong>Save<\/strong>.<br><img decoding=\"async\" class=\"wp-image-1095 size-full\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/PL_fix_Selection_02.png\" alt=\"file manager show hidden\"><\/li>\n\n\n\n<li>Right-click the <em>.htaccess<\/em> file and select the <strong>Edit <\/strong>option.<br><img decoding=\"async\" class=\"size-full wp-image-1096\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/PL_fix_Selection_04.png\" alt=\"file manager htaccess\"><\/li>\n\n\n\n<li>If you have a text editor encoding dialog box pop up, simply click <strong>Edit<\/strong>.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">How to Restrict WordPress Admin Access<\/h2>\n\n\n\n<p>The following rules should be placed at the very top of your <strong>.htaccess<\/strong> file.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/prevent-unauthorized-wp-admin-wp-login-php-attempts\/\">Secondary WordPress admin .htaccess password<\/a> (Recommended if your IP changes)<\/li>\n\n\n\n<li><a href=\"#single-ip\">A Single IP Address<\/a><\/li>\n\n\n\n<li><a href=\"#multiple-ips\">Multiple IP Addresses<\/a><\/li>\n\n\n\n<li><a href=\"#dynamic-ip\">Dynamic IP Address Access<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"single-ip\">Single IP Address Access<\/h2>\n\n\n\n<p>You can <a href=\"https:\/\/support.inmotionhosting.com\/ipcheck.php\" target=\"_blank\" rel=\"noopener noreferrer\">check your IP<\/a> to get your computer\u2019s IP address.<\/p>\n\n\n\n<p class=\"alert alert-danger\">If you are using CloudFlare or a DNS level filtering service, this method won\u2019t work, you\u2019ll want to <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/prevent-unauthorized-wp-admin-wp-login-php-attempts\/\">setup a secondary WordPress .htaccess password<\/a> for protection instead.<\/p>\n\n\n\n<p>To allow access from a single IP address, replace <strong style=\"color: red;\">123.123.123.123<\/strong> with your own IP address:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">RewriteEngine on <br>RewriteCond %{REQUEST_URI} ^(.*)?wp-login.php(.*)$ [OR] <br>RewriteCond %{REQUEST_URI} ^(.*)?wp-admin$ <br>RewriteCond %{REMOTE_ADDR} !^<strong style=\"color: red;\">123.123.123.123<\/strong>$ <br>RewriteRule ^(.*)$ \u2013 [R=403,L]<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"multiple-ips\">Multiple IP Address Access<\/h2>\n\n\n\n<p>\u00a0You can <a href=\"https:\/\/support.inmotionhosting.com\/ipcheck.php\">check your IP<\/a> to get your computer\u2019s IP address.<\/p>\n\n\n\n<p class=\"alert alert-info\">If you are using CloudFlare or a DNS level filtering service, this method won\u2019t work, you\u2019ll want to <a href=\"\/support\/edu\/wordpress\/prevent-unauthorized-wp-admin-wp-login-php-attempts\/\">setup a secondary WordPress .htaccess password<\/a> for protection instead.<\/p>\n\n\n\n<p>To allow access from multiple IP addresses, replace <strong style=\"color: red;\">123.123.123.xxx<\/strong> with your own IP addresses:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">RewriteEngine on \nRewriteCond %{REQUEST_URI} ^(.*)?wp-login.php(.*)$ [OR] \nRewriteCond %{REQUEST_URI} ^(.*)?wp-admin$ \nRewriteCond %{REMOTE_ADDR} !^<strong style=\"color: red;\">123.123.123.121<\/strong>$ \nRewriteCond %{REMOTE_ADDR} !^<strong style=\"color: red;\">123.123.123.122<\/strong>$ \nRewriteCond %{REMOTE_ADDR} !^<strong style=\"color: red;\">123.123.123.123<\/strong>$ \nRewriteRule ^(.*)$ - [R=403,L]<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"dynamic-ip\">Dynamic IP Address Access, Limit by Referrer<\/h2>\n\n\n\n<p>If your IP address changes, you can protect your WordPress site by only allowing login requests that come directly from your domain name. Simply replace <strong style=\"color: red;\">example.com<\/strong> with your own domain name Most brute force attacks rely on sending direct <strong>POST<\/strong> requests right to your <strong>wp-login.php<\/strong> script. So requiring a <strong>POST<\/strong> request to have your domain as the referrer can help weed out bots.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">RewriteEngine on <br>RewriteCond %{REQUEST_METHOD} POST <br>RewriteCond %{HTTP_REFERER} !^https:\/\/(.*)?<strong style=\"color: red;\">example.com<\/strong> [NC] <br>RewriteCond %{REQUEST_URI} ^(.*)?wp-login.php(.*)$ [OR] <br>RewriteCond %{REQUEST_URI} ^(.*)?wp-admin$ <br>RewriteRule ^(.*)$ - [F]<\/pre>\n\n\n\n<p>Wait at least <span style=\"color: red;\">15-20 minutes<\/span>, and try to log into your WordPress site again. If you try to access the WordPress dashboard within the <span style=\"color: red;\">15 minute<\/span> window of a block, this could extend the block longer.<\/p>\n\n\n\n<p>It\u2019s important to wait for the previous block to expire and be patient before attempting to access your WordPress site again. You should now be blocking unauthorized WordPress admin login attempts utilizing .htaccess rules.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are a website administrator, security should be at the top of your list. That&#8217;s why your first step should be to work with InMotion&#8217;s WordPress Hosting team to get your website up and running. After that, you can lock down the WordPress admin login with some .htaccess rules to prevent unauthorized login attempts.<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[56],"tags":[],"class_list":["post-2613","post","type-post","status-publish","format-standard","hentry","category-wordpress"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Locking the WordPress Admin Login with .htaccess Rules<\/title>\n<meta name=\"description\" content=\"In this article I&#039;m going to talk about how to lock down your WordPress admin login with some .htaccess rules to prevent unauthorized login attempts.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Locking the WordPress Admin Login with .htaccess Rules\" \/>\n<meta property=\"og:description\" content=\"In this article I&#039;m going to talk about how to lock down your WordPress admin login with some .htaccess rules to prevent unauthorized login attempts.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-12T15:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-11T20:16:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cmPape_01.png\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"Locking WordPress Admin Login with .htaccess Rules\",\"datePublished\":\"2022-07-12T15:00:00+00:00\",\"dateModified\":\"2024-09-11T20:16:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/\"},\"wordCount\":496,\"commentCount\":70,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cmPape_01.png\",\"articleSection\":[\"WordPress Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/\",\"name\":\"Locking the WordPress Admin Login with .htaccess Rules\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cmPape_01.png\",\"datePublished\":\"2022-07-12T15:00:00+00:00\",\"dateModified\":\"2024-09-11T20:16:17+00:00\",\"description\":\"In this article I'm going to talk about how to lock down your WordPress admin login with some .htaccess rules to prevent unauthorized login attempts.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cmPape_01.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cmPape_01.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Locking WordPress Admin Login with .htaccess Rules\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Locking the WordPress Admin Login with .htaccess Rules","description":"In this article I'm going to talk about how to lock down your WordPress admin login with some .htaccess rules to prevent unauthorized login attempts.","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:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/","og_locale":"en_US","og_type":"article","og_title":"Locking the WordPress Admin Login with .htaccess Rules","og_description":"In this article I'm going to talk about how to lock down your WordPress admin login with some .htaccess rules to prevent unauthorized login attempts.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2022-07-12T15:00:00+00:00","article_modified_time":"2024-09-11T20:16:17+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cmPape_01.png","type":"","width":"","height":""}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"Locking WordPress Admin Login with .htaccess Rules","datePublished":"2022-07-12T15:00:00+00:00","dateModified":"2024-09-11T20:16:17+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/"},"wordCount":496,"commentCount":70,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cmPape_01.png","articleSection":["WordPress Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/","name":"Locking the WordPress Admin Login with .htaccess Rules","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cmPape_01.png","datePublished":"2022-07-12T15:00:00+00:00","dateModified":"2024-09-11T20:16:17+00:00","description":"In this article I'm going to talk about how to lock down your WordPress admin login with some .htaccess rules to prevent unauthorized login attempts.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cmPape_01.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cmPape_01.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/lock-down-wordpress-admin-login-with-htaccess\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Locking WordPress Admin Login with .htaccess Rules"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":56,"name":"WordPress Tutorials","slug":"wordpress","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2613","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=2613"}],"version-history":[{"count":14,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2613\/revisions"}],"predecessor-version":[{"id":128675,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2613\/revisions\/128675"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=2613"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=2613"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=2613"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}