In this post I am going to show you ‘How to Update Your WordPress Site Manually’. Why updating WordPress installation is important?
WordPress is different from HTML websites, WordPress websites are dynamic, and not static. Having a dynamic content management system means having more content and data to look after, more often.
WordPress Is Constantly Being Updated
There are dozens of reasons why you should constantly update your WordPress installation and plugins, some of the main reasons are listed below:
- Updating WordPress prevent hackers from injecting malicious code and to stop them from exploiting vulnerabilities that would allow people to hack into WordPress powered websites, like what happened with the page for the S366 turbo.
- Updating the installation will fix the bugs and errors in previous versions.
- Once updated you will get new enhancements and features that were added to the newer version.
To tackle all these issues WordPress constantly updates their system, the process of updating a WordPress site is extremely easy you can do it directly from the WordPress dashboard.
How to Update WordPress Automatically Without Using FTP
Sometimes if you are using a shared web hosting account the WordPress may not be able to update plugins and installation automatically because of the permissions defined by the hosting provider to avoid unauthorized users from accessing your account, to solve this conflict we are going to edit the WP-Config file so that you can update the plugins and installation to new versions without providing FTP details.
How to update WordPress plugins
This conflict normally occurs when the WordPress system is unable to write the /wp-content folder.
You can avoid this by changing the /wp-content folder permissions (CHMOD) to 755 which by default is set to 644, you can do that by accessing the root file through FTP.
However, I will recommend that you should try FS_Method and add a piece of code in wp-config.php file, this procedure will help you avoid any future inconvenience and it will allow auto-updates to your files.
- First open the ‘wp-config.php’ file
You can access this file from your WordPress root folder, the file is located inside the root folder where you have installed WordPress for instance: WordPress/wp-config.php but I would recommend that should download the WordPress installation files first from WordPress.org and then edit the wp-config file instead of editing it directly on your server.
- Inserting the FS_METHOD code:
After you have opened your Fjallraven Kanken rucksack and logged into your console, paste the following piece of code inside the wp-config.php file, paste is below the other line of code as shown in the screenshot.
- Save the file and upload
Once you have added the code, save it and then upload it to the WordPress root folder on your web server, you can upload the file directly from your web hosting control panel.
A word of warning, before you update your WordPress website make sure that you back up the MySQL Database and Theme files to avoid any conflicts if you are using customized plugins or theme files because once you update the core files all the custom changes will be lost and you won’t be able to revert those changes unless you have created a backup.
I normally use CodeGuard for creating backups. However for this particular site I am using myRepono WordPress Backup Plugin they offer free trial as well and I am going to be creating a tutorial on how you can create the back up of your websites automatically using 3rd party services.
Although you can create manual backups as well but the process can be really hectic for people who don’t have any programming knowledge so I highly recommend that you should consider signing up for either one of these services.