Keeping your WordPress installation up to date is crucial for security, performance and access to new features. There are several ways to update WordPress. In this post we will explain the 4 main and most popular ways that exist.
Enjoy the high performance of our Hosting Wordpress, designed to adapt to a wide variety of web projects.
To perform the upgrade, you can use the command line using the WP-CLI tool.
To do this, you will need these prerequisites:
or
ssh usuario@ipdetuservidor
cd /ruta/a/tu/wordpress
Verify the current version of your WordPress installation:
wp core version
Check for updates:
wp core check-update
To do this, use the following command:
wp core update
Then, it also updates the database using:
wp core update-db
wp plugin update --all
wp theme update --all
Start your project with the best CMS to create and manage your website and blog. Your WordPress in a fully scalable and customisable Cloud.
To perform the update, you can use your FTP account and your trusted FTP client to upload the WordPress update file.
To do this, you will need these prerequisites:
Download the latest version of WordPress from the website. Go to https://es.wordpress.org/download/ and click on Descarga WordPress.
Connect to your server using the FTP client. Use your trusted FTP client to access your server or hosting service and navigate to the directory containing your website. Depending on your hosting provider, the directory may vary.
Process and upload the WordPress files: Once you have uploaded the downloaded file from the WordPress website you will need to perform a few additional steps.
Unzip the downloaded file.
_ You will find a folder called wordpress. Access it and delete the wp-config-sample.php file and the wp-content directory to avoid data loss._
Remove and upload the update directories on your website.
Delete the wp-includes and wp-admin directories from your website. Then go back to the wordpress folder you unzipped and upload the wp-includes and wp-admin directories to your website.
Upload the rest of the contents of the wordpress folder to your installation directory.
Overwrite the existing files when prompted.
Upgrade the database:
Go to tusitio.com/wp-admin/upgrade.php and follow the instructions you will see on the screen. Once finished, you will have your WordPress upgraded.
WordPress allows settings for updates to be performed automatically.
wp-config.php file.To do this go to Security -> Settings -> Automatic Updates and enable the Enable Automatic Updates button.
Edit wp-config.php** using the file manager of your hosting service or from your FTP client and add the following line to enable automatic updates:
define('WP_AUTO_UPDATE_CORE', true);
It may sometimes happen that the line is already present but deactivated:
define('WP_AUTO_UPDATE_CORE', false);
Change false to true. Remember to save your changes.
Additional configuration for plugins and themes (optional):
This is the easiest and most recommended method for most users.
Log in to the dashboard:
tusitio.com/wp-admin.
If you use a plugin to change the login link, such as WPS Hide Login, this link may changeGo to 'Desktop' > 'Updates'.
Check for available updates:
Update plugins and themes:
A domain name is the first step to make your project a reality. Enjoy the best domain rates.
Keeping your WordPress site up to date is an essential task to ensure its security and functionality. With these detailed instructions, you can choose the method that best suits your needs and ensure that your site is always in top condition.