<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Wordpress Arena &#187; Blog optimizations</title>
	<atom:link href="http://wparena.com/tag/blog-optimizations/feed/" rel="self" type="application/rss+xml" />
	<link>http://wparena.com</link>
	<description>A Blog for WordPress Developers, Designers and Bloggers</description>
	<lastBuildDate>Tue, 07 Sep 2010 01:21:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to Troubleshoot Slow loading Site and WordPress blog</title>
		<link>http://wparena.com/how-to/how-to-troubleshoot-slow-loading-site-and-wordpress-blog/</link>
		<comments>http://wparena.com/how-to/how-to-troubleshoot-slow-loading-site-and-wordpress-blog/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 00:20:15 +0000</pubDate>
		<dc:creator>Nur</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Blog optimizations]]></category>
		<category><![CDATA[optimizations]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[Theme optimizations]]></category>

		<guid isPermaLink="false">http://wparena.com/?p=2485</guid>
		<description><![CDATA[Once you have your WordPress blog up and running, you will need to maintain it. This involves keeping the site&#8217;s databases optimized and keeping the blog&#8217;s theme and plugins up to date with theme maintenance and plugin security patches. If you have tried all the optimizations, but are still not satisfied with the performance of [...]


Related posts:<ol><li><a href='http://wparena.com/how-to/how-to-add-favicon-into-wordpress-blog-and-website/' rel='bookmark' title='Permanent Link: How to Add favicon into WordPress Blog and Website'>How to Add favicon into WordPress Blog and Website</a></li>
<li><a href='http://wparena.com/tools/security-considerations-when-selecting-a-free-theme-for-your-blog/' rel='bookmark' title='Permanent Link: Security Considerations When Selecting a Free Theme for Your Blog'>Security Considerations When Selecting a Free Theme for Your Blog</a></li>
<li><a href='http://wparena.com/how-to/how-to-convert-a-wordpress-blog-into-wordpress-mu/' rel='bookmark' title='Permanent Link: How to Convert a WordPress Blog into WordPress MU'>How to Convert a WordPress Blog into WordPress MU</a></li>
<li><a href='http://wparena.com/how-to/how-to-promote-your-wordpress-plugins/' rel='bookmark' title='Permanent Link: How to Promote your WordPress Plugins'>How to Promote your WordPress Plugins</a></li>
<li><a href='http://wparena.com/how-to/canonical-urls-effects-on-wordpress-blog/' rel='bookmark' title='Permanent Link: Canonical URLs effects on WordPress Blog'>Canonical URLs effects on WordPress Blog</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwparena.com%2Fhow-to%2Fhow-to-troubleshoot-slow-loading-site-and-wordpress-blog%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwparena.com%2Fhow-to%2Fhow-to-troubleshoot-slow-loading-site-and-wordpress-blog%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Once you have your WordPress blog up and running, you will need to maintain it. This involves keeping the site&#8217;s databases optimized and keeping the blog&#8217;s theme and plugins up to date with theme maintenance and plugin security patches.</p>
<p><span id="more-2485"></span>If you have tried all the optimizations, but are still not satisfied with the performance of your site, there are a few troubleshooting techniques you can use to identify the bottleneck.</p>
<h2>1. Check your themes:</h2>
<p><img class="alignnone size-full wp-image-2498" title="Firefox-add-on-YSlow" src="http://wparena.com/wp-content/uploads/2010/03/Firefox-add-on-YSlow.jpg" alt="Firefox-add-on-YSlow" width="620" height="291" /></p>
<p>YSlow is a <a style="color: #006ca2; text-decoration: none;" href="https://addons.mozilla.org/en-US/firefox/addon/5369" target="_blank">Firefox add-on</a> integrated with the <a style="color: #006ca2; text-decoration: none;" href="http://www.getfirebug.com/" target="_blank">Firebug</a> web development tool. It offers suggestions for improving the page&#8217;s performance, summarizes the page&#8217;s components, displays statistics about the page, and provides tools for performance analysis, including <a href="http://developer.yahoo.com/yslow/smushit/index.html" target="_blank">Smush.it™</a> and <a href="http://jslint.com/" target="_blank">JSLint</a>. <a href="http://developer.yahoo.com/yslow/" target="_blank">YSlow</a> will tell you about large image files, broken links that are slowing down the loading of you blog page. With the help of this plugin you can fix such sort of problems.</p>
<h2>2. Theme Optimization:</h2>
<p><img class="alignnone size-full wp-image-2497" title="Theme-Optimization" src="http://wparena.com/wp-content/uploads/2010/03/Theme-Optimization.jpg" alt="Theme-Optimization" width="620" height="233" /></p>
<p>Here i am listing few tips which can speed up sites and will reduce the heavy load. Take a look at the <strong>header.php</strong> file.</p>
<p>Backup your header file before you try these changes. You can replace <span style="color: #333399;"><strong>&lt;?php bloginfo(&#8216;name&#8217;); ?&gt;</strong></span> with Your Site name , and <span style="color: #333399;"><strong>&lt;?php echo get_option(&#8216;home&#8217;); ?&gt;</strong></span> with http://sitename.com. e.g. http://wparena.com.</p>
<p>There are many other examples of this. In theme&#8217;s header file where the list of pages is displayed, change that function  call with  pages that you want to have listed. Compress  images used in your site&#8217;s themes that  will save some bandwidth.</p>
<h2>3. Check your plugins:</h2>
<p><img class="alignnone size-full wp-image-2496" title="Plugins-Optimization" src="http://wparena.com/wp-content/uploads/2010/03/Plugins-Optimization.jpg" alt="Plugins-Optimization" width="620" height="450" /></p>
<p>Using a large number of plugins can slow down your site. So you should keep your eyes on all updates of installed plugins.</p>
<p>WordPress developer <a href="http://ocaoimh.ie/looking-at-a-wpmu-object-cache/" target="_blank">Donncha</a> made a very powerful caching plugin called WP Super Cache, so speed up your site with caching. You can find out more about the wp-super-cache plugin <a href="http://wordpress.org/extend/plugins/wp-super-cache/" target="_blank">here</a>.</p>
<p>Check your plugins by deactivating one by one, if one creating any problem replace with latest one and remove if its not required any more. By removing the not required plugin will boost your site performance.</p>
<h2>4. Optimizing your site through phpMyAdmin</h2>
<p><strong>4.1</strong> Log in to phpMyAdmin and Click your site&#8217;s database.</p>
<p><strong>4.2</strong> Click &#8220;Check All&#8221; it will select all tables</p>
<p><img class="alignnone size-full wp-image-2495" title="Optimizing-database-phpMyAd" src="http://wparena.com/wp-content/uploads/2010/03/Optimizing-database-phpMyAd.jpg" alt="Optimizing-database-phpMyAd" width="620" height="443" /></p>
<p><strong> 4.3</strong> From the drop-down menu, select Optimize table.</p>
<p><strong> 4.4</strong> Thats it the database optimization task is completed.</p>
<p><img class="alignnone size-full wp-image-2494" title="Optimized-database-phpMyAd" src="http://wparena.com/wp-content/uploads/2010/03/Optimized-database-phpMyAd.jpg" alt="Optimized-database-phpMyAd" width="620" height="326" /></p>
<p>You should optimize your database frequently, and once a week would be enough.</p>
<p>If its not possible for you, than the best option is cron job. A cron job is a job that is scheduled to execute periodically. This is the Automate database optimization.</p>
<p>Add following text line in your crontab if you have shell access on your VPS or by using your web site&#8217;s admin panel (cPanel has a web interface for setting up cron jobs).</p>
<p><strong>0 0 * * 1 mysqlcheck -Aao –auto-repair -u root -p[password]</strong></p>
<p>Where:</p>
<p>* * * * *<br />
- – &#8211; – -<br />
| | | | |<br />
| | | | +—– day of week (0 – 6) (Sunday=0)<br />
| | | +——- month (1 – 12)<br />
| | +——— day of month (1 – 31)<br />
| +———– hour (0 – 23)<br />
+————- min (0 – 59)</p>
<p>The above example is mysqlcheck command which run once very Monday to check the database and auto-repair any problem it find during checkup.</p>
<p><img class="alignnone size-full wp-image-2493" title="Cron-job" src="http://wparena.com/wp-content/uploads/2010/03/Cron-job.jpg" alt="Cron-job" width="620" height="406" /></p>
<h2>5. Change the PHP memory limit:</h2>
<p>If your site getting out of memory errors,  Check out your PHHP.ini file on your web server if you and try to increase it. If you do not have access to PHP.ini on your web server, you can set the value for this in wp-config.php using this definition:</p>
<p>define(&#8216;WP_MEMORY_LIMIT&#8217;, &#8217;64M&#8217;);</p>
<h2>6. Server side optimizations:</h2>
<p><img class="alignnone size-full wp-image-2492" title="Server-side-optimizations" src="http://wparena.com/wp-content/uploads/2010/03/Server-side-optimizations.jpg" alt="Server-side-optimizations" width="620" height="175" /></p>
<p>Test your server&#8217;s performance using <a href="http://jakarta.apache.org/jmeter/" target="_blank">JMeter</a></p>
<p>You can improving your web server&#8217;s performance at the the following Tutorials:<br />
<a href="http://www.serverwatch.com/tutorials/article.php/3436911" target="_blank">Optimizing Apache Server Performance</a></p>
<p><a href="http://httpd.apache.org/docs/2.0/misc/perf-tuning.html" target="_blank">Apache Performance Tuning</a></p>
<p>Comments would be appreciated.</p>


<p>Related posts:<ol><li><a href='http://wparena.com/how-to/how-to-add-favicon-into-wordpress-blog-and-website/' rel='bookmark' title='Permanent Link: How to Add favicon into WordPress Blog and Website'>How to Add favicon into WordPress Blog and Website</a></li>
<li><a href='http://wparena.com/tools/security-considerations-when-selecting-a-free-theme-for-your-blog/' rel='bookmark' title='Permanent Link: Security Considerations When Selecting a Free Theme for Your Blog'>Security Considerations When Selecting a Free Theme for Your Blog</a></li>
<li><a href='http://wparena.com/how-to/how-to-convert-a-wordpress-blog-into-wordpress-mu/' rel='bookmark' title='Permanent Link: How to Convert a WordPress Blog into WordPress MU'>How to Convert a WordPress Blog into WordPress MU</a></li>
<li><a href='http://wparena.com/how-to/how-to-promote-your-wordpress-plugins/' rel='bookmark' title='Permanent Link: How to Promote your WordPress Plugins'>How to Promote your WordPress Plugins</a></li>
<li><a href='http://wparena.com/how-to/canonical-urls-effects-on-wordpress-blog/' rel='bookmark' title='Permanent Link: Canonical URLs effects on WordPress Blog'>Canonical URLs effects on WordPress Blog</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://wparena.com/how-to/how-to-troubleshoot-slow-loading-site-and-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>
