5 Things to do After Installing WordPress

July 27, 2009 by Mark  
Filed under Tips & Tricks

WordPress is a popular open source publishing platform. It is the choice of most blogger. Not only because it easy to use but the installation process also take less than ten minutes. But after installation there are other things to be done to make it more secure and get the most from your blog/website.

Below is the 5 things usually I do when I install a fresh WordPress platform.

Read more

Nginx: Redirect www to non-www

July 4, 2009 by Mark  
Filed under Tips & Tricks

Method 1
Open your nginx.conf and add the following configuration inside your server {} configuration.

if ($host = 'www.domain.com') {
    rewrite ^/(.*)$ http://domain.com/$1 permanent;
	}

Read more

Display Server Uptime Using PHP Script

June 30, 2009 by Mark  
Filed under Tips & Tricks

Start you favorite text editor and type the following text.

<?php system("uptime"); ?>

Now save the file as uptime.php and then upload the file to your server root directory. Once uploaded, open your internet browser and point it to the uptime.php by typing http://yourdomain.com/uptime.php. Change yourdomain.com with your own domain name. This script call the unix system command ‘uptime’ and display the result in html format so that it can be display on your internet browser. Below is the example result display by the script.

Read more

Protect Your WordPress ‘wp-admin’ on Lighttpd

June 27, 2009 by Mark  
Filed under Tips & Tricks

Besides Apache, Lighttpd also has the ability to limit access to your website by client IP address. Today I will share how to protect your WordPress ‘wp-admin’ on Lighttpd by only allow your IP address to gain access to the directory. I assume that you already have a WordPress blog running on Lighttpd because I will not cover that on this mini How to.

Read more

How to Change Your Default WordPress Username

June 15, 2009 by Mark  
Filed under Tips & Tricks

Every fresh WordPress installation has a default username admin. There is no option to change this username during installation. Because the admin is a well known username, you might get the risk of being brute force attack and could be a disastrous for your Website or blog. To avoid this risk you should change the default username to something unique.

If you have a root access to your webhosting account. Initiate a SSH session. Then connect to your MySQL server by using the following command:

mysql -u username -p

Read more

Next Page »