Google Drive As A Content Delivery Network (CDN) For Your Website

After Google introduced Google Drive Site Publishing Feature, you can upload some static files like CSS, JavaScript, or Images to Google Drive and then use Google Drive as a kind of a free CDN (Content Delivery Network) for your website.

Rather than host your website's files on a single web server, you can distribute the website's static files and load across multiple server. This definitely will reduce the load of your server and greatly improve your page speed because the Google server has a lot more resources and respectable response times than typical shared hosting.

Actually when you follow this tutorial: How to Host JavaScript or CSS Files on Google Drive, the Google Drive already acts as a CDN for your website. But if you prefer shorter URL, something like http://cdn.domain.com/path/image.jpg or http://static.domain.com/path/style.css you can always create a sub-domain and redirect it to the "Public" folder on the Google Drive.

How To Use Filters to Forward Certain Emails In Gmail To Another Email Address Automatically

Gmail's filter is one of many great features in Gmail that make us easy to manage the incoming email. Using filters you can automatically forward certain incoming emails to other email addresses based on some specific parameters like From, To, Subject, Has the words, Doesn't have, Has attachment, and Don't include chats.

On May 2013, I wrote about how to create a Blogger contact page using the official contact form. The contact form is official from Blogger so all messages from the contact form are being sent to the Gmail email associated with the Blogger account, but some visitor of this blog wants the messages are not being sent to the connected Gmail email, but to the another email address (either Gmail or non-Gmail email).

I actually got it fixed, but I now need to know how to switch the email address that the contact form goes to. I want to change this from my gmail to my new personal domain email Rebekah Rose
I have set the forum up, thanks. However the messages are being sent to my Gmail Account but then not forward on to the email i have set up. Can you help with this? Karl Young

You can't change the contact forms recipient's email because Google doesn't provide us with some email settings that we can change. But of course you can use the filter feature in Gmail to automatically forward all incoming emails from the Blogger's contact form, and because all messages sent from Blogger's contact form has the same title, we can use the Title (subject) parameter to identify the emails need to be forwarded to.

email subject

For example, all messages sent from Komku's contact form have the same title [Komku | Technology Blog] New Message received. so we can use the title parameter to filter this email. Please follow the steps below:

Why WordPress Manual Installation is Better Than 1-Click Automatic Installation

Many hosting companies offer automatic script installation to help their users to create a ready to use and functional website. One-Click automatic script installer like Fantastico or SimpleScripts are the easiest and fastest way to install WordPress on a web server, especially for beginners. No need to create database manually, no need to upload any files, because everything is automatic.

But behind its simplicity lies several weaknesses due to the easy-guessed installation settings. Hackers can easily guess the database name, the database user and the database prefix because all the WordPress blogs that is installed using one-click auto installer like Fantastico would have the same database prefix, user and database name pattern. Here are some  reasons why you should avoid 1-click WordPress installation:

Outdated Version of WordPress
WordPress as the most popular blogging software should be updated as soon as possible whenever an update comes out. But an automatic installer usually installs an outdated version of WordPress. Many Fantastico users reported this problem. WordPress in SimpleScripts is updated more often, but still, we have to wait a few hours before the latest version of WordPress available in SimpleScripts.

Same Pattern of Database Name
Automatic installer like Fantastico and SimpleScripts creates the same pattern for the database name for all WordPress blogs installed using these installers. SimpleScripts would create wor1 or username_wor1 (username here is your hosting account username) and if I create another one it would be wor2 or username_wor2. Fanstastico does the same, the only difference is the database name is wrdp1 or username_wrdp1. Because this is a standard, so everyone knows about this. Some people who called themselves hackers can use this information to do something bad to your site.

same mysql database name and user

Same Pattern of Database Username
Yes!, if you use Fantastico or SimpleScripts to install your WordPress, these tools will give you the same database username as the database name itself. This is absolutely a security risk. 

The Beginner's Guide to Install WordPress Manually in 5 Easy Steps

WordPress is the most popular content management system in the world and used on millions sites. It has user-friendly interface and flexible architecture that makes it easy for anyone to use and customize it to fit their needs. Ease of installation of WordPress is one of many features available, in fact WordPress is famous for its five-minute installation.

Many web hosting companies such as Bluehost or Hostgator provides an automatic installation service for WordPress through Fantastico or SimpleScripts. By using those utilities, you can easily install WordPress with just a few clicks of the mouse. However, I always recommend anyone to install WordPress manually because you can do that in just a few minutes with full control over the setup settings - Why WordPress manual installation is better than one-click auto method.


Things you need before Installing WordPress:
  1. A Domain and Web Hosting Account
    We recommend Bluehost because they will give you a free domain for only $4.95/mo.
  2. cPanel Access
    The web hosting company will send you the cPanel login details right after signing up. You can access the cPanel at yourdomain.com/cpanel
  3. FTP Access
    You can create a new FTP username and password from cPanel, or you can just use the same login details as cPanel. Download FTP client here: https://filezilla-project.org/
  4. WordPress
    The best content management system for websites and blogs. Download here: http://wordpress.org/download
Please follow the steps below to install WordPress manually:

Step 1:
Login to the cPanel for your hosting account. You can access your cPanel at http://yourdomain.com/cpanel (replace yourdomain.com with your actual domain name)
Enter your username and password > Click OK

Step 2:
Create a MySQL database and user for that database. The easiest way to create a database and add a user to that database is using MySQL Database Wizard.


mysql database wizard icon

Locate the MySQL Database Wizard icon and then click it > Type the desired name for the database > Click Next Step > Type desired user and password > Click Create User and you will get some kind of a report like this (make sure you copy it to your clipboard or write it down, we will need it later):

Added user "nelda_dbuser" with password "wrdp1234567".
User: nelda_dbuser
Database: nelda_dbwordpress


How to Host JavaScript or CSS Files on Google Drive

Many bloggers use a custom template for their blog and a custom template sometimes requires an external JavaScript file, but sadly we can't host the JavaScript or CSS file on Blogger because Blogger only allows us to upload images and videos.

Previously, most bloggers would use Google Code (http://code.google.com/hosting) to host these files because Google Code's project hosting feature is very simple to use and free. But since Google announced that they are deprecating almost all download options for Project hosting on Google Code, we have to switch to Google Drive as recommended by Google itself.

Starting today, existing projects that do not have any downloads and all new projects will not have the ability to create downloads. Existing projects with downloads will see no visible changes until January 14, 2014 and will no longer have the ability to create new downloads starting on January 15, 2014. All existing downloads in these projects will continue to be accessible for the foreseeable future.

If your project is using downloads to host and distribute files and has a need to periodically create new downloads, we recommend you move your downloads to an alternate service like Google Drive before January 15, 2014. Google

Actually it is not so hard to use Google Drive, just create a folder, upload the JavaScript file (or any other file like images, videos, documents including PDFs and Microsoft Office files) and then change the file's sharing settings from "private" to "public on the web", or simply change the folder's sharing settings from "private" to "public on the web" and all files inside that folder will have the same sharing permissions, but the tricky part is getting the proper direct link for the JavaScript or CSS files, so we can use it on the blogger template. Please follow the steps below to host your JavaScript or CSS file using Google Drive:

Method 1

With this method you can get the proper link with the file name:
https://googledrive.com/host/folder-id/filename

Example:
https://googledrive.com/host/0B47Pdqj--olfUENkNGhtX3lSN0U/example.js
https://googledrive.com/host/0B47Pdqj--olfUENkNGhtX3lSN0U/example.css