{"id":212,"date":"2009-08-12T14:13:43","date_gmt":"2009-08-12T13:13:43","guid":{"rendered":"http:\/\/gavtaylor.co.uk\/blog\/?p=212"},"modified":"2010-12-31T11:56:20","modified_gmt":"2010-12-31T11:56:20","slug":"configure-wordpress-to-store-ftp-details","status":"publish","type":"post","link":"https:\/\/gavtaylor.uk\/blog\/configure-wordpress-to-store-ftp-details","title":{"rendered":"Configure WordPress to store FTP details"},"content":{"rendered":"<p>Hate having to type your server FTP details when upgrading WordPress? Would you like WordPress to remember your FTP login details? then read on&#8230;<\/p>\n<p>Anybody familiar with WordPress will know that when adding\/removing or upgrading any of your  plug-ins, even upgrading the WordPress itself, you are prompted for the FTP connection details for your server, while not a big or frustrating step, it can be a pain if you don&#8217;t have the details to hand or want others to install plugins or be able to upgrade your blog to ensure its secure but not give them the login details for the server.<\/p>\n<p>The answer is surprisingly a simple one, you don&#8217;t need to install one of the various FTP Saver plug-ins and spend hours trawling through the code, and any updates, to check your details will be secure, all you have to do is add a few extra lines to your wp-config.php file by defining the connection details, WordPress will do the rest.<\/p>\n<p>The constants should be defines as follows,<\/p>\n<p><code> \/**  Store Server FTP Details  *\/<br \/>\ndefine(\"FTP_HOST\", \"domain.tld\");<br \/>\ndefine(\"FTP_USER\", \"username\");<br \/>\ndefine(\"FTP_PASS\", \"password\");<br \/>\n<\/code><\/p>\n<p>Once you have saved the config file, all you need to do is test it&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hate having to type your server FTP details when upgrading WordPress? Would you like WordPress to remember your FTP login details? then read on&#8230; Anybody familiar with WordPress will know that when adding\/removing or upgrading any of your plug-ins, even upgrading the WordPress itself, you are prompted for the FTP connection details for your server, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[41,140],"tags":[107],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"_links":{"self":[{"href":"https:\/\/gavtaylor.uk\/blog\/wp-json\/wp\/v2\/posts\/212"}],"collection":[{"href":"https:\/\/gavtaylor.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gavtaylor.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gavtaylor.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gavtaylor.uk\/blog\/wp-json\/wp\/v2\/comments?post=212"}],"version-history":[{"count":6,"href":"https:\/\/gavtaylor.uk\/blog\/wp-json\/wp\/v2\/posts\/212\/revisions"}],"predecessor-version":[{"id":510,"href":"https:\/\/gavtaylor.uk\/blog\/wp-json\/wp\/v2\/posts\/212\/revisions\/510"}],"wp:attachment":[{"href":"https:\/\/gavtaylor.uk\/blog\/wp-json\/wp\/v2\/media?parent=212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gavtaylor.uk\/blog\/wp-json\/wp\/v2\/categories?post=212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gavtaylor.uk\/blog\/wp-json\/wp\/v2\/tags?post=212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}