How to force redirect http to https using .htaccess

If you have an SSL certificate installed and would like to force your website to load with https URL - you may add the following code in the .htaccess file (Linux based hosting): RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE] You need to place the .htaccess file in the home directory of your website.  

Continue reading

Download the favicon icon from any website

It is possible that you might like a favicon (yes the logo icon that is displayed in the browser tab) of a certain website. Now, normally most of the websites store it in the form of favicon.ico in the root directory of any website. So, you can just type in: http://domain.com/favicon.ico and download it when…

Continue reading