> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.xynta.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# WordPress Website Optimization

||| ℹ️ **Important:** This article applies to our Web, WordPress and Reseller Hosting packages.
---

### Optimizing your WordPress website

There are several ways to optimize your WordPress website for faster loading and better handling of simultaneous visitors. Below are a number of easy-to-implement tips:

* **Use a recent PHP version:**
  PHP 7 is much faster than PHP 5, and PHP 8 is even faster than PHP 7. Always use the second most recent PHP version.  
  More info: [Changing PHP version (Web- and Reseller Hosting)](/en/article/change-php-version-j0qebp/) or [Changing PHP version (WordPress Hosting)](/en/article/changing-the-php-version-on-wordpress-hosting-1lhvv0m/).

* **Optimize your PHP settings:**
  Recommended settings:  
  
* `max_input_vars`: 5000
* `memory_limit`: 512M
* `post_max_size`: 128M
* `upload_max_filesize`: 128M
  Also ensure the `redis` and `opcache` extensions are enabled.

* **Use (server-side) caching:**
  Install [LiteSpeed Cache](/en/article/installing-litespeed-cache-on-your-wordpress-website-txqx7o/) if supported, otherwise use [W3 Total Cache](/en/article/installing-and-configuring-w3-total-cache-157zq9k/).

* **Limit the number of plugins:**
  Ideally, use no more than 25 plugins. Remove unused plugins and select well-maintained ones.

* **Optimize your database:**
  Clean up old data and regularly optimize the database.  
  More info: [Database optimization (Web- and Reseller Hosting)](/en/article/optimize-a-database-1gwkqne/).

* **Keep WordPress, themes, and plugins updated:**
  Regular updates not only enhance security but also improve performance.

* **Check log files for errors:**
  Errors can significantly slow down your site. Check and resolve them.  
  More info: [Viewing log files (Web- and Reseller Hosting)](/en/article/viewing-domain-log-files-lagjs7/) or [Viewing log files (WordPress Hosting)](/en/article/viewing-log-files-on-wordpress-hosting-wlr9c5/).

* **Disable WP_CRON:**
  Configure WP_CRON as a real cronjob to reduce server load.  
  More info: [Disabling WP_CRON for better performance](/en/article/disabling-wp-cronphp-for-better-performance-1jr8jpo/).

* **Choose a lightweight and well-maintained theme:**
  Paid themes (e.g., via ThemeForest) often offer better support and performance.

||| 📌 **Important:**

* If you have a WordPress Hosting package with us, many optimizations are already applied by default.
* If you need help optimizing your website, feel free to contact us.
