Slow WordPress site
Slow WordPress site is a common problem among people who uses WordPress platform to do blogging run their online business and etc. In a survey, it is revealed that a visitor will leave your site if your site takes more than 3 seconds. Blow is the solution of 9 problem due to which you face slow WordPress site experience. WordPress slow. WordPress slow. WordPress slow. slow WordPress site.
Reduce server response time
First of all, you have to find a better host for you site. A cheap host can also be a big factor to slow your WordPress site. You have to reduce your server response time up to 200 ms which is recommended by google page speed insights. I found inmotion hosting the fastest of all among the big giants such as GoDaddy, Blue host, Host gator and Site ground. I recommend you to go with inmotion hosting WordPress power plan. Wordpress slow. WordPress slow. WordPress slow.
Remove query strings from static resources
If you have run a speed test of your wp site using Pingdom or GT Metrix, you might have seen the following that removes query strings from static resources. It is due to some resources have ” ? ” sign in the URL and some proxy server cache are unable to detect or read it carefully. Google also recommend you to remove these types of URL. So all you have to do is to remove them from your URLs. If you are using ” W3 total cache” so you might face this problem in order to overcome it go to w3 total cache menu>brower cache> uncheck ” Prevent caching of objects after settings change ” and that’s it.
Here is a solution for those who are not using w3 total cache on their sites. It is very easy and simple. Go to your theme’s function file( Appearance > Editor > Functions.php), add the following code before the closing PHP tag (%>) at the bottom of the file
Optimize your images on your WordPress site, unoptimised images have the major impact to slow down your site. You can optimize your images manually one by one but it doesn’t sound cool. Install WP Smush plugin and optimize your images in one click and get better speed. Use jpeg images instead of png.
Use a Content Delivery Network (CDN)
Use a CDN for fast and secure encryption and delivery of your content. CDN make your website secure and risk of your site to be hacked become very low. CDN also makes your website to load faster. There are many CDN companies out there but my recommendation is to go for Cloudflare or MaxCDN. They both are very good. However if you don’t have money to buy a CDN so no problem CloudFlare also provides a free CDN service.
Prefer asynchronous resources
Leverage browser caching
To overcome leverage browser cache error you have to write the expiry time of headers. There are two methods for doing this.
- Easy one[ Using a WordPress plugin]
- Complicated one[ editing .htaccess file ]
Using WordPress plugin
By installing a wp plugin called “Leverage Browser Caching Ninjas” after installing this, you can overcome this problem in few clicks. This plugin also makes a backup file of your .htaccess file so that if you want to revert your setting in any case. But it only works on Apache web servers.
By editing .htaccess file
There are two steps in this method. First you have to find .htaccess file in cpanel but finding it is a piece of cake. For fist step login in your cpanel> File> File Manger> Webroot/or Root> .htaccess. Double click on it and edit the file. Copy the code blow and paste it in the .htaccess file and that’s it.
Enable gzip compression
There are few benefits of enabling gzip compression in your website. First of all, it compresses your web page size up to 70% so definitely, it will speed up your site. There are several methods to enable gzip in your slow WordPress site.
Enable gzip using w3 cache plugin
The most popular WordPress site optimizing plugin w3 cache also give you the option to enable gzip compression in your website. To enable gzip using w3 total cache performance>Browser cache.
Enable Gzip Compression via .htaccess
In order to enable by editing .htaccess file we have to login into cpanel> File> File Manger> Webroot/or Root> .htaccess. Double click on it and edit the file. Copy the code blow and paste it in the .htaccess file and that’s it.
Avoid bad requests
Avoid bad request that there should not be any 404 or 410 error in your site. If there is any error like this so remove them or redirect them to any other pages using WordPress plugin called Quick redirects. It affects your WordPress site. WordPress slow. WordPress slow. slow WordPress site.
Minify Js, CSS and HTML
These are the common problem due to which you have a slow WordPress site. Hope that after reading this article and implementing this article your site gets an instant boost. Again reminding that the most common problem is your host get a better host. If you have any questions or queries so write them through the comment box. slow WordPress site. WordPress slow