How To Update WordPress Automatically Without Using FTP
In my previous post I featured a tutorial on how you can upgrade your WordPress version using SSH (Secured Shell) protocol. Well, guess what? I found another great alternative for you to consider in updating your WordPress and its plugins to a newer version.
What makes this different from the previous one I posted is that this one involves fewer coding. If you look at the previous technique now, you’ll see that it requires you to key in several commands. This method however, only requires you to key in just ONE (1) command.
There are some cases wherein you’re unable to update unless you provide your FTP connection information. To solve this, you’d need to define your FTP details in your wp-config.php or provide WordPress with write access to your /wp-content folder by accessing the FTP root file.
This method will make the whole thing much easier. What we’ll do is we’re going to define the constant, FS_METHOD in the wp-config.php file. This is to bypass WordPress’ recurring prompts, and to allow auto-updating of your files.
Step 1: Open /wp-config.php
You can access this file from your WordPress root folder (the folder where the WordPress’ installer is located).
Step 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');
It will look something like this:
Step 3: Save and Upload
Once you 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.
Using this method will enable you to update or upgrade your WordPress and plugins without having to provide any FTP details. In addition, the FTP issue is said to happen normally when you’re on a shared hosting and when WordPress is having a conflict with permissions and ownerships. Credits to Mustaza Mustafa for sharing this helpful tip!
Incoming search terms for the article:
- wordpress update without ftp
- update wordpress without ftp
- upgrade wordpress directly through ftp
- wordpress auto update without ftp
- wordpress bypass ftp downloads
- wordpress ftp access install plugins update
- wordpress ftp upload bypass
- wordpress tutorial plugin automatic update
- wordpress update bypass ftp
- wordpress update ftp
1 Comment
Jessica
06.18.2012
Ah! Thanks a bunch!
There are no trackbacks to display at this time.