Simple way to compress your wordpress index page :

1. Download your index.php file from ftp

2. Open your php editor or use notepad to open index.php

3. Add this code on the top of your index.php file

ob_start(”ob_gzhandler”);

4. Save the file and upload back to your server with ftp client.

Done, you got gzip support for your wordpress index page.

May 162008
 

“3546 comments waiting for moderation”

Wow, all of them already in akismet handle. But I still looking more information why that spam can enter my blog. After see the pattern I think my old post get most of spam target.

The only way to prevent that spam is simple : closing comment

To edit each post just for deactivate comment is useless. I need rapid solution.

Step by step :

1. login to cpanel and click phpmyadmin

oc Fight wordpress spammer

2. Pick one database to deal with.

oc2 Fight wordpress spammer

3. Click on ‘Query’ link.

oc3 Fight wordpress spammer

4. type this command :

oc4 Fight wordpress spammer

That command mean :

update all posting where date posted less than January 10 2008 and posting status equal to publish.

Click ‘Submit Query’ and see the result. Your old post that meet the criteria no longer open for spammer.

 

Reset password for password facility not work as usual, doesn’t mean I have to stop from blogging icon smile Reset wordpress password, after invalid key

Step to set your password if you get ‘invalid key’ message from wordpress blog :

1. Login to cpanel

2. Click phpmyadmin

3. Choose appropriate database (if you have multiple vhost)

4. Click on table ‘wp_users’

reset Reset wordpress password, after invalid key

5. After click ‘Browse’ to see listing of user that exist on user table.

reset2 Reset wordpress password, after invalid key

6. Click Edit with symbol of pencil.

7. Make sure to choose ‘MD5′ and type new password there.

reset3 Reset wordpress password, after invalid key

8. Click ‘Go’ button to save.

9. You can use username ‘admin’ and password that you type previously.

© 2011 Hosting Formula Suffusion theme by Sayontan Sinha