Optimize Your WordPress Website Using These Simple Tips

This article focuses mainly on optimizing word press in order to enhance the page load time so that ultimately the process of loading of a web page becomes extremely faster. , and every search engine wants to be fast enough so that it readers should not wait for these loading times for ever. The wonder of creating various websites with Word Press is that administrator could enhance and could provide so many modifications with single codes. It does not require any rocket science to do this. In addition to this there has been many ways to customize and speed up themes from hosting side and this article aims to showcase users about this.


First logs in to cPanel. You should be presented with various information. This is related to hosting and it could be different to different hosts. Most of modern hosts do provide integration with cloudflare. We have seen many web hosting in partnerships with cloudflare has been offering hosting for free. Instead you can use cloudflare as standalone medium if yours hosting provider does not offer it in cPanel.

Cloudflare is free to use. Log in to cPanel and then go to software and then cloudflare and then activate it with your domain to connect your site to a content delivery network. It keeps your website faster and content distributed to different servers worldwide and in addition to it you could get free shared hosting with free cloudflare cdn integration.

Force all scripts to footer:

When we consider the speed of website, the prominent part of website is its . consists of many scripts which take time to load and that delays loading of web pages to a considerable extent. If scripts are to be loaded from the footer which means it would load at the last and most of the important features of website loads fast and this means it would considerably increase website loading time. This script to be inserted at the end of functions dot php. Generally it stays within files.

 remove_action('wp_head', 'wp_print_scripts');
 remove_action('wp_head', 'wp_print_head_scripts', 9);
 remove_action('wp_head', 'wp_enqueue_scripts', 1);

add_action('wp_footer', 'wp_print_scripts', 5);
 add_action('wp_footer', 'wp_enqueue_scripts', 5);
 add_action('wp_footer', 'wp_print_head_scripts', 5);



It should load the theme first and in this manner the reader would be able to read website and in the meantime all the other functions of website loads slowly and in this manner the speed of website does not seem to be delayed and that makes the prominent parts of website optimization. Most of these dynamic scripts stop first and all the DOMs loads and then comes the dynamic scripts.

You might like:  Easing work-related pain

Enable hot link :

Hot link protection to website prevents other website to directly linking to image files used inside website. Most of other websites by using <img> tag hot links to your content. This takes precious bandwidth of website and the speed of website decreases in high rush times and thus limits the users to access content and this has indirect impact on monetization. The end result is that the other sites are stealing your bandwidth in the name of hot linking of website.

Log in to cPanel, then security and then hot link protection and then it should show the number of links to be hotlinked and then enable it and you are done. From now on the other sites would not be able to steal your bandwidth even if your contents are shared in these social networks.

Leech protection:

Leech protection of website is very important in term of security and a website with full proof security loads quickly that ever before. It restricts users to post their passwords of restricted areas of website and if the user does so it would redirect a user to an alternative website and accounts are redirected and with additional, attempts there could be every chance of it got canceled.

It is advisable to leech protect each and every part of website so that it remains secure as usual. Go to cPanel, security and then leech protection and enable it.

Use default 5 search form instead of default search form widget:

WordPress has default search form widget to provide access to visitors to search your site. Since WordPress 3.6 yours theme now support HtML 5 search forms which loads fast and does not use the entire database all the time to provide a search result This speeds up website to a considerable extent. In this code, you do not need javascript to display search results. You could use multiple platforms to build it and there is no restriction to it as there is no single search id required for this purpose. First open functions dot php from theme files. Paste it at the end of it.

You might like:  How to fix WordPress cookies are blocked or not supported by your browser

//WordPress will render its built-in HTML5 search form
function wpdocs_after_setup_theme() {
 add_theme_support( 'html5', array( 'search-form' ) );
add_action( 'after_setup_theme', 'wpdocs_after_setup_theme' );


Save it and then open sidebar dot php and then paste this code there. This code is meant for built in html 5 search form.

<!-- wordpress search sidebar <!--
 ~ main component is at function

<form role="search" method="get" class="search-form" action="<?php echo home_url( '/' ); ?>">
 <span class="screen-reader-text"><?php echo _x( 'Search for:', 'label' ) ?></span>
 <input type="search" class="search-field"
 placeholder="<?php echo esc_attr_x( 'Search …', 'placeholder' ) ?>"
 value="<?php echo get_search_query() ?>" name="s"
 title="<?php echo esc_attr_x( 'Search for:', 'label' ) ?>" />
 <input type="submit" class="search-submit"
 value="<?php echo esc_attr_x( 'Search', 'submit button' ) ?>" />


Optimise website:

Optimise the performance of your website by tweaking the way, Apache handles the request. It is other wise called as Gzipping of website and it does speeds up page loading time considerably. Apache 2 and later versions allows to compress content before sending towards visitor’s browser and this makes loading of website in visitor’s browser faster.

There are two types of content compression such as compression of MIME types which are mainly dealing with text, html text, plain text and xml elements of website. In the second form you can compress an entire website content. It is better to select compress all content and then update settings. Go to cPanel and log in, then select software and then select optimize website and then select compress all content and then update settings to enable site compression or Gzip to your website.

Last not the least, goes for free ssl certificate and installs on your web server so that with due course of time the indexing of your website becomes faster than ever before. Most of these suggestions should be implemented. Most of these are available through settings o cPanel, and these should be implemented as well as some customizations of theme as wrote above could speed up website as well as providing much needed security for your website.

You might like:  Why website speed matters?

Related Articles

Leave a Reply

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