How to Update WordPress Automatically Without Using FTP

In some cases, you are not able to update or upgrade your WordPress and plugins to a newer version without providing your FTP connection information. This is a common issue whereby the WordPress system can not write to your /wp-content folder directly.
 
You can follow these simple steps to resolve it:
1) Open your /wp-config.php file.

Now the first thing you need to do is to open the wp-config.php file from your WordPress root folder.
 
2) Insert FS_METHOD

Paste the following code to your wp-config.php file, preferably just below every other line of the code.
 
define('FS_METHOD','direct');
/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');
/** Sets up 'direct' method for wordpress, auto update without ftp */
define('FS_METHOD','direct');
 
3.) Save and upload

When you have already pasted the one-line code, you can proceed to upload the file to your WordPress root folder on your server, and it should work right away. Uploading can be done directly from your web hosting control panel.
 
Sets up 'direct' method for wordpress, auto update without ftp.
  • 5 Usuários acharam útil
Esta resposta lhe foi útil?

Artigos Relacionados

How to Access the WordPress Admin Dashboard

WordPress is an easy to work with CMS software. To access a WordPress account, please follow...

How to Remove Sample Comments and Posts From WordPress

You get sample comments and posts in a fresh WordPress install. You can easily remove them in the...

How to Write and Publish Your First Blog Post in WordPress

Writing your first blog post is a fascinating thing. Follow the steps below to do so in...

How to Remove a Post in WordPress

You can remove the published or draft post in WordPress.1. Log in to the WordPress dashboard. 2....

How to Bulk Delete Posts in WordPress

It is possible to delete posts in bulk using WordPress. You can also delete selected posts in...