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 Ebook on Your PSP
You might think that PSP is just a gaming console. But the availability of custom firmware truly make it doing something beyond a normal game console can do. Not only it can play your backup game from your memory stick but you can install homebrew application. One of the homebrew that I found very useful is Bookr. Bookr is an ebook reader for PSP. The program is distributed under GNU General Public License (GPL). So its can be downloaded for free and without any extra charge.
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
Backup and Restore MySQL Databases
June 2, 2009 by Mark
Filed under Tips & Tricks
If you are using WordPress or other CMS for your website, it is important to do a regular backup of your website database. Because you don’t knows when disaster strike (hard disk failure, site been hacked, corrupted database, etc). At that time you will realize how important to backup your database. Doing a MySQL database backup is quite easy. Just type a few command line and you have you backup that can be restore at any time.
Assume that you have root to your server. Initiate an SSH connection to your server and type the following command to backup your MySQL database.
mysqldump –u username –p databasename > backup.sql
Enable OSWallpaper SEO URLs on Nginx
May 29, 2009 by Mark
Filed under Open Source Software
First enable the clean url by editing config.php (inside includes folder).
//enable mod rewrite urls. 0=disabled, 1=enabled for SEO Friendly URLS $Gbl["ManualModRewrite"] = 1;
The original rewrite rule (Apache) for the script are as follows :
RewriteEngine On #PAGES RewriteRule ^([^/]*)/$ index.php?p=$1 [L] # CATEGORY RewriteRule ^([^/]*)/([^/]*)/$ index.php?p=$1&i=$2 [L] # CATEGORY PAGES RewriteRule ^([^/]*)/([^/]*)/([^/]*)/$ index.php?p=$1&i=$2&pg=$3 [L]


