Date Posted: 25-12-2017 In this post we will explain how to change site url in the new moved domain. Step 1: Open the wp-config.php and edit define(‘DOMAIN_CURRENT_SITE’, ‘newdomain.com’); define(‘WP_DEBUG’, false); define(‘WP_ALLOW_MULTISITE’, true); define(‘MULTISITE’, true); define(‘SUBDOMAIN_INSTALL’, false); define(‘DOMAIN_CURRENT_SITE’, ‘newdomain.com’); define(‘PATH_CURRENT_SITE’, ‘/’); define(‘SITE_ID_CURRENT_SITE’, 1); define(‘BLOG_ID_CURRENT_SITE’, 1); Step 2: Open mysql or phpmyadmin… Continue Reading Changing the Domain Name on WordPress Multi-site

Date Posted: 22-12-2017 In this Post we will explain how to setup multisite in wordpress. Step 1: Open wp-config file and find the copy-paste following code just above the “That’s all, stop editing! Happy blogging” comment. define(‘WP_ALLOW_MULTISITE’, true); Step 2: Open the wp-admin in browser and goto tools->Network Setup and… Continue Reading WordPress Multisite Domain setup

Country based redirection on nginx behind load balancer|Geo Location Based redirection Date Posted: 19-12-2017 There are scenario where we want to setup country based redirection depends on visitor. In this post, we will explain on how to setup country based redirection on nginx which is behind load balancer. Assumption: Nginx… Continue Reading Country based redirection on nginx behind load balancer|Geo Location Based redirection

Posted Date:20-07-2017 In this post we will explain moving wordpress media to amazon cloudfront and S3. step 1: Install the following plugins on wordpress. https://wordpress.org/plugins/amazon-web-services/ https://wordpress.org/plugins/amazon-s3-and-cloudfront/ step 2: To configure Amazon Web Services account here and create the new user in aws console. step 3: To create the aws s3 bucket… Continue Reading Moving WordPress Media To Amazon CloudFront and S3

Install nginx on cPanel server Date Posted: 15-11-2017 cPanel is the widely used control panel to manage webhosting and it comes with apache as a default webserver. Nginx is fast webserver when compared to apache webserver. In this tutorial, we will explain on how to install nginx on cpanel server.… Continue Reading Install nginx on cPanel server

lfd on hostname High 5 minute load average alert| Increase load average threshold on csf Date posted: 13-11-2017 Consider a scenario where we have multiple cores and by default lfd will send notification incase if the server load goes more than 5. Csf doesn’t detect the number of cores and… Continue Reading lfd on hostname High 5 minute load average alert| Increase load average threshold on csf

Posted Date:01-11-2017 In this post we will explain solve the modal scrolling issue in bootstrap pop up modal.   You should add the following Javascript $(‘.modal’).on(‘hidden.bs.modal’, function (e) { if($(‘.modal’).hasClass(‘in’)) { $(‘body’).addClass(‘modal-open’); } });  

L1aravel 5.5 installation on VestaCP domain Date posted: 31-10-2017 Assumptions:- We assume you have the following server setup VestaCP Ubuntu 16.04 Nginx PHP >= 7.0.0 PHP modules OpenSSL, xml, PDO, Tokenizer and mbstring Installing Laravel Install composer apt-get install composer Download the Laravel installer using Composer: composer global require “laravel/installer”… Continue Reading Laravel installation on VestaCP account

PDFlib support for PHP7.0 on Ubuntu 16.04 Date posted: 16-10-2017 Task: Enable PDF for PHP7.0 Based on your server architecture download PDFlib software from PDFlib site. cd /usr/local/src wget https://www.pdflib.com/binaries/PDFlib/911/PDFlib-9.1.1p3-Linux-x86_64-php.tar.gz tar -xvf PDFlib-9.1.1p3-Linux-x86_64-php.tar.gz cd PDFlib-9.1.1p3-Linux-x86_64-php/ Find PHP extension_dir # php -ini | grep extension_dir extension_dir => /usr/lib/php/20151012 => /usr/lib/php/20151012 copy… Continue Reading PDFlib support for PHP7.0 on Ubuntu 16.04

Add a custom virtualhost configuration on cpanel |Apache 2.4 Date posted: 13-10-2017 Latest cPanel comes with apache 2.4 and in this post we will explain on how to create custom vhost configuration. Assumption: cPanel server Server Access Assuming that, we will create a custom configuration for the domain ‘domain.tld’ and… Continue Reading Add a custom virtualhost configuration on cpanel |Apache 2.4