Nginx WordPress Permalinks

If one use apache, then there is nothing to worry about about WordPress Permalinks because Apache’s mod_rewrite enables WordPress to add the rewrite rules to the .htaccess file. If you are using nginx, then a slight modification is required to be made to the config file. It is very easy to do. (i) Find the

Read More

Why the new bitly design sucks

Bitly is my favourite url shortener. A few things I like particularly about it are: (i) it has had a very simple & uncluttered design; (ii) you can customize the shortened url. So instead of some gibberish like bit.ly/xyres, you can use bit.ly/cool_post(iii) you can monitor the number of clicks each link is getting and

Read More

How To Create Your Own WordPress Theme

To create your own wordpress theme, you will need the following: (i) A theme which serves as an inspiration. Choose your favourite site, which gets 1 million page views a day. The advantage of selecting a well known site is that their coding is usually upto date. Also, because several people work on these sites,

Read More

Set Up A WordPress VPS With Centos & Apache

Lets learn how to set up a VPS with Apache & PHP & install WordPress in it. (i) Choose Centos 6 32 bit as your operating system (OS) from your VPS’ control panel; (ii) Update Centos with the command yum update (iii) Install apache with the command yum install httpd (if you run into a

Read More

Create MySQL database with SSH command

MySQL databases can be created either through phpmyadmin or through the SSH command line Lets see how to create a MySQL database with SSH command (i) First log in to mysql with your user name (change if not root). You will be prompted for a password. mysql -u root -p (ii) create the database with

Read More

How to optimize and speed up your site

Increasing the speed with which a page loads involves aspects (i) the server configuration and (ii) the web pages (or wordpress) configuration. First, lets look at how we can speed up the time that it takes for the server to respond. (i) Using nginx instead of apache: My personal experience has been that nginx responds

Read More

Why keyword stuffing should be avoided

In trying to understand how google ranks a page in its search results, I learnt that keywords were important. Google determines the relevance of a page based on the density of the keywords and ranks it accordingly. So, a page which has more occurrences of ‘Nikon D2’ will be deemed to be a page on

Read More