Big forms and PHP max_input_vars
Recently I was working in WordPress to create a big menu, with over 75 links in it. When I created it and tried to save it got save only partially, few menu items at the end got truncated. I was not...
View ArticleHow to hide Nginx version number in headers and errors pages
In default Nginx configuration, the server sends HTTP Header with the information of Nginx version number of the Server. The HTTP response header “Server” displays the version number of the server....
View ArticleHow to generate passwords for .htpasswd using PHP
In my earlier post about .htaccess I had described about authentication using .htaccess and command to generate .htpasswd file. However, when we want to add passwords for many users that method will...
View ArticleHow to enable HTTPS on WordPress using CloudFlare
Recently, Google said it will use HTTPS as a ranking signal. So, if you are a website owner, you might be thinking of switching to HTTPS. However, that meant purchasing an SSL certificate. Last month...
View ArticleGenerating bcrypt .htpasswd passwords using PHP
In my previous post we saw how to generate .htpasswd file using crypt and apr1-md5 algorithm in PHP. However, now there is a more secure BCRYPT algorithm that can be used since apache 2.4 for passwords...
View Article