Skip to main content

Optimize Wordpress

Optimize your website is important steps after you made it. If you build your website using wordpress, i found three steps to optimize it.

First Step – Optimize

1) Upgrade to latest WordPress release

2) Delete all the unused or unwanted plugins (this is the first reason why you need 10-12 seconds to load your homepage).

3) Clean up your css code using a css compressor like styleneat, cleancss or csstidyonline.

4) Reduce the PHP and database queries.

For example, on your header, use absolute URLs (http://www.yourdomain.com/wp-content/themes/example/style.css instead of < ?php bloginfo(‘stylesheet_url’); ? >).


Second Step – Install some plugins


After that you can install 6 ‘magic’ plugins:

5) WP Super-Cache (to cache all the dynamic requests as static html files).

6) WP Tuner (to analyze your database and to find slow queries or plugins).

7) WP Smush.it (to reduce image file sizes using Smush.it)

8) WP-DBManager (again, to optimize and repair the database)

9) Disable Revisions and Autosave (every time you change a post you create new row in the database, you don’t need this feature).

10) Clean Options (to find orphaned options in the wp_options table)

Third Step – Finish up

11) Use Amazon S3 to serve static files (useful to save bandwidth and cpu). If you need help follow this guide.

12) Be sure to have the favicon.ico file. Otherwise WordPress will generate an ‘invisible’ 404 error (and a large amount of server load)

13) Disable Hotlinking of image. Two tutorials from jaypeeonline.net:

* HowTo: Prevent Bandwidth Theft or Hotlinking
* HowTo: Allow Google Reader Access To Hotlink-Protected Images

14) Keep RSS ‘content thieves’ away (tutorial here). And maybe use feedburner without any extra plugin to redirect your users.

15) Create a robots.txt file and a sitemap

16) Use Pingdom, Firebug and Dust-Me Selectors to find and fix errors.

Source: http://blogof.francescomugnai.com/2009/07/16-pratical-tips-to-speed-up-wordpress-on-media-temples-grid-service/

Popular posts from this blog

Include dbase on PHP 5.3 Centos 5.7

I want to enable dbase on PHP 5.3. And i found website that have information about it. Environment : OS : CentOS 5.7 Final Web Server : httpd-2.2.3-53 PHP : php53-5.3.3-1.el5_6.1 Programming Language : gcc Download package from php.net [root@compare] # wget http://pecl.php.net/get/dbase-5.0.1.tgz Extract package [root@compare] # tar -zxvf dbase-5.0.1.tgz Prepare the build environment for a PHP extension and compile [root@compare] # cd dbase-5.0.1 [root@compare] # phpize [root@compare] #./configure [root@compare] # make [root@compare] # make install copy dbase.so to http modules [root@compare] # cp /root/php/dbase-5.0.1/modules/dbase.so /usr/lib64/httpd/modules/ Message error if dbase.so not compatible or not installed correctly [Wed Oct 26 20:15:28 2011] [error] [client 192.168.1.254] PHP Fatal error: Call to undefined function dbase_open() in /var/www/html/compare/impdbf.php on line 19 That's all Source : http://www.myee.web.id/index.php/howto.html

Free Stuff

I have free stuff that can i share with you. The free stuff is free magazine, free domain, free hosting, free rapidshare link generator and free money. 1. Free Magazine. You can get free magazine for you to read. There are many topics that can you choose. These are the topics that can you choose : Agri c ulture Automotive Biotechnology & Pharmaceuticals Computers Construction Education Engineering Executive & Management Finance Food & Beverage Government Healthcare Human Re sources Industrial & Manufacturing Internet Information Technology IT - Data Management IT - Security IT - Software & Development IT - Storage Insurance Mechanical / Machine Meetings & Travel Multimedia Network / Communications Purchasing & Procurement Retail Sales & Marketing Small & Medium Business Telecom & Wireless Trade/Professional Services Transportation & Logistics Utility & Energy Many topics

Rapidshare Premium Link Generator

Rapidshare Premium LINK Generator . Rapidshare.com is one of the biggest site that allow you to upload and share files with vary sizes. From rapidshare, you also can download files that another person upload the re. There are 2 kinds of user can download from rapidshare. First, free user, this user have limit features from rapidshare. Limit bandwidth, limit connection, etc. Second, premium user. Premium user have many features that free user doesn't have. If you want to be a premium user, you have to buy it from the web. You can use this link to buy premium account or from reseller that near you. But if you have not enough money to buy it, you can use Rapidshare Premium Link Generator . This is a website that give free service for anyone to generate rapidshare link from free to premium, so anyone can download with premium feature. &amp;amp;amp;amp;amp;amp;amp;lt;br&amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;lt;br&amp;amp;amp;amp;amp;amp;amp;gt;I