{"id":1349,"date":"2022-02-23T12:39:17","date_gmt":"2022-02-23T07:09:17","guid":{"rendered":"https:\/\/hostkicker.com\/blog\/?p=1349"},"modified":"2022-05-17T11:38:33","modified_gmt":"2022-05-17T06:08:33","slug":"how-to-fix-the-401-error-in-wordpress","status":"publish","type":"post","link":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-401-error-in-wordpress\/","title":{"rendered":"How to Fix the 401 Error in WordPress"},"content":{"rendered":"<p><span data-preserver-spaces=\"true\">Is there a 401 error on your WordPress site?<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">The 401 error is also known as 401 unauthorized error or Error 401. Sometimes, these errors are shown by a message &#8216;Access is denied due to invalid credentials&#8217; or &#8216;Authorization required.&#8217;<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">We will share different solutions to fix the 401 error in WordPress easily.\u00a0<\/span><\/p>\n<h4><span data-preserver-spaces=\"true\">What Causes the 401 Error in WordPress?<\/span><\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1351\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/authorizationfailed.jpg\" alt=\"\" width=\"550\" height=\"211\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/authorizationfailed.jpg 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/authorizationfailed-300x115.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">In WordPress, the 401 error occurs when you have password-protected your WordPress admin folder and not entered a correct password. It then displays a 401 error page on admin pages and WordPress login.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">In addition, you may also notice this error if you have installed any WordPress security plugins on your site. It can lock your admin area during a forced login.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">The other cause for this error may be the security measures taken by your hosting companies to protect your WordPress site. The security measures display this error when excessive login attempts are made to your WordPress login page.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Generally, the 401 error arises on WordPress login and admin pages. However, it may appear on all pages of your WordPress website.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">You have to find out the actual cause of the error and then fix it accordingly.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Now, moving on to the solutions to easily fix the 401 error in WordPress.<\/span><\/p>\n<h4><strong><span data-preserver-spaces=\"true\">Temporarily Remove Password Protection\u00a0<\/span><\/strong><\/h4>\n<p><span data-preserver-spaces=\"true\">If you have protected your WordPress admin directory by a password, then you could try this solution.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">If you do not remember your admin directory password or your server configuration is adjusted, don&#8217;t panic. Just follow the method below to remove the Password.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">First, Visit your WordPress hosting control panel and search for the Directory Privacy or Password Protected Directories icon. Most of the hosting panels include this option.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1352\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/directory-privacy.jpg\" alt=\"\" width=\"550\" height=\"313\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/directory-privacy.jpg 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/directory-privacy-300x171.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">Once you get it, click it, and you will notice all the files and folders on your hosting account. Go to your wp-admin directory and select it.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Now the control panel will show its password protection settings. Then, uncheck the box besides the &#8216;Password protect this directory&#8217; option and click on the Save tab.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1353\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/disablepasswordprotection.jpg\" alt=\"\" width=\"550\" height=\"328\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/disablepasswordprotection.jpg 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/disablepasswordprotection-300x179.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">After that, click on the Go Back tab and scroll to the bottom of the page. Now, delete the username you used to access your password-protected directory.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">After this, You have disabled password protection for your WordPress admin directory. Now, try to access your WordPress site.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">If your site is working properly, then you can enable password protection for your WordPress admin area by using a new username and Password.<\/span><\/p>\n<h4><strong><span data-preserver-spaces=\"true\">Reset WordPress Password<\/span><\/strong><\/h4>\n<p><span data-preserver-spaces=\"true\">WordPress hosting companies may sometimes restrict access to wp-admin and login pages if someone is trying to enter a password again and again.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">It could block your access temporarily, and you can try it after some time.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">However, if you forget your password, you can\u00a0<\/span><a href=\"https:\/\/hostkicker.com\/blog\/how-to-recover-a-lost-password-in-wordpress\/\"><strong><span data-preserver-spaces=\"true\">recover the forgotten WordPress password\u00a0<\/span><\/strong><\/a><span data-preserver-spaces=\"true\">from the lost password link instead of guessing your password.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1359\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/lostpassword.jpg\" alt=\"\" width=\"550\" height=\"329\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/lostpassword.jpg 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/lostpassword-300x179.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">After clicking the link, WordPress sends an email with a link to change your Password.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">\u00a0However, if WordPress fails to send emails or you don&#8217;t get the email, then you can also\u00a0<\/span><a href=\"https:\/\/hostkicker.com\/blog\/how-to-reset-a-wordpress-password-from-phpmyadmin\/\"><strong><span data-preserver-spaces=\"true\">reset the WordPress password using phpMyAdmin.<\/span><\/strong><\/a><\/p>\n<p>If this doesn&#8217;t fix your issue, try using the next step.<\/p>\n<h4><strong><span data-preserver-spaces=\"true\">Deactivate All WordPress Plugins<\/span><\/strong><\/h4>\n<p><span data-preserver-spaces=\"true\">A faulty or poorly configured WordPress plugin can also generate a 401 error. To check this out, you have to deactivate all WordPress plugins temporarily.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">You can deactivate WordPress plugins from your admin area by visiting the plugins page.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1356\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/plugins-deactivate.jpg\" alt=\"\" width=\"550\" height=\"307\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/plugins-deactivate.jpg 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/plugins-deactivate-300x167.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">But if you cannot access your WordPress admin area, then you can\u00a0<\/span><a href=\"https:\/\/hostkicker.com\/blog\/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin\/\"><strong><span data-preserver-spaces=\"true\">deactivate all WordPress plugins<\/span><\/strong><\/a><span data-preserver-spaces=\"true\">\u00a0using the FTP client.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">First, connect with your WordPress site using an FTP client. After that, visit \/wp-content\/ folder and rename the plugins folder to plugins.deactivated.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1357\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/deactivateplugins-1.png\" alt=\"\" width=\"520\" height=\"307\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/deactivateplugins-1.png 520w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/deactivateplugins-1-300x177.png 300w\" sizes=\"auto, (max-width: 520px) 100vw, 520px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">When you rename the plugins folder, it will deactivate all plugins on your site.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Now visit your website admin area and try to log in. If you are able to access it and everything is working properly, this suggests that the error was because of a faulty plugin on your site.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Now return to the FTP client and rename the plugin&#8217;s folder to plugins again.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Next, go to your admin area again and head over to the plugins page.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Now activate the plugins one by one until you notice the 401 error again.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">This way, you can detect the faulty plugin. Once you get the plugin causing the error, you can deactivate it and find an alternative plugin.<\/span><\/p>\n<h4><strong><span data-preserver-spaces=\"true\">Switch to a Default WordPress Theme<\/span><\/strong><\/h4>\n<p><span data-preserver-spaces=\"true\">If the plugin solution does not resolve the issue, it may be a function inside your WordPress theme that is causing the 401 error on your site. To check this out, you have to switch to a default WordPress theme temporarily.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">You can use any default theme such as Twenty Sixteen, Twenty Seventeen, Twenty Nineteen, and more.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">First, visit\u00a0<\/span><strong><span data-preserver-spaces=\"true\">the Appearance \u00bb Themes<\/span><\/strong><span data-preserver-spaces=\"true\">\u00a0page. If you already have a default WordPress theme installed on your site, then go ahead and activate it.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1358\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/activate-default-theme.jpg\" alt=\"\" width=\"550\" height=\"293\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/activate-default-theme.jpg 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/activate-default-theme-300x160.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">If you don&#8217;t, then you have to install and activate it.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">After switching to the default theme, visit your website and see if the error disappears and everything is working properly. This suggests that the theme you were using was causing the 401 error.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Now, you can discuss the issue with the theme developer. They will be able to fix it.<\/span><\/p>\n<h4><strong><span data-preserver-spaces=\"true\">Clear Firewall Cache to fix 401 Error in WordPress<\/span><\/strong><\/h4>\n<p><span data-preserver-spaces=\"true\">If you use a cloud-based firewall service in WordPress such as\u00a0<\/span><a class=\"editor-rtfLink\" href=\"https:\/\/sucuri.net\/\" target=\"_blank\" rel=\"noopener\"><span data-preserver-spaces=\"true\">Sucuri<\/span><\/a><span data-preserver-spaces=\"true\">\u00a0or Cloudflare, then a 401 error may arise when the firewall fails to connect with your website. You can resolve the issue by following ways.<\/span><\/p>\n<ul>\n<li><strong><span data-preserver-spaces=\"true\">Clear Cache in Sucuri Firewall<\/span><\/strong><\/li>\n<\/ul>\n<p><span data-preserver-spaces=\"true\">If you use\u00a0<\/span><a class=\"editor-rtfLink\" href=\"https:\/\/sucuri.net\/\" target=\"_blank\" rel=\"noopener\"><span data-preserver-spaces=\"true\">Sucuri<\/span><\/a><span data-preserver-spaces=\"true\">, log in to your Sucuri dashboard and go to the &#8216;Performance&#8217; page. Now, click the &#8216;Clear Cache&#8217; option and then select the &#8216;Clear cache&#8217; tab.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1354\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/sucuri-clear-cache.png\" alt=\"\" width=\"550\" height=\"292\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/sucuri-clear-cache.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/sucuri-clear-cache-300x159.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<ul>\n<li><strong><span data-preserver-spaces=\"true\">Clear Cache in Cloudflare<\/span><\/strong><\/li>\n<\/ul>\n<p><span data-preserver-spaces=\"true\">If you use Cloudflare, first log in to the Cloudflare dashboard and visit the &#8216;Caching&#8217; section. Now click on the &#8216;Purge everything&#8217; tab to clear all cache.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1355\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/clouflarecache.jpg\" alt=\"\" width=\"550\" height=\"285\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/clouflarecache.jpg 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/clouflarecache-300x155.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">Once you have cleared your firewall cache, next, you have to clear your browser cache or WordPress cache as well. For more details, you can see our tutorial on<a href=\"https:\/\/hostkicker.com\/blog\/how-to-clear-your-cache-in-wordpress\/\">\u00a0<\/a><\/span><strong><span data-preserver-spaces=\"true\">how to clear cache in WordPress.<\/span><\/strong><\/p>\n<h4><strong><span data-preserver-spaces=\"true\">Contact WordPress Hosting Provider<\/span><\/strong><\/h4>\n<p><span data-preserver-spaces=\"true\">If the above solutions could not fix the 401 error on your site, then you can try contacting your WordPress hosting provider.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Many hosting companies automatically notice doubtful activity on a website and block access to prevent attacks.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">This security protection sometimes only affects the WordPress admin area, and your login page may become unavailable for some time.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1360\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/toomanyloginattempts.jpg\" alt=\"\" width=\"550\" height=\"290\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/toomanyloginattempts.jpg 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/toomanyloginattempts-300x158.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">However, if your site does not return to a normal state or you see a 401 error on all your site pages, you have to immediately get in touch with your WordPress hosting provider.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">They will check the access and error logs to fix the issue for you.<\/span><\/p>\n<p><strong>To Conclude:<\/strong> There may be many reasons why your WordPress is displaying the 401 error. It may be due to a faulty plugin or theme, or you entered the incorrect login details. You can try fixing the 401 error following the steps stated above.<\/p>\n<p><span data-preserver-spaces=\"true\">We hope one of these solutions helped you fix the 401 error in WordPress.<\/span><\/p>\n<p><span style=\"font-weight: 400\">If you are experiencing any other error on your site, you can fix it by following the steps told in our other article<\/span><a href=\"https:\/\/hostkicker.com\/blog\/what-to-do-when-you-are-locked-out-of-wordpress-admin-area\/\"><span style=\"font-weight: 400\"> on <\/span><span style=\"font-weight: 400\">what to do when you are logged out of the WordPress admin area.<\/span><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Is there a 401 error on your WordPress site? The 401 error is also known as 401 unauthorized error or Error 401. Sometimes, these errors are shown by a message &#8216;Access is denied due to invalid credentials&#8217; or &#8216;Authorization required.&#8217; We will share different solutions to fix the 401 error in WordPress easily.\u00a0 What Causes [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":1366,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1349","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wp-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v19.3 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Fix the 401 Error in WordPress - Hostkicker<\/title>\n<meta name=\"description\" content=\"401 errors are shown by a message &#039;Access is denied due to invalid credentials&#039; or &#039;Authorization required.&#039; To Fix the 401 Error in WordPress, use FTP to connect\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hostkicker.com\/blog\/how-to-fix-the-401-error-in-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Fix the 401 Error in WordPress\" \/>\n<meta property=\"og:description\" content=\"401 errors are shown by a message &#039;Access is denied due to invalid credentials&#039; or &#039;Authorization required.&#039; To Fix the 401 Error in WordPress, use FTP to connect\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hostkicker.com\/blog\/how-to-fix-the-401-error-in-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Hostkicker\" \/>\n<meta property=\"article:published_time\" content=\"2022-02-23T07:09:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-05-17T06:08:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/MicrosoftTeams-image-44.png\" \/>\n\t<meta property=\"og:image:width\" content=\"693\" \/>\n\t<meta property=\"og:image:height\" content=\"511\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Olivia Smith\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Olivia Smith\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-401-error-in-wordpress\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-401-error-in-wordpress\\\/\"},\"author\":{\"name\":\"Olivia Smith\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/person\\\/f06306b595baa96c90a0491b941d7660\"},\"headline\":\"How to Fix the 401 Error in WordPress\",\"datePublished\":\"2022-02-23T07:09:17+00:00\",\"dateModified\":\"2022-05-17T06:08:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-401-error-in-wordpress\\\/\"},\"wordCount\":1215,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-401-error-in-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/MicrosoftTeams-image-44.png\",\"articleSection\":[\"Wp tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-401-error-in-wordpress\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-401-error-in-wordpress\\\/\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-401-error-in-wordpress\\\/\",\"name\":\"How to Fix the 401 Error in WordPress - Hostkicker\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-401-error-in-wordpress\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-401-error-in-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/MicrosoftTeams-image-44.png\",\"datePublished\":\"2022-02-23T07:09:17+00:00\",\"dateModified\":\"2022-05-17T06:08:33+00:00\",\"description\":\"401 errors are shown by a message 'Access is denied due to invalid credentials' or 'Authorization required.' To Fix the 401 Error in WordPress, use FTP to connect\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-401-error-in-wordpress\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-401-error-in-wordpress\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-401-error-in-wordpress\\\/#primaryimage\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/MicrosoftTeams-image-44.png\",\"contentUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/MicrosoftTeams-image-44.png\",\"width\":693,\"height\":511,\"caption\":\"401 errors are shown by a message 'Access is denied due to invalid credentials' or 'Authorization required.' To Fix the 401 Error in WordPress, use FTP to connect\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-401-error-in-wordpress\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Fix the 401 Error in WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\",\"name\":\"Hostkicker\",\"description\":\"Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\",\"name\":\"Hostkicker\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-logo-01.png\",\"contentUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-logo-01.png\",\"width\":940,\"height\":218,\"caption\":\"Hostkicker\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/person\\\/f06306b595baa96c90a0491b941d7660\",\"name\":\"Olivia Smith\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"caption\":\"Olivia Smith\"},\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/author\\\/olivia\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Fix the 401 Error in WordPress - Hostkicker","description":"401 errors are shown by a message 'Access is denied due to invalid credentials' or 'Authorization required.' To Fix the 401 Error in WordPress, use FTP to connect","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:\/\/hostkicker.com\/blog\/how-to-fix-the-401-error-in-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"How to Fix the 401 Error in WordPress","og_description":"401 errors are shown by a message 'Access is denied due to invalid credentials' or 'Authorization required.' To Fix the 401 Error in WordPress, use FTP to connect","og_url":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-401-error-in-wordpress\/","og_site_name":"Hostkicker","article_published_time":"2022-02-23T07:09:17+00:00","article_modified_time":"2022-05-17T06:08:33+00:00","og_image":[{"width":693,"height":511,"url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/MicrosoftTeams-image-44.png","type":"image\/png"}],"author":"Olivia Smith","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Olivia Smith","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-401-error-in-wordpress\/#article","isPartOf":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-401-error-in-wordpress\/"},"author":{"name":"Olivia Smith","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/person\/f06306b595baa96c90a0491b941d7660"},"headline":"How to Fix the 401 Error in WordPress","datePublished":"2022-02-23T07:09:17+00:00","dateModified":"2022-05-17T06:08:33+00:00","mainEntityOfPage":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-401-error-in-wordpress\/"},"wordCount":1215,"commentCount":0,"publisher":{"@id":"https:\/\/hostkicker.com\/blog\/#organization"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-401-error-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/MicrosoftTeams-image-44.png","articleSection":["Wp tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hostkicker.com\/blog\/how-to-fix-the-401-error-in-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-401-error-in-wordpress\/","url":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-401-error-in-wordpress\/","name":"How to Fix the 401 Error in WordPress - Hostkicker","isPartOf":{"@id":"https:\/\/hostkicker.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-401-error-in-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-401-error-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/MicrosoftTeams-image-44.png","datePublished":"2022-02-23T07:09:17+00:00","dateModified":"2022-05-17T06:08:33+00:00","description":"401 errors are shown by a message 'Access is denied due to invalid credentials' or 'Authorization required.' To Fix the 401 Error in WordPress, use FTP to connect","breadcrumb":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-401-error-in-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hostkicker.com\/blog\/how-to-fix-the-401-error-in-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-401-error-in-wordpress\/#primaryimage","url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/MicrosoftTeams-image-44.png","contentUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/MicrosoftTeams-image-44.png","width":693,"height":511,"caption":"401 errors are shown by a message 'Access is denied due to invalid credentials' or 'Authorization required.' To Fix the 401 Error in WordPress, use FTP to connect"},{"@type":"BreadcrumbList","@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-401-error-in-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hostkicker.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Fix the 401 Error in WordPress"}]},{"@type":"WebSite","@id":"https:\/\/hostkicker.com\/blog\/#website","url":"https:\/\/hostkicker.com\/blog\/","name":"Hostkicker","description":"Blog","publisher":{"@id":"https:\/\/hostkicker.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hostkicker.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hostkicker.com\/blog\/#organization","name":"Hostkicker","url":"https:\/\/hostkicker.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-logo-01.png","contentUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-logo-01.png","width":940,"height":218,"caption":"Hostkicker"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/person\/f06306b595baa96c90a0491b941d7660","name":"Olivia Smith","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","caption":"Olivia Smith"},"url":"https:\/\/hostkicker.com\/blog\/author\/olivia\/"}]}},"jetpack_featured_media_url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/MicrosoftTeams-image-44.png","_links":{"self":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/1349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/comments?post=1349"}],"version-history":[{"count":4,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/1349\/revisions"}],"predecessor-version":[{"id":1732,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/1349\/revisions\/1732"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/media\/1366"}],"wp:attachment":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/media?parent=1349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/categories?post=1349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/tags?post=1349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}