{"id":3701,"date":"2021-01-15T18:52:57","date_gmt":"2021-01-15T13:22:57","guid":{"rendered":"https:\/\/seoneurons.com\/blog\/?p=3701"},"modified":"2023-05-29T00:58:09","modified_gmt":"2023-05-28T19:28:09","slug":"solve-ftp-credentials-error","status":"publish","type":"wordpress","link":"https:\/\/seoneurons.com\/blog\/wordpress\/solve-ftp-credentials-error\/","title":{"rendered":"Solve WordPress asking for FTP credentials during plugin or theme installation."},"content":{"rendered":"\n<p>While installing a plugin or theme in WordPress on localhost, an FTP credentials error occurred? This is the file transfer protocol error, asking FTP login details to install a plugin or theme. Let&#8217; solve this issue with a simple line.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"720\" src=\"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/wordpress-asking-ftp-credentials.png\" alt=\"WordPress FTP credentials\" class=\"wp-image-3709\" srcset=\"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/wordpress-asking-ftp-credentials.png 1280w, https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/wordpress-asking-ftp-credentials-300x169.png 300w, https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/wordpress-asking-ftp-credentials-1024x576.png 1024w, https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/wordpress-asking-ftp-credentials-768x432.png 768w, https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/wordpress-asking-ftp-credentials-390x220.png 390w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><figcaption>WordPress FTP credentials<\/figcaption><\/figure>\n\n\n\n<p>WordPress may ask for the FTP server name, user name, and password while installing a plugin or theme. We can&#8217;t provide these details every time we install a plugin or theme. This usually occurs when we <a href=\"https:\/\/seoneurons.com\/blog\/bitnami\/multiple-wordpress-single-server-vm-bitnami-nginx\/\">install multiple WordPress on a single VM<\/a>. Here is how we can solve this issue.<\/p>\n\n\n\n\t\t<div class=\"stream-item stream-item-in-post stream-item-in-post-1\">\n\t\t<\/div>\n\t\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-solve-wordpress-ftp-credentials-issue\">Solve WordPress FTP credentials issue<\/h2>\n\n\n\n<p>The solution to this problem is straightforward. You can solve this problem by adding a code line into <strong>wp-config.php<\/strong>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>define('FS_METHOD','direct');<\/code><\/pre>\n\n\n\n<p>You&#8217;ve to copy the above line and paste it into the <strong>wp-config.php<\/strong> file of WordPress CMS. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1018\" height=\"463\" src=\"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/wp-config-php-ftp-error.png\" alt=\"WordPress wp-config.php ftp credentials error solution\" class=\"wp-image-3707\" srcset=\"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/wp-config-php-ftp-error.png 1018w, https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/wp-config-php-ftp-error-300x136.png 300w, https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/wp-config-php-ftp-error-768x349.png 768w\" sizes=\"auto, (max-width: 1018px) 100vw, 1018px\" \/><figcaption>wp-config.php FTP credentials error<\/figcaption><\/figure><\/div>\n\n\n\n<p>You can edit it using file explorer in the cPanel of your hosting or SSH terminal in cloud hosting.<\/p>\n\n\n\n<p>That&#8217;s it, Save this file, and this will solve the WordPress credentials error issue.<\/p>\n\n\n\n<p>Now visit your website, refresh the installation page. You can install all themes or plugins with a single click.<\/p>\n\n\n\n<p>If you liked the above article, Subscribe to Us via email to get more tips like this. In case of any doubt, feel free to ask in the comment section provided below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While installing a plugin or theme in WordPress on localhost, an FTP credentials error occurred? This is the file transfer protocol error, asking FTP login details to install a plugin or theme. Let&#8217; solve this issue with a simple line. WordPress FTP credentials WordPress may ask for the FTP server name, user name, and password &hellip;<\/p>\n","protected":false},"author":2,"featured_media":3709,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"parentpage":[956],"class_list":["post-3701","wordpress","type-wordpress","status-publish","format-standard","has-post-thumbnail","hentry","parentpage-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Solve WordPress asking FTP credentials issue<\/title>\n<meta name=\"description\" content=\"Learn How to Solve WordPress FTP Credentials Error caused due to server configuration. The problem in installing plugins or WordPress theme files.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/seoneurons.com\/blog\/wordpress\/solve-ftp-credentials-error\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Solve WordPress asking for FTP credentials during plugin or theme installation.\" \/>\n<meta property=\"og:description\" content=\"Learn How to Solve WordPress FTP Credentials Error caused due to server configuration. The problem in installing plugins or WordPress theme files.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/seoneurons.com\/blog\/wordpress\/solve-ftp-credentials-error\/\" \/>\n<meta property=\"og:site_name\" content=\"SEO Neurons\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/SEONeuronsAgency\/\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-28T19:28:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/wordpress-asking-ftp-credentials.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@SEONeurons\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/wordpress\\\/solve-ftp-credentials-error\\\/\",\"url\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/wordpress\\\/solve-ftp-credentials-error\\\/\",\"name\":\"How to Solve WordPress asking FTP credentials issue\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/wordpress\\\/solve-ftp-credentials-error\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/wordpress\\\/solve-ftp-credentials-error\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/wordpress-asking-ftp-credentials.png\",\"datePublished\":\"2021-01-15T13:22:57+00:00\",\"dateModified\":\"2023-05-28T19:28:09+00:00\",\"description\":\"Learn How to Solve WordPress FTP Credentials Error caused due to server configuration. The problem in installing plugins or WordPress theme files.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/wordpress\\\/solve-ftp-credentials-error\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/seoneurons.com\\\/blog\\\/wordpress\\\/solve-ftp-credentials-error\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/wordpress\\\/solve-ftp-credentials-error\\\/#primaryimage\",\"url\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/wordpress-asking-ftp-credentials.png\",\"contentUrl\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/wordpress-asking-ftp-credentials.png\",\"width\":1280,\"height\":720,\"caption\":\"WordPress FTP credentials\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/wordpress\\\/solve-ftp-credentials-error\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/seoneurons.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Solve WordPress asking for FTP credentials during plugin or theme installation.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/\",\"name\":\"SEO Neurons\",\"description\":\"Create, Optimize Website and Drive More Organic Traffic\",\"publisher\":{\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/#organization\"},\"alternateName\":\"SEO Neurons\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/#organization\",\"name\":\"SEO Neurons\",\"alternateName\":\"SEO Neurons\",\"url\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/seoneurons-logo.svg\",\"contentUrl\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/seoneurons-logo.svg\",\"width\":1,\"height\":1,\"caption\":\"SEO Neurons\"},\"image\":{\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/SEONeuronsAgency\\\/\",\"https:\\\/\\\/x.com\\\/SEONeurons\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/seoneurons\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/SEONeurons\",\"https:\\\/\\\/www.instagram.com\\\/seo_neurons\\\/\",\"https:\\\/\\\/t.me\\\/SEONeurons\"],\"legalName\":\"SEO Neurons\",\"foundingDate\":\"2021-01-21\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"1\",\"maxValue\":\"10\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Solve WordPress asking FTP credentials issue","description":"Learn How to Solve WordPress FTP Credentials Error caused due to server configuration. The problem in installing plugins or WordPress theme files.","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:\/\/seoneurons.com\/blog\/wordpress\/solve-ftp-credentials-error\/","og_locale":"en_US","og_type":"article","og_title":"Solve WordPress asking for FTP credentials during plugin or theme installation.","og_description":"Learn How to Solve WordPress FTP Credentials Error caused due to server configuration. The problem in installing plugins or WordPress theme files.","og_url":"https:\/\/seoneurons.com\/blog\/wordpress\/solve-ftp-credentials-error\/","og_site_name":"SEO Neurons","article_publisher":"https:\/\/www.facebook.com\/SEONeuronsAgency\/","article_modified_time":"2023-05-28T19:28:09+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/wordpress-asking-ftp-credentials.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_site":"@SEONeurons","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/seoneurons.com\/blog\/wordpress\/solve-ftp-credentials-error\/","url":"https:\/\/seoneurons.com\/blog\/wordpress\/solve-ftp-credentials-error\/","name":"How to Solve WordPress asking FTP credentials issue","isPartOf":{"@id":"https:\/\/seoneurons.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/seoneurons.com\/blog\/wordpress\/solve-ftp-credentials-error\/#primaryimage"},"image":{"@id":"https:\/\/seoneurons.com\/blog\/wordpress\/solve-ftp-credentials-error\/#primaryimage"},"thumbnailUrl":"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/wordpress-asking-ftp-credentials.png","datePublished":"2021-01-15T13:22:57+00:00","dateModified":"2023-05-28T19:28:09+00:00","description":"Learn How to Solve WordPress FTP Credentials Error caused due to server configuration. The problem in installing plugins or WordPress theme files.","breadcrumb":{"@id":"https:\/\/seoneurons.com\/blog\/wordpress\/solve-ftp-credentials-error\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/seoneurons.com\/blog\/wordpress\/solve-ftp-credentials-error\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/seoneurons.com\/blog\/wordpress\/solve-ftp-credentials-error\/#primaryimage","url":"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/wordpress-asking-ftp-credentials.png","contentUrl":"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/wordpress-asking-ftp-credentials.png","width":1280,"height":720,"caption":"WordPress FTP credentials"},{"@type":"BreadcrumbList","@id":"https:\/\/seoneurons.com\/blog\/wordpress\/solve-ftp-credentials-error\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/seoneurons.com\/"},{"@type":"ListItem","position":2,"name":"Blog","item":"https:\/\/seoneurons.com\/blog\/"},{"@type":"ListItem","position":3,"name":"Solve WordPress asking for FTP credentials during plugin or theme installation."}]},{"@type":"WebSite","@id":"https:\/\/seoneurons.com\/blog\/#website","url":"https:\/\/seoneurons.com\/blog\/","name":"SEO Neurons","description":"Create, Optimize Website and Drive More Organic Traffic","publisher":{"@id":"https:\/\/seoneurons.com\/blog\/#organization"},"alternateName":"SEO Neurons","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/seoneurons.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/seoneurons.com\/blog\/#organization","name":"SEO Neurons","alternateName":"SEO Neurons","url":"https:\/\/seoneurons.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/seoneurons.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2023\/06\/seoneurons-logo.svg","contentUrl":"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2023\/06\/seoneurons-logo.svg","width":1,"height":1,"caption":"SEO Neurons"},"image":{"@id":"https:\/\/seoneurons.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/SEONeuronsAgency\/","https:\/\/x.com\/SEONeurons","https:\/\/www.linkedin.com\/company\/seoneurons","https:\/\/www.youtube.com\/c\/SEONeurons","https:\/\/www.instagram.com\/seo_neurons\/","https:\/\/t.me\/SEONeurons"],"legalName":"SEO Neurons","foundingDate":"2021-01-21","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"1","maxValue":"10"}}]}},"_links":{"self":[{"href":"https:\/\/seoneurons.com\/blog\/wp-json\/wp\/v2\/wordpress\/3701","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/seoneurons.com\/blog\/wp-json\/wp\/v2\/wordpress"}],"about":[{"href":"https:\/\/seoneurons.com\/blog\/wp-json\/wp\/v2\/types\/wordpress"}],"author":[{"embeddable":true,"href":"https:\/\/seoneurons.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/seoneurons.com\/blog\/wp-json\/wp\/v2\/comments?post=3701"}],"version-history":[{"count":0,"href":"https:\/\/seoneurons.com\/blog\/wp-json\/wp\/v2\/wordpress\/3701\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/seoneurons.com\/blog\/wp-json\/wp\/v2\/media\/3709"}],"wp:attachment":[{"href":"https:\/\/seoneurons.com\/blog\/wp-json\/wp\/v2\/media?parent=3701"}],"wp:term":[{"taxonomy":"parentpage","embeddable":true,"href":"https:\/\/seoneurons.com\/blog\/wp-json\/wp\/v2\/parentpage?post=3701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}