• Replace WordPress Text Menus with Icons

    Client had a specific request to replace text from the WordPress navigation menu with an icon. For eg., Instead of having Home as a text, replace it with a Home icon as shown below: Adding icons to the menu provides the visitors a visual clue about the content and also…

  • [Solved]: Divi Anchor links doesn’t anchor to the correct place

    I recently encountered a problem with anchor links while working on Divi builder for a client project. The issue is, Divi anchor links does not jump to the right section. For example, consider a link http://example.com/#gotohere, upon clicking, the page should scroll  to the section ‘gotohere‘. Well, this works fine…

  • Uncaught Error Class ZipArchive not found – docxpresso plugin

    One of my client wanted to write tutorials containing lots of mathematical equations and formulas. By default, WordPress editor supports few symbols, but using those is not that simple. Also, the client was more comfortable in writing tutorials in Microsoft Word, as it supports plenty of mathematical symbols.  I know…

  • Can’t locate Calendar/Simple.pm [RT Solved]

    Here’s a question from one of our regular reader Mr. Shyam. He says, that the Request Tracker ends up with an error – Can’t locate Calendar/Simple.pm. Below is the complete error message: Error during compilation of /opt/rt3/share/html/Helpers/CalPopup.html: Can’t locate Calendar/Simple.pm in @INC (@INC contains: /opt/rt3/bin/../local/lib /opt/rt3/local/plugins/RT-Extension-ResetPassword/lib /opt/rt3/bin/../lib /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi…

  • Cannot find valid baseurl : YumRepo Error [Solved]

    This tutorial will explain how to fix yum repo error “Cannot find valid baseurl”, while executing yum install or yum update commands on CentOS version 5.11. Here’s the snapshot of the complete error. YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid release/ removing mirrorlist…

  • Install latest Nginx on various Ubuntu versions

    We shall learn how to install latest Nginx on various Ubuntu versions. As of writing this article, the latest stable Nginx version is 1.12.2 released as on 17 Oct 2017. The changelog is here for your view. To install the latest version of Nginx, we need to add a official Nginx repository….

  • Two Step Authentication for WordPress Admin in Nginx & Apache

    Enabling Two step authentication for WordPress admin is one of the most important step in securing your website. By default, WordPress provides login based authentication and authorization method, which might be vulnerable to brute-force attacks! In this guide, I’ll demonstrate how to enable two step authentication for WordPress admin pages,…

  • Failed to get Error Log Address Range APEI [Fix]

    How difficult is that to install latest Operating system on a older hardware? Say CentOS 7.x on Wipro NetPower Model: Z1240 server? I thought NetPower Model: Z1240 is not that old and installing CentOS 7 on it should be a cake walk. But the reality is, stuck with BIOS error –…

  • How to configure IP Canonicalization on Nginx

    If you had read our IP Canonicalization article, then you would have understood the importance of it. Recently, we migrated our website from Apache to Nginx web server. I had known about how to configure IP canonicalization in Apache, but didn’t knew on Nginx. After googling, I could do the same…

  • How to enable gzip compression on Nginx server?

    The page load time is one of the most important part of your website’s visitor experience. Of course, the design of the website is important, but do you know what the visitor is more concerned about? It’s how fast the pages load. And it depends on the size of all…

  • Using Sed to Search & replace a line between pattern ranges

    Here’s a question from our regular reader Mr. Rajan. He wants to use Sed to search and replace a line between pattern ranges. Well, here’s a question from him. I have been writing a shell script to automate few tasks on VPS. For instance, I wanted to modify httpd.conf and replace…

  • How to make WordPress Permalinks work in Nginx

    From a long time I had the eagerness to work on Nginx and finally got the opportunity. Followed LEMP stack installation and installed latest WordPress. Everything works perfectly, except for the permalinks. Unlike Apache,.htaccess does not work in Nginx server. This tutorial explains how to make WordPress Permalinks work in Nginx. Add the…

  • Hide Nginx & PHP versions in HTTP Header & Error Pages

    If you had followed my guide to install the LEMP stack then, by default Nginx configuration sends HTTP header with the information of Nginx and PHP version number of the server. This would provide hackers from using version-specific security breaches to attack your web servers. This tutorial will explain how…

  • Fix NGINX 403 forbidden error after changing Root directory

    Installed Nginx and PHP-FPM for processing PHP files on CentOS server. To my surprise when accessed PHP files through browser, I see “NGINX 403 forbidden error”. Here’s the error message from NGINX error log /var/log/nginx/error.log. [error] 11044#11044: *4 “/home/html/index.php” is forbidden (13: Permission denied) I have followed the NGINX installation tutorial….

  • Error Cannot build module while building external Perl modules

    Do you get an error “Cannot build module” while compiling OpenCA base 1.5.1? If yes, then this tutorial will explain how to fix the same. Well, here’s the complete error message. Build::External PERL modules Building (openca::ac) … ERROR::Cannot build module make[6]: *** [openca-ac] Error 1 Build::External PERL modules Building (Authen::SASL::215)…

  • Systemctl replaces Chkconfig and Service commands in CentOS 7

    From our previous experience of CentOS/RedHat, we all knew that “chkconfig“ command is used for checking and updating runlevel information for system services. These legacy commands are still included in CentOS 7 for backwards compatibility, but that will be obsolete in future releases. In CentOS 7/Redhat 7  systemctl replaces chkconfig and…

  • fatal error openssl/evp.h: No such file or directory : [Solved]

    Did you ran into an error “fatal error openssl/evp.h” while installing openca-base-1.5.1 package? I did ran through few errors – Can’t locate module/load/conditional.pm, undefined subroutine Scalar::Util::blessed and addMessage failed for log slot XML. Fortunately, I was able to fix all of those errors and now with a new error in…

  • What is the current runlevel of Linux system?

    These days Linux systems comes with beautiful graphical interfaces as compared to earlier terminals that are text-mode interfaces. So, Linux system has different modes called runlevels to boot the system in either graphical mode or console mode, single user or multi-user. Below are the various runlevels supported by Linux systems….

  • Can’t locate Module/Load/Conditional.pm [Solution]

    Did you get an error “Can’t locate Module/Load/Conditional.pm” while installing/Upgrading OpenSSL to the latest version? Here’s the complete error message while compiling OpenCA from source: Can’t locate Module/Load/Conditional.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at .././test/run_tests.pl line 20. BEGIN failed–compilation aborted at .././test/run_tests.pl line 20….