Wordpress Tutorial

10 Tips To Optimize WordPress And Increase The Speed of Your Website

My name is Thalib Tantary , I am a web designer specialized in WordPress and I have prepared an article with which, in my experience, are the 10 best actions of easy implementation to optimize and increase the speed of WordPress.

Of course, before starting, I would like to thank both Jaime and Jorge the opportunity to publish my knowledge in this wonderful blog to which I owe so much and that has helped me so many times.

Now, I do not roll up more … Let’s acerlerar these webs!

Nowadays, creating a blog or web with WordPress is really simple and almost anyone can do it.

You hire a cheap hosting, download any theme, you install plugins to add any detail and in just a few hours, you will have your website ready and running.

The problem comes, when time passes, and you see that you hardly receive visitors.

This may be due to several problems, for example that you should make some improvements in SEO  or web positioning , but almost certainly, another of the things that you must improve for your website to take off, is the loading speed.

Increasingly, it is a determining factor not only in the visibility but also in the usability of your website, so in this article we will see 10 tips to accelerate WordPress :

01 ➤ Choose A Good Web Hosting  

Almost with total security, one of the factors that have more impact on the speed of any web page is the server or hosting where it is hosted.

It is normal that when we start a project, we look for the cheapest hosting  that we can afford, but in the long run, it is definitely worth investing a little more money in this section and hire a quality hosting that guarantees you not only in speed if not also in security and support.

More and more companies offer hosting packages optimized for this CMS, which for a few euros / dollars per month, leave you the server with everything ready to start your website.

This is especially useful, especially if you do not know how to install WordPress  automatically  step by step with a couple of clicks, make backups automatically and many other things.

To start a web project, without getting too technical, we should consider two important aspects:

  •   The space on the disk  that we will need + the bandwidth of RAM .
  •   Hosting specially prepared for WordPress  and configured for it.

Personally, I have tried both Site Ground and Web Empresa and both are fantastic options, preferring the first one in case of having to choose.

0 2 ➤  Use A Light Theme For WordPress

Undoubtedly, when we started to create a web page or blog, what strikes us the most and what more time is devoted to it is to choose and modify the  WordPress template or theme that we are going to use.

The design is undoubtedly important, since it has a fundamental impact on the user experience, but unfortunately, as a general rule, we usually rely solely on the visual aspect and in any case, that it has the functionalities that we are looking for in our project. when choosing the template.

There are many free WordPress themes  and many of them are quite optimized.

However we do not stop putting hands to adapt them to our liking using dozens of plugins, constructors or snippets of code that we find anywhere.

It is best to use a simple minimalist design theme, which will help make our content and products stand out, helping to improve the speed of our website.

Among the best free options, are the OceanWP and Astra themes , two freemium options that have a free basic version and the possibility of expanding features with the premium or paid version.

If you want something more advanced, you have at your disposal the Genesis framework, known for its minimalism, or of course, hire a professional .

03 ➤  Reduce The Size Of The Images

The images are a fundamental part for any web project. Right now it is almost impossible to visit a successful site that has no images.

It is clear that adding images is essential, but for this reason, it is also reducing the size (in pixels) and weight (in bytes) of them to one that is appropriate for the user and not to slow down our server and thus speed up WordPress.

Personally, I prefer to create the images to the exact size for my websites and reduce their size with the different online tools available, but if you prefer, you should know that you have several plugins at your disposal to optimize WordPress images ready to download in the official repository .

04 ➤  Remove or Disable Plugins That We Do Not Use

Especially at the beginning, when we are still beginners,  we are fascinated by the plugins  and we load the site with lots of them.

Ideally, every so often, we value whether all the plugins are really essential  or we can uninstall one, eliminating that functionality or replace it with a more optimized one.

Of course, it is also important that you deactivate all the plugins that you only use every so often , such as sending newsletters, cleaning the database, etc.

05 ➤  Compress CSS And JS Files

The compression of the CSS and JS files  is of vital importance, since it can greatly improve the loading speed of the site in the browsers, as most of the tools to check the speed of WordPress indicate, such as Google Page Speed ​​Insights .

Ideally, reduce it manually, accessing the code by FTP and uploading a compressed and reduced version of our files, however, once again, we have a plugin available to facilitate the task if you do not have the time or technical knowledge necessary.

In this case, I refer to the Auto optimize plugin , which can compress  CSS, JS and HTML files.

06 ➤  Uses A Cache Plugin To Speed WordPress

One of the most used ways to lighten the load of our website to the server , is to take advantage of the caching of our browser .

Once again, you have several plugins available, WP Rocket if you do not mind spending some money, or if you prefer a free option, I recommend WP Super Cache , created by Automatic (the WordPress creator’s company) that already has more than 2 million active installations today.

07 ➤  Enable GZIP Compression

Another way we can take advantage of to increase the speed of WordPress, is to implement GZIP compression on our website, decompressing the files in the user’s browser each time you visit our website.

On this occasion, my recommendation is that you implement this solution directly with code since it is very easy and fast.

You just have to add the following code in the .htaccess file of your web:

<IfModule mod_deflate.c>

    <IfModule mod_headers.c>

        Header append Vary User-Agent env =! Dont-vary

    </ IfModule>

    AddOutputFilterByType DEFLATE text / css

    AddOutputFilterByType DEFLATE text / x-component

    AddOutputFilterByType DEFLATE application / x-javascript

    AddOutputFilterByType DEFLATE application / javascript

    AddOutputFilterByType DEFLATE text / javascript

    AddOutputFilterByType DEFLATE text / x-js

    AddOutputFilterByType DEFLATE text / html

    AddOutputFilterByType DEFLATE text / richtext

    AddOutputFilterByType DEFLATE image / svg + xml

    AddOutputFilterByType DEFLATE text / plain

    AddOutputFilterByType DEFLATE text / xsd

    AddOutputFilterByType DEFLATE text / xsl

    AddOutputFilterByType DEFLATE text / xml

    AddOutputFilterByType DEFLATE image / bmp

    AddOutputFilterByType DEFLATE application / java

    AddOutputFilterByType DEFLATE application / msword

    AddOutputFilterByType DEFLATE application / vnd.ms-fontobject

    AddOutputFilterByType DEFLATE application / x-msdownload

    AddOutputFilterByType DEFLATE image / x-icon

    AddOutputFilterByType DEFLATE application / json

    AddOutputFilterByType DEFLATE application / vnd.ms-access

    AddOutputFilterByType DEFLATE application / vnd.ms-project

    AddOutputFilterByType DEFLATE application / x-font-otf

    AddOutputFilterByType DEFLATE application / vnd.ms-opentype

    AddOutputFilterByType DEFLATE application / vnd.oasis.opendocument.database

    AddOutputFilterByType DEFLATE application / vnd.oasis.opendocument.chart

    AddOutputFilterByType DEFLATE application / vnd.oasis.opendocument.formula

    AddOutputFilterByType DEFLATE application / vnd.oasis.opendocument.graphics

    AddOutputFilterByType DEFLATE application / vnd.oasis.opendocument.presentation

    AddOutputFilterByType DEFLATE application / vnd.oasis.opendocument.spreadsheet

    AddOutputFilterByType DEFLATE application / vnd.oasis.opendocument.text

    AddOutputFilterByType DEFLATE audio / ogg

    AddOutputFilterByType DEFLATE application / pdf

    AddOutputFilterByType DEFLATE application / vnd.ms-powerpoint

    AddOutputFilterByType DEFLATE application / x-shockwave-flash

    AddOutputFilterByType DEFLATE image / tiff

    AddOutputFilterByType DEFLATE application / x-font-ttf

    AddOutputFilterByType DEFLATE application / vnd.ms-opentype

    AddOutputFilterByType DEFLATE audio / wav

    AddOutputFilterByType DEFLATE application / vnd.ms-write

    AddOutputFilterByType DEFLATE application / font-woff

    AddOutputFilterByType DEFLATE application / font-woff2

    AddOutputFilterByType DEFLATE application / vnd.ms-excel

    <IfModule mod_mime.c>

        # DEFLATE by extension

        AddOutputFilter DEFLATE js css htm html xml

    </ IfModule>

</ IfModule>

08 ➤  Clean The Database

Clean the WordPress database every so often, it is also very important to avoid weighing more than necessary.

And is that after each new article, comment or action, are  automatically saved  revisions, drafts and transient options , which are not necessary, but that are increasing the size of our database and therefore slowing down the speed of our WordPress .

To fix it, I recommend the  WP-Optimize plugin , which as we mentioned before, it is not necessary that you have activated at all times if not that once used, you can deactivate it until the next time.

09 ➤  Deactivate Ping backs and Trackbacks

Nowadays the disadvantages of Pin backs and Trackbacks are much higher than their benefits, so it is best to deactivate them .

At the time, they served to warn of the incoming links that the tickets have. However, there are third-party services where you can consult this and more, without paying a fee and you also save that third parties exploit this to your advantage.

To disable Pingback and Trackbacks , you must go to the WordPress administration desktop and in the Settings section, click on Comments.

Once there, you have to uncheck the option “Allow link notifications from other sites (pingbacks and trackbacks)”

10  ➤ Reduce The Scripts And Functionality of Third Parties To The Minimum

Finally, as a last tip to optimize speed and speed up WordPress, I recommend you avoid filling your website with third party code that can overload and slow down your hosting with countless calls to the server or countless redirects.

Some of these services are AdSense ads , comment management system such as Disqus , social networking buttons and similar functionalities.

Of course, you must add the services that work best for your website or help you monetize it, but you must do it with a head and avoid overloading your server unnecessarily.

For example, in addition to choosing the lightest option of the plugin or code for social networks, the ideal is that you do not add the option of sharing in less important social networks or that you do not use.

Similarly, if your website receives hardly any comments, you should consider substituting Disqus for the WordPress native comments system, helping you accelerate your website.

Conclusion

Not only the content lives a website , because if nobody reads it, what’s the point?

In order for our website to have a good user experience, it is necessary to maintain it constantly and follow the optimization rules  we have seen to improve the speed of WordPress.

I say goodbye, but not before thanking again the opportunity to contribute my little bit to this legendary blog that contributes so much to the WordPress community.

Of course, I am at your disposal on social networks and in the comments area to answer any questions about the article.

Thanks and see you soon!

About the author

100 Startup Ideas Team

Leave a Comment