How to make your WordPress website faster
WordPress is one of the best platforms that you can use for creating your own website or blog. You can create any type of WordPress website by using its plugins. However one of the biggest drawbacks of WordPress is that it is quite slow.
But if you want a successful website then you need to focus on its loading speed. Website loading speed has a direct effect on visitor returning, customer satisfaction levels, more conversion rates and even more chances of ranking your website higher in search engines.
In short, you need to focus on loading speed of your WordPress website because it is essential for you if you are running a blog or a business website.
One of the best parts of WordPress is that it is a highly streamlined and well-maintained content management system. So in case of issues, you can fix them very easily.
You can fix the WordPress issues very easily by using plugins, third party themes or custom code. All of these items have the potential to make your website load faster.
What’s a Good loading time?
Loading speed of your WordPress website depends on what you are doing, but your website loading speed should not be more than 3 seconds.
If you have a simple WordPress website with images and text then your website will load in 2 seconds. If you want a successful WordPress website then it is must for you that your website Loads within 2 seconds.
Measuring Loading Time of your WordPress website
Before learning it practically first of all you need to know how to measure the loading speed of your WordPress website. One of the best tools that I recommend you to use for this purpose is GTmetrix.
It is a great tool with the help of which you can improve your website performance and you can also get all type of information and actionable items for free. You can use this to for free as well as paid.
If you want to test your website on regular basis and you need more advanced options then you can choose its paid plan. You can also use Pingdom for this purpose. Pingdom also provides you the similar service.
Why WordPress website speed matters?
When visitors land on your website for the very first time, then, in this case, you only have few seconds to capture its attention and this will be done with your website loading speed. If your website loading speed is better, you can hang them around and you can also make him your loyal reader.
According to Google search team if your website takes more than 2 seconds to load then there will be 4% decrease in the user satisfaction and this will lose your revenue and reduce your clicks around 5%.
Slow loading speed websites lost their lots of visitors. Website speed is also important ranking factor in Google. So this means that your website speed also effects on SEO of your website and with a slow website you are decreasing not only your visitors but also your search rankings.
How to make WordPress website faster
So here in this article, I am going to share with you how you can speed up your WordPress website very easily. So if you want a successful WordPress website then follow these tips and make your WordPress website load faster.
1.Choose a good host
When it comes to website speed then it is important for you that you need to choose a good web hosting for your WordPress website. Your website speed also depends on the speed of your server.
There are lots of advanced services offered by good web hosting companies such as site monitoring, regular backups and easy addition of your new website.
So in case of WordPress website you can choose managed WordPress hosting because this hosting is perfect for creating WordPress websites. I really recommend you to buy web hosting for your website form Hostgator, Bluehost Godaddy and Siteground.
Technical Ustad is hosted on Hostgator and currently, it’s running on https://www.hostgator.com/managed-wordpress-hosting which providing best hosting along with many Top website essentials tools for free.
First of all, it is very important you that you are using the latest version of WordPress. According to WordPress in its versions, 3.7 automatic updates feature is available for security update and minor releases.
You can update your WordPress Core very easily. When there is a new update available then you will see a notification on your dashboard that new version is available.
Don’t dismiss this notification and update your WordPress core because it takes less than a minute, but on the other hand, there are a wide variety of benefits of updating WordPress core. You can also configure your WordPress website to automatically apply for updates.
Despite updating WordPress core you also need to update your WordPress plugins and themes. You need the latest version of your WordPress plugins and themes.
3.Use a CDN
CDN stands for content delivery network. You also need to use CDN for your WordPress website to loading pings. When you use a CDN for your website then your content is distributed among networks. When a visitor lands on your website and you are using CDN then it will serve content to user from the place that is closer to him.
For example, if I am using a can on my website and I serve an image. When the visitor from United States land on my website then he may receive my served image through a data center in New York.
So in this way, CDN is able to decrease the distance and it reduces the stress on your server and as a result, your website will load faster. CDN and is now distributed among all over the world.
On Technicalustad, we love to use MAXCDN and we don’t have any issue with this CDN provider.
4.Use Cache Plugins
When a visitor landed on your website then he will see your content by the following the process: PHP code is executed on the server and as a result, HTML code is sent to the user.
Caches will save your lots of time because when the PHP code is executed on the server and HTML code is sent to the user, then this HTML code is stored in the cache.
So in this way, if a user again landed on your website then processing is skipped in this time and he will see the HTML code faster because it is saved in the cache.
This will make your WordPress website faster but also it will help you in dealing with traffic surges because in this way your server doesn’t need to execute PHP code on every request. There are 3 best WordPress plugins that you can use for cache solutions.
These WordPress plugins include WP super cache, W3 total cache, and WP rocket. So you can use any one of them on your WordPress website and in this way your WordPress website will load faster than ever.
4.Optimize Your WordPress Website Database
Your website database is like a full of the cupboard for your website that stores all of your content, including posts, comments, spam comments, as well as the settings of theme and plugins. So if you’ve been using WordPress for a while, chances are your database is cluttered and filled with tables you no longer need.
Note:- It’s highly recommended to take website backup before any change in Website Database.
Optimizing Your WordPress Database with phpMyAdmin
To access phpMyAdmin, login to cPanel for your site and click “phpMyAdmin” in the “Databases” section.
Once you’re in phpMyAdmin, you’ll see your website’s databases listed on the left. Click on the one you want to clean up and then click the “SQL” tab.
The SQL section in phpMyAdmin is where you can enter SQL commands and then hit “Go” to run them.
Delete Old Plugin and Post Data
DELETE FROM wp_postmeta WHERE meta_key = ‘META-KEY-NAME’;
Don’t forget to replace META-KEY-NAME with the value you want to clear out.
Delete Spam Comments
DELETE FROM wp_comments WHERE comment_approved = ‘spam’;
Delete Unapproved Comments
DELETE from wp_comments WHERE comment_approved = ‘0’;
Delete Unused Tags
DELETE FROM wp_terms WHERE term_id IN (SELECT term_id FROM wp_term_taxonomy WHERE count = 0 );
DELETE FROM wp_term_taxonomy WHERE term_id not IN (SELECT term_id FROM wp_terms);
DELETE FROM wp_term_relationships WHERE term_taxonomy_id not IN (SELECT term_taxonomy_id FROM wp_term_taxonomy);
Delete Pingbacks and Trackbacks
DELETE FROM wp_comments WHERE comment_type = ‘pingback’;
DELETE FROM wp_comments WHERE comment_type = ‘trackback’;
In phpMyAdmin, on the “Structure” tab and then click on the database you want to optimize. At the bottom of the list click “Check all”. In the dropbox box beside this option, select “Optimize table”.
Optimizing Your WordPress Database with Plugins
WP-Sweep is quickly gaining a following (currently at 50,000 active installs) because it was developed by Lester Chan, a popular WordPress developer.
When you install the plugin, go to “Tools > Sweep” to access the settings. The plugin has an intuitive interface that displays a report of how much unnecessary data is in your database. It’s divided into different sections for posts, comments, users, terms, options and optimizing tables.
When you click “Sweep” beside an entry, the plugin gets to work optimizing your database for that entry. If you want to sweep your whole database, just click “Sweep All” at the bottom of the page.
Hope my article “How to make your WordPress website faster” helps you to Speedup your Website Speed along with Optimizing database.