How to optimize WordPress website

Use light weight theme

Important Factor for optimizing WordPress site is its Theme. A website which loads slow and performs slow leads to a poor user experience. If your website takes too much time to load then your visitors may not visit your website again. Some fastest loading themes includes WordPress twenty sixteen, Themeforest  Avada and Enfold.

WordPress twenty sixteen

twetysixteen

Twenty Sixteen is one of the fastest loading theme. Horizontal header area in Twenty Sixteen looks perfectly for both blogs and websites. It features free custom color schemes, a harmonious post grid that will make your homepage look sharp on any device.

Themeforest Avada

 

avada_intro_img2

Avada’s theme allows you to easily create unique looking sites. This design can be used for any type of website; business, corporate, portfolio, blog, products, etc. Avada provides advanced header options like no other theme can. Also it offers  numerous page layouts and options to fit every situation, making it easy to complete your design vision.

Enfold

Enfold

Enfold Theme comes with a template builder that allows you to build any number of stunning layouts. It is fast to setup. Within a few seconds you can set up beautiful full screen or inline slideshows using Enfold. This wordpress theme has clean, flexible and retina responsive design which makes it different from other themes, moreover you can use enfold for many purposes like online shopping websites, business websites, portfolio websites or gym etc.

Enable Gzip compression

Gzip compression in wordpress reduces upto 80% size of your website(HTML files, JavaScripts, CSS stylesheets and XML files).  The best way to enable compression using mod_gzip or mod_deflate in WordPress .htaccess file. By adding a simple code in WordPress .htaccess file can enable Gzip compression .

Gzip compression method is different for Apache or Nginx servers. So we need to find out which server you are using. Gzip compression is used on Apache and Nginx servers, while DEFLATE is only used on Apache server.

Gzip compression on Apache Server

Just copy and paste given below code in WordPress .htaccess file of your website

# BEGIN GZIP COMPRESSION
<IfModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</IfModule>
# END GZIP COMPRESSION

Gzip compression on Nginx Server

Just copy and paste given below code in configuration file of your website with Nginx server.

gzip on;
gzip_comp_level 2;
gzip_http_version 1.0;
gzip_proxied any;
gzip_min_length 1100;
gzip_buffers 16 8k;
gzip_types text/plain text/html text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript;
gzip_disable "MSIE [1-6].(?!.*SV1)";
gzip_vary on;

Use Gzip Plugin

Enabling Gzip compression will speed up your wordpress website and reduces bandwidth usage. Steps to install Gzip plugin:

Download the WordPress Gzip Compression plugin.Extract the ZIP archive on your computer to get the ezgz  folder.

Upload this folder to your wp-content/plugins directory and activate plugin in your  Plugins page in dashboard

Enable latest PHP Version from cPanel

In order to enable latest PHP version in cpanel, go to PHP Configuration in software/services section in cpanel. And select the version of PHP you want to use from the dropdown. Click the Update button to save your php configuration.

Use WordPress Super Cache to Speed up

WordPress super cache is a fast caching engine to produce static html file.  After a html file is generated your webserver will serve that file instead of processing the comparatively heavier WordPress PHP scripts.

Share

Morbits is One of the biggest and Proven Digital Marketing and Inbound Marketing Company from Kochi,Kerala. We undertake Web Development , Ecommerce , Mobile Apps, SEO, Server solutions , SMS,Newsletters, ORM and More since 2008

Leave a Reply

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