Skip to main content
All CollectionsWebsiteWebsite Optimization
How to Fix an Overloaded WordPress Website
How to Fix an Overloaded WordPress Website

Fixing a slow or overloaded website built using WordPress

Updated over a week ago

As your website attracts more traffic, you may start to experience performance issues such as slow page loading times or even site crashes. This can be caused by an overloaded WordPress site, which is when the site's resources are used near or beyond the limits. To fix this, you can find here ten suggestions that can help improve your WordPress website performance:

Install Only the Necessary Plugins

Since each plugin consumes resources, the more plugins you have, the higher the resource your website requires. It is highly recommended that you only install plugins that are absolutely necessary for your website. If you have too many plugins installed, remove the ones you no longer need or look for smaller alternatives.

You can find out more about it in this tutorial: How Many Plugins Are Ideal for Your Site?

Keep Plugins and Themes up to Date

Outdated code or scripts in plugins and themes can make them stop working optimally, which may cause errors or security issues on your website, so make sure that all the installed themes and plugins are up to date.

Update Plugins

Go to the Plugins section on your WordPress ad

page and update any plugin that indicates that an update is required:

A sample plugin showing how to update from the WordPress Admin page

It can also be the case that the developer is no longer updating the plugin - it is recommended to use only plugins that are regularly updated. You can verify when the plugin was last updated by clicking on View Details:

A sample plugin showing how to view the plugin details from the WordPress Admin page

Take a look at the Last Updated section in the description:

The last updated date for a plugin

If it has been several months ago since it was last updated, you should look for an alternative plugin with a better updating rate.

Update Themes

Same as with plugins, make sure to keep all of your installed themes up to date - not only the theme currently in use. Alternatively, you can uninstall any unused themes.

Go to the Appearance → Themes section on your WordPress admin page and update any theme that indicates that an update is required by clicking on Update now:

The Themes section on WordPress Admin page showing how to update a theme

To check when was the last time a theme was updated, go to the official WordPress Themes page, hover on the theme, and click More Info, you will find the date there:

The Last Updated date on the theme details


Reduce Image Size

Resize and compress any image you upload to your website to make it the optimum size for your need - unnecessary large images require more time to load.

Resize Images

You can use any image editing tool to resize your images. For instance, if you're using Windows, the Paint application has a Resize option:

You will be presented with the option to resize by either percentage or specify a size in pixels. Make the adjustments and click OK when done:

The Resize and Skew options on Windows Paint

Compress Images

Once the image is resized, you can compress it using any of the available online tools, such as TinyJPG. Just upload the image and download the result after the compression process is completed.

Use a Cache Plugin

You can enhance the server's performance and speed up your website by installing a cache plugin. We recommend LiteSpeed Cache, as you can easily enable it by going to WebsitesManage, searching for Overview in the sidebar, and enabling LiteSpeed Cache:

If your hosting plan is Business or greater, you can enable Object Cache as well 😊

Use a Content Delivery Network

You can handle high traffic from around the world on your website using a Content Delivery Network (CDN). A CDN is a network of servers located in different countries that keeps a cached copy of your website and sends it to the nearest visitor from the server.

With a CDN, servers can easily send website data to locations that are far from the original server location, preventing your website from overloading.

Minify Resources

Minification is an action to remove unnecessary characters in the code file such as JavaScript, CSS, and HTML. You can do it using a plugin such as Autoptimize. Once installed, make sure to activate it:

The Autoptimize plugin on the WordPress admin page showing how to activate it

Next, go to the Autoptimize Settings page from the top bar of your WordPress admin page, and enable JavaScript CSS and HTML optimization from the JS, CSS & HTML tab. Just click on the checkmark for each:

The Autoptimize Settings page showing how to enable optimization options

Scroll down to find the option to enable CSS and HTML. Once done, click on Save Changes to apply these settings.

Enable Gzip Compression

Gzip is a data compression algorithm used to reduce the size of files, allowing them to be transmitted or stored more efficiently. You can enable Gzip compression by adding the following lines of code to your website's .htaccess file:

<IfModule mod_filter.c> 
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE “application/atom+xml” \ “application/javascript” \
“application/json” \
“application/ld+json” \
“application/manifest+json” \
“application/rdf+xml” \
“application/rss+xml” \
“application/schema+json” \
“application/vnd.geo+json” \
“application/” \
“application/x-font-ttf” \
“application/x-javascript” \
“application/x-web-appmanifest+json” \
“application/xhtml+xml” \
“application/xml” \
“font/eot” \
“font/opentype” \
“image/bmp” \
“image/svg+xml” \
“image/” \
“image/x-icon” \
“text/cache-manifest” \
“text/css” \
“text/html” \
“text/javascript” \
“text/plain” \
“text/vcard” \
“text/vnd.rim.location.xloc” \
“text/vtt” \
“text/x-component” \
“text/x-cross-domain-policy” \

Once added, click on Save to apply the changes.

Update WordPress to the Latest Version

The WordPress development team is always working to improve it by fixing issues and bugs, enhancing security as well as adding more features, so make sure that you keep WordPress up to date.

Whenever a WordPress version is released, you will be able to update it in a few clicks from your panel. Open Websites Manage and search for Overview on the search bar. Find the update notification on top of the WordPress Overview page and click on the button to Update:

The New WordPress version is available notification showing how to update the WordPress core from hPanel at Hostinger

Your WordPress core will be automatically updated to the latest version!


Optimize the MySQL Database

You can also optimize your MySQL database to prevent your website from overloading. Access your website database using phpMyAdmin and scroll down on the list of tables. Click on Check all to select all the tables, then open the drop-down menu next to it and select Optimize table:

Limit Post Revisions

Post Revisions is a very useful WordPress feature that allows you to undo changes and go back to a previous version of a post. By default, WordPress saves all revisions, which can make the website database heavier as more revisions are stored.

To limit the number of stored revisions, open the File Manager and head to the public_html folder of your website. Next, add the following code to your website's wp-config.php file:

define('WP_POST_REVISIONS', 5);

Where 5 is the number of revisions that will be kept. You can choose to enter any other number, making sure you keep it low for optimal results. The older revisions past this limit will be automatically deleted as newer versions are saved.

That's it! Now you know ten ways to optimize an overloaded website and improve its performance 🚀


Did this answer your question?