WordPress on Shared Hosting: Practical Performance Checklist

Shared hosting is not slow by default. Most WordPress performance issues come from incorrect settings, not from the hosting itself. This checklist focuses on actions you can actually take inside cPanel and WordPress to get the best possible performance without changing the hosting plan.

Table of Contents

  1. PHP Configuration

  2. WordPress Caching

  3. Database Optimization

  4. Media and File Handling

  5. Common Mistakes


1. PHP Configuration (cPanel)

Open cPanel → MultiPHP Manager and verify:

  • PHP version: 8.1 or 8.2
    Older versions severely impact performance and security.

  • PHP handler: FPM / LSAPI (if available)

  • Apply PHP version to the entire domain

Then go to MultiPHP INI Editor and set:

memory_limit = 256M
max_execution_time = 120
max_input_time = 120
upload_max_filesize = 64M
post_max_size = 64M

Verification:

  • Create a phpinfo.php file

  • Confirm values are applied correctly


2. WordPress Caching (Mandatory)

If your hosting provides LiteSpeed:

  • Install LiteSpeed Cache

  • Enable:

    • Page Cache

    • Browser Cache

    • Object Cache (if Redis is available)

If LiteSpeed is NOT available:

  • Use WP Fastest Cache or WP Rocket

  • Enable:

    • HTML cache

    • GZIP compression

    • Browser caching

Never enable multiple cache plugins at once.


3. Database Optimization

Inside WordPress:

  • Install WP-Optimize

  • Run:

    • Post revisions cleanup

    • Transient cleanup

    • Database optimization

Recommended schedule:

  • Once per month

Avoid plugins that run optimization on every page load.


4. Media and File Handling

Checklist:

  • Convert images to WebP

  • Maximum image width: 1920px

  • Disable hotlinking in cPanel (Security → Hotlink Protection)

File permissions:

Folders: 755
Files: 644
wp-config.php: 640

5. Common Mistakes

  • Using page builders on every page

  • Too many plugins doing the same job

  • Old PHP versions kept for “compatibility”

  • No caching because “shared hosting is slow anyway”

Shared hosting works well if configured correctly.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *