Skip to content
xYnta
Go to websitexynta.com
Search
EN

Optimising your WordPress website

Updated on

A fast WordPress website loads more quickly for your visitors and can handle more visitors at the same time. With the tips below you get the most out of it.

Use a recent PHP version

Every new main version of PHP is faster than the previous one: PHP 8 is faster than PHP 7. We recommend the second most recent PHP version. See Changing the PHP version.

Set up PHP properly

These settings work well for most WordPress websites:

settingvalue
max_input_vars5000
memory_limit512M
post_max_size128M
upload_max_filesize128M

Also switch on the redis and opcache PHP extensions.

  • With Web Hosting and Reseller Hosting you change the settings yourself: see Changing PHP settings.
  • With WordPress Hosting, memory_limit is already set to 512M. If you want a different value, for example for max_input_vars (1000 by default), contact us.

Use caching

All our hosting packages run on LiteSpeed web servers. So use the LiteSpeed Cache plugin: see Installing LiteSpeed Cache on your WordPress website. W3 Total Cache is an alternative for servers without LiteSpeed (see Installing and configuring W3 Total Cache); do not use two caching plugins at the same time.

Limit the number of plugins

We recommend no more than 25 plugins. Delete plugins you do not use, and choose plugins that are well maintained.

Keep the database clean

Clean up old data and optimise your database regularly. With Web Hosting and Reseller Hosting you can do this in DirectAdmin: see Optimising a database. The LiteSpeed Cache plugin also has a Database section for it.

Update WordPress, themes and plugins

Updates not only improve security but often speed as well. See Setting up automatic updates.

Fix errors

Errors can slow your website down. Check the log files for errors and fix them. See Viewing the log files of a domain name.

Run wp-cron.php from a cron job

By default, WordPress runs scheduled tasks on every visit. Have a cron job do this instead, and the load on the server goes down. See Disabling wp-cron.php for better performance.

Choose a light, well-maintained theme

A light theme that is updated regularly loads faster. Paid themes (for example via ThemeForest) often offer better support and speed.

WordPress Hosting and help

With WordPress Hosting, we optimise your WordPress website free of charge after your order: we set up the LiteSpeed Cache plugin and you receive a speed report (see WordPress Hosting). In addition, the WordPress support of your package helps with questions about your website, up to a maximum of 30 minutes per month; it is not a guaranteed managed service. With the other packages, you can engage a specialist through our support services.

Related articles