How to Update WordPress Automatically Without Using FTP

The latest versions of wordpress can enable you to update your CMS without having to download and upload anything to your server or even providing your FTP credentials to the wordpress engine.

In some cases however, you are not able to update/upgrade your WordPress and plugins to a newer version without providing your FTP connection information. The common icause for this is that the WordPress CMS can’t write to your /wp-contentfolder directly.

To solve this issue you need to:

1. Open /wp-config.php

Now the first thing you need to do is to open the wp-config.php file from your WordPress root folder (you may access this file from your wordpress root folder). From the installation folder, the file is located at wordpress/wp-config.php

2. Insert FS_METHOD

Paste the following code to your wp-config.php file, preferably just below every other line of code.

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 host control panel.

  • 0 utilizatori au considerat informaţia utilă
Răspunsul a fost util?

Articole similare

How Can I Restore a Fantastico Backup?

Create/Restore Backup with cPanel Backups The easiest way to manage Fantastico backups is via...

How to view hidden files in Cpanel

Hidden Files in Cpanel To increase your site security, some files may be hidden. There is an...

How to Install WHMCS

WHMCS is an all-in-one client management, billing & support solution for online...

Step by step Guide: How to Upload a File using the File Manager

You can upload your files directly through cPanel using the File Manager. File Manager is a web...

How to Find the URL of a File

If you want to share a web file with friends or the public, you first need to determine the path...

Powered by WHMCompleteSolution