{"id":9607,"date":"2023-08-06T18:50:35","date_gmt":"2023-08-06T16:50:35","guid":{"rendered":"https:\/\/via-internet.de\/blog\/?p=9607"},"modified":"2024-08-25T12:03:03","modified_gmt":"2024-08-25T10:03:03","slug":"wordpress-asking-for-ftp-credentials","status":"publish","type":"post","link":"https:\/\/via-internet.de\/blog\/2023\/08\/06\/wordpress-asking-for-ftp-credentials\/","title":{"rendered":"WordPress asking for FTP credentials"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">If you&#8217;re asked to enter your FTP credentials when you try to install or update a plugin or theme in the WordPress dashboard, it&#8217;s because of a specific setting in the wp-config.php file. Follow the steps below to prevent WordPress from displaying this FTP prompt.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Find the folder with your WordPress files and open the <code data-enlighter-language=\"generic\" class=\"EnlighterJSRAW\">wp-config.php<\/code> file.<\/li>\n\n\n\n<li>At the bottom of the <code data-enlighter-language=\"generic\" class=\"EnlighterJSRAW\">wp-config.php<\/code> file, above the line that says&nbsp;<br><code>\/* That's all, stop editing! Happy publishing. *\/<\/code>,<br>add the following lines of code:<\/li>\n<\/ol>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">defined('FS_METHOD')     or define('FS_METHOD', 'direct');\ndefined('FS_CHMOD_DIR')  or define('FS_CHMOD_DIR',0755);\ndefined('FS_CHMOD_FILE') or define('FS_CHMOD_FILE',0644);<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re asked to enter your FTP credentials when you try to install or update a plugin or theme in the WordPress dashboard, it&#8217;s because of a specific setting in the wp-config.php file. Follow the steps below to prevent WordPress from displaying this FTP prompt.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[89],"tags":[],"class_list":["post-9607","post","type-post","status-publish","format-standard","hentry","category-wordpress"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/posts\/9607","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/comments?post=9607"}],"version-history":[{"count":4,"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/posts\/9607\/revisions"}],"predecessor-version":[{"id":10279,"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/posts\/9607\/revisions\/10279"}],"wp:attachment":[{"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/media?parent=9607"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/categories?post=9607"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/tags?post=9607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}