Similar Posts
WordPress Errors and Solutions
Infinite redirect loop If there is infinite redirect loop, put this line in functions.php of current theme. remove_filter(‘template_redirect’, ‘redirect_canonical’); WordPress asks for FTP credentials Change ownership of your WordPress directory. chown –R www-data:www-data Nginx: 413 Request Entity Too Large Error Change Nginx config file sudo nano /etc/nginx/nginx.conf # set client body size to 128M #…
Install Ruby on MacOS
MacOS comes with already pre-installed system Ruby. However this Ruby, most likely, will be outdated for Shopify development. You don’t want to mess with the pre-installed system Ruby. What you want to do is to install another Ruby using Homebrew and set the $PATH so the Homebrew-installed Ruby takes priority over the macOS system Ruby. https://mac.install.guide/ruby/13 Share…
Ubuntu Command Line Search
Sometimes I have to go through log files searching for a certain error message. The command below will show you log file names and lines where the message was recorded. grep -rnw ‘logs/’ -e ‘Hello World’grep -rnw ‘logs/’ -e ‘Hello World’ To learn more about “grep” command use the following link https://help.ubuntu.com/community/grep Share this article
Block IP Addresses in .htaccess behind Load Balancer
Sometimes you need to block access from certain IP addresses to your web site. It is easy to do in .htaccess file if you are running Apache. What if your server is behind a load balancer ? The code below lets you block IP addresses when your server is behind AWS load balancer. Share this…
Automated Deployment of Laravel Project
In this article I would like to share my approach to automated deployment of a Laravel project. I have been successfully using this approach for my side projects. In this article I will share Laravel project deployment on Linux (Digital Ocean) server. In a nutshell deploying Laravel project consists of “building” it (installing composer dependencies,…