<?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>Madeglobal Wordpress Plugins</title>
	<atom:link href="http://www.madeglobal.com/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.madeglobal.com/wordpress</link>
	<description>The home of &#34;Better Protected Pages&#34;</description>
	<lastBuildDate>Tue, 23 Feb 2010 18:12:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to speed up Wordpress</title>
		<link>http://www.madeglobal.com/wordpress/how-to-speed-up-wordpress/48/</link>
		<comments>http://www.madeglobal.com/wordpress/how-to-speed-up-wordpress/48/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 17:44:51 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://www.madeglobal.com/wordpress/?p=48</guid>
		<description><![CDATA[There are many posts online claiming the best way to speed up wordpress, and many of them are very good. But this is the Madeglobal take on what we did to speed up one site from a massive 21 second load time to a lovely 3 or 4 seconds.
Firstly, the site in question is http://www.theanneboleynfiles.com,  [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.madeglobal.com/wordpress/wp-content/uploads/2010/02/optimize_wordpress.jpg"><img class="alignright size-full wp-image-50" title="optimize_wordpress" src="http://www.madeglobal.com/wordpress/wp-content/uploads/2010/02/optimize_wordpress.jpg" alt="" width="300" height="198" /></a>There are many posts online claiming the best way to speed up wordpress, and many of them are very good. But this is the Madeglobal take on what we did to speed up one site from a massive 21 second load time to a lovely 3 or 4 seconds.<span id="more-48"></span></p>
<p>Firstly, the site in question is <a href="http://www.theanneboleynfiles.com" target="_blank">http://www.theanneboleynfiles.com</a>,  and the reason the site needed speeding up was because the site was getting up to 1000 people a day visiting. The site had been working fine, but as more and more people began visiting, it suddenly hit a &#8220;wall&#8221; and was mostly unresponsive.</p>
<p>So what did we do?</p>
<h3>First Steps</h3>
<ol>
<li><strong>Update all the plugins. </strong><br />
That&#8217;s because we found that one particular plugin was causing more than 2000 accesses to the database for each page load (wp-e-commerce) and of course that was terrible! It&#8217;s also ALWAYS good practice to update your plugins</li>
<li><strong>Update wordpress</strong>.<br />
Don&#8217;t need to say this? Of course you keep it up-to-date??!</li>
<li><strong>Find out which components are taking a long time to load<br />
</strong>Ok, that&#8217;s an easy statement to make, but we&#8217;ll look into it a little more below&#8230;</li>
<li><strong>Use a Content Delivery System CDN for Wordpress<br />
</strong>What&#8217;s one of them then? A system where images, css and javascript files can be served from <em>other people&#8217;s</em> computers. We have started using www.maxcdn.com and it is absolutely amazing!</li>
<li><strong>Use w3-total-cache<br />
</strong>It is more complicated to use than wp-super-cache, but it flawlessly integrates with your CDN. And it minifies your CSS and your JS AND it does lots of other things really really well.</li>
<li><strong>Use GravatarLocalCache plugin<br />
</strong>This makes your gravatar images be served from Your computer (but we went one better and made them served from the CDN!), which saves a huge amount of time doing DNS lookups for these images. Simple and easy!</li>
<li><strong>Run your site through Firebug &#8220;YSlow&#8221; on firefox<br />
</strong>This will quickly tell you what is big/slow/wrong</li>
<li><strong>Shrink every single image file you use, using Smush.it<br />
</strong>Simple to do if you run it from YSlow (step above) because it automatically feeds all the images into Smush.it, and you can download the shrunk results in the correct directory structure before re-uploading them onto your server. This can save <em>hundreds</em> of kb without any work on your own behalf!</li>
<li><strong>Use &#8220;top&#8221; command from linux to see what is going on<br />
</strong>This command shows you which processes are taking a lot of time, and also how busy your server is. Looking right now at our server, we have 30 simultaneous users online RIGHT NOW, and the server load is around 0.50. NOTE that this is AFTER all of the changes on this page have been added.</li>
<li><strong>Use &#8220;free&#8221; command from linux to see the state of your memory<br />
</strong>The key to this command is the +/- buffers line. Ours says:<br />
-/+ buffers/cache:     135832     637100<br />
And that is good&#8230; lots and lots of free memory!</li>
</ol>
<h3>See how your database is performing</h3>
<p>If you have access, add the following lines into the footer part of your template files:</p>
<p>&lt;!&#8211;&lt;?php echo $wpdb-&gt;num_queries; ?&gt; &lt;?php _e(&#8216;queries&#8217;); ?&gt;. &lt;?php timer_stop(1); ?&gt; &lt;?php _e(&#8217;seconds&#8217;); ?&gt;.&#8211;&gt;</p>
<p>Then reload your page and look at the source code from the browser. This was how we found out that one plugin had gone crazy. We typically get:</p>
<pre id="line1383">&lt;!--114 queries. 1.235 seconds.--&gt;
</pre>
<p>And of course, this is then cached by W3-total-cache, so that the page AND the database entries are cached, page load is typically 3 seconds in total, for this complicated site.</p>
<h3>Use an Op-Code Cache &#8211; use APC</h3>
<p>This is a huge speed up if your site is hosted on your own server, or a server where you can alter the core linux settings.</p>
<p>We installed APC (there are many sites online as to how to do this, depending on your linux flavour) and then we found that it instantly filled up and was refreshing thousands of times. The default setting sets aside 32MB for the APC cache and this simply was not enough. Right now we have increased this to 128MB (there was plenty to spare in our server) and it has vastly increased the speed of the site.</p>
<p>How did we do that?</p>
<p><a href="http://php.net/manual/en/apc.configuration.php">http://php.net/manual/en/apc.configuration.php</a></p>
<p><code>Want to avoid segmentation with apc.shm_segments?If your linux server limits the shared memory block size and you're forced to use apc.shm_segments instead, change the setting by using (here is 512M but change it as you like):<br />
# sysctl -w kernel.shmmax=536870912</code></p>
<p>(but if you want the change to be permanent after a restart you would have to add the following line in /etc/sysctl.conf</p>
<p>kernel.shmmax=536870912)</p>
<p>and updating apc.ini</p>
<p>apc.shm_segments=&#8221;1&#8243;<br />
apc.shm_size=&#8221;512&#8243;</p>
<p>Ok. Then make sure that you make your w3-total-cache database caching use the APC cache method and your database accesses are speed up to mega ultra speed!</p>
<p>The other thing to do is to put in the recommended APC settings (with more memory available) which are outlined within the w3-total-cache plugin. These really do work!</p>
<h3>Tune Apache and MySQL for Wordpress</h3>
<p>We initially had a lot of problems with the server having out-of-memory errors with wordpress. That was because the number of apache clients was too large for the memory available. We did two things:</p>
<ol>
<li>Increase the amount of physical memory in the system (now running with 768MB)</li>
<li>Reduce the number of apache clients to 35. This number evolved as time went by to get it as high as possible</li>
</ol>
<p>The way to do that will be different depending on your linux flavour, so no information is included here&#8230; but it&#8217;s well worth getting the number of simultaneous connections as high as possible, without breaking your memory limits.</p>
<p>Also, increase the amount of MySQL caching memory a little. It is not entirely certain that this has made much of a speed up since a lot of the database work is now being done using the APC caching, BUT for all new queries, it has to make some difference!</p>
<h3>Optimize your MySQL database for wordpress regularly</h3>
<p>With a busy site, inevitably the database will get clogged up with rubbish, which will slow everything down for your wordpress site. So, you can either regularly run &#8220;optimize&#8221; from with PHPMYADMIN on your database, or if you have access to your server, then this is simpler:</p>
<p>(From <a href="http://www.mydigitallife.info/2007/09/21/check-and-optimize-mysql-database-automatically-with-crontabcron/">mydigitallife.info</a>)</p>
<pre>mysql&gt; GRANT SELECT, INSERT ON *.* TO ‘mysql_opt_db’@'localhost’ identified by ‘hard password’;
 mysql&gt; flush privileges;
 mysql&gt; exit;</pre>
<pre>&gt; crontab -e
 # MySQL weekly optimisation
 0 0 * * 0 /usr/bin/mysqlcheck -Aos -u mysql_opt_db -phard password &gt; /dev/null 2&gt;&amp;1</pre>
<h3 id="line1383">AND FINALLY</h3>
<p>Don&#8217;t forget the simple things like checking that your site validates using <a href="http://validator.w3.org/" target="_blank">http://validator.w3.org/</a> because if your code does not validate, it will:</p>
<ol>
<li>not be consistent across all the different browsers</li>
<li>potentially break on some browsers (IE!)</li>
<li>make the browser work harder than it needs to, therefore slowing things down</li>
</ol>
<h3>Conclusion</h3>
<p>The wordpress website was working before any changes, but if more than 4 or 5 people were on there simultaneously, the load on the server went crazy (like up to 20 or more!).</p>
<p>After applying all of the steps above repeatedly until each single step was optimized for wordpress use, the load is now under 1 almost all of the time, even when there are 30+ people on the website at the same time.</p>
<p>Wow. What a lot of work&#8230; but it&#8217;s well worth it to have the fastest possible Wordpress site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madeglobal.com/wordpress/how-to-speed-up-wordpress/48/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Better protected pages now V1.1</title>
		<link>http://www.madeglobal.com/wordpress/better-protected-pages-now-v1-1/34/</link>
		<comments>http://www.madeglobal.com/wordpress/better-protected-pages-now-v1-1/34/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 11:18:38 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://www.madeglobal.com/wordpress/?p=34</guid>
		<description><![CDATA[A minor bug was found with V1.0 which meant that content was shown unless you used the &#8220;Read More&#8221; functions of wordpress. This has now been corrected.
Download the latest version Better Protected Pages V1.1 from wordpress and support our work!
Thanks.
Madeglobal.com
]]></description>
			<content:encoded><![CDATA[<p>A minor bug was found with V1.0 which meant that content was shown unless you used the &#8220;Read More&#8221; functions of wordpress. This has now been corrected.</p>
<p>Download the latest version Better Protected Pages V1.1 from wordpress and support our work!</p>
<p>Thanks.</p>
<p>Madeglobal.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madeglobal.com/wordpress/better-protected-pages-now-v1-1/34/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Screenshots</title>
		<link>http://www.madeglobal.com/wordpress/better-protected-pages/screenshots/</link>
		<comments>http://www.madeglobal.com/wordpress/better-protected-pages/screenshots/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 13:05:35 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://www.madeglobal.com/wordpress/?page_id=25</guid>
		<description><![CDATA[



]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.madeglobal.com/wordpress/wp-content/uploads/2009/07/login_box.jpg"><img class="alignnone size-medium wp-image-26" title="Login Box" src="http://www.madeglobal.com/wordpress/wp-content/uploads/2009/07/login_box-300x229.jpg" alt="Login Box" width="300" height="229" /></a></p>
<p><a href="http://www.madeglobal.com/wordpress/wp-content/uploads/2009/07/admin_page.jpg"><img class="alignnone size-medium wp-image-27" title="Admin Page" src="http://www.madeglobal.com/wordpress/wp-content/uploads/2009/07/admin_page-300x263.jpg" alt="Admin Page" width="300" height="263" /></a></p>
<p><a href="http://www.madeglobal.com/wordpress/wp-content/uploads/2009/07/locked_page_before.jpg"><img class="alignnone size-medium wp-image-28" title="The standard wordpress password protected page" src="http://www.madeglobal.com/wordpress/wp-content/uploads/2009/07/locked_page_before-300x111.jpg" alt="The standard wordpress password protected page" width="300" height="111" /></a></p>
<p><a href="http://www.madeglobal.com/wordpress/wp-content/uploads/2009/07/locked_page_after.jpg"><img class="alignnone size-medium wp-image-29" title="One possible result of the wordpress better protected pages plugin" src="http://www.madeglobal.com/wordpress/wp-content/uploads/2009/07/locked_page_after-300x251.jpg" alt="One possible result of the wordpress better protected pages plugin" width="300" height="251" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.madeglobal.com/wordpress/better-protected-pages/screenshots/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Better Protected Pages</title>
		<link>http://www.madeglobal.com/wordpress/better-protected-pages/</link>
		<comments>http://www.madeglobal.com/wordpress/better-protected-pages/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 10:07:55 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://www.madeglobal.com/wordpress/?page_id=12</guid>
		<description><![CDATA[Better Protected Pages Plugin

Compatible with wordpress 2.7 upwards
Improve Wordpress password protected pages
Enable/Disable the included CSS file from within the plugin
No need to edit any core files
Adds a “RE-LOCK” feature, so that you can lock a page when you are leaving
Show the &#8220;excerpt&#8221; from your page/post (or not &#8211; setup in the admin area!)
Graphics included, or [...]]]></description>
			<content:encoded><![CDATA[<h3>Better Protected Pages Plugin</h3>
<ul>
<li>Compatible with wordpress 2.7 upwards</li>
<li>Improve Wordpress password protected pages</li>
<li>Enable/Disable the included CSS file from within the plugin</li>
<li>No need to edit any core files</li>
<li>Adds a “RE-LOCK” feature, so that you can lock a page when you are leaving</li>
<li>Show the &#8220;excerpt&#8221; from your page/post (or not &#8211; setup in the admin area!)</li>
<li>Graphics included, or make your own to match your theme</li>
<li>Very flexible CSS so that you can easily tweak the layout to match your theme</li>
<li>FREE to use (but you can donate if you want to)</li>
</ul>
<p style="text-align: center;"><strong><a href="http://www.madeglobal.com/wordpress/code/better-protected-pages-1-1.zip">Download better-protected-pages-1-1.zip</a></strong></p>
<p>See an example protected page here: <a href="http://www.madeglobal.com/wordpress/better-protected-pages/protected-page">Example protected page</a></p>
<p>See screenshots if you need to: <a href="http://www.madeglobal.com/wordpress/screenshots" target="_self">Screenshots</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.madeglobal.com/wordpress/better-protected-pages/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Contact</title>
		<link>http://www.madeglobal.com/wordpress/contact/</link>
		<comments>http://www.madeglobal.com/wordpress/contact/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 09:52:11 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://www.madeglobal.com/wordpress/?page_id=7</guid>
		<description><![CDATA[Got any issues, problems or need some design work doing&#8230; let me know!
]]></description>
			<content:encoded><![CDATA[<p>Got any issues, problems or need some design work doing&#8230; let me know!</p>
<div class="wpcf7" id="wpcf7-f1-p7-o1">
<form action="/wordpress/feed/#wpcf7-f1-p7-o1" method="post" class="wpcf7-form">
<div style="display: none;"><input type="hidden" name="_wpcf7" value="1" /><input type="hidden" name="_wpcf7_version" value="1.10.0.1" /><input type="hidden" name="_wpcf7_unit_tag" value="wpcf7-f1-p7-o1" /></div>
<p>Your Name (required)<br />
    <span class="wpcf7-form-control-wrap your-name"><input type="text" name="your-name" value="" class="wpcf7-validates-as-required" size="40" /></span> </p>
<p>Your Email (required)<br />
    <span class="wpcf7-form-control-wrap your-email"><input type="text" name="your-email" value="" class="wpcf7-validates-as-email wpcf7-validates-as-required" size="40" /></span> </p>
<p>Subject<br />
    <span class="wpcf7-form-control-wrap your-subject"><input type="text" name="your-subject" value="" size="40" /></span> </p>
<p>Your Message<br />
    <span class="wpcf7-form-control-wrap your-message"><textarea name="your-message" cols="40" rows="10"></textarea></span> </p>
<p><input type="submit" value="Send" /> <img class="ajax-loader" style="visibility: hidden;" alt="ajax loader" src="http://www.madeglobal.com/wordpress/wp-content/plugins/contact-form-7/images/ajax-loader.gif" /></p>
<div class="wpcf7-response-output wpcf7-display-none"></div>
</form>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.madeglobal.com/wordpress/contact/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to improve password protected pages with a wordpress plugin</title>
		<link>http://www.madeglobal.com/wordpress/how-to-improve-password-protected-pages-with-a-wordpress-plugin/5/</link>
		<comments>http://www.madeglobal.com/wordpress/how-to-improve-password-protected-pages-with-a-wordpress-plugin/5/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 08:34:35 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://www.madeglobal.com/wordpress/?p=5</guid>
		<description><![CDATA[Introducing the new &#8220;Better Protected Pages&#8221; plugin for Wordpress.

Compatible with wordpress 2.7 upwards
Improve Wordpress password protected pages
Enable/Disable the included CSS file from within the plugin
No need to edit any core files
Adds a &#8220;RE-LOCK&#8221; feature, so that you can lock a page when you are leaving
Graphics included, or make your own to match your theme
Very flexible [...]]]></description>
			<content:encoded><![CDATA[<p>Introducing the new &#8220;Better Protected Pages&#8221; plugin for Wordpress.</p>
<ul>
<li>Compatible with wordpress 2.7 upwards</li>
<li>Improve Wordpress password protected pages</li>
<li>Enable/Disable the included CSS file from within the plugin</li>
<li>No need to edit any core files</li>
<li>Adds a &#8220;RE-LOCK&#8221; feature, so that you can lock a page when you are leaving</li>
<li>Graphics included, or make your own to match your theme</li>
<li>Very flexible CSS so that you can easily tweak the layout to match your theme</li>
</ul>
<p><a href="http://www.madeglobal.com/wordpress/better-protected-pages">Download the &#8220;Better Protected Pages&#8221; plugin here.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.madeglobal.com/wordpress/how-to-improve-password-protected-pages-with-a-wordpress-plugin/5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Protected: Example Protected Page</title>
		<link>http://www.madeglobal.com/wordpress/better-protected-pages/protected-page/</link>
		<comments>http://www.madeglobal.com/wordpress/better-protected-pages/protected-page/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 08:22:51 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://www.madeglobal.com/wordpress/?page_id=3</guid>
		<description><![CDATA[There is no excerpt because this is a protected post.]]></description>
			<content:encoded><![CDATA[<p>This is the text which is found before the READ MORE sign &#8211; this can be used as a &#8220;teaser&#8221; for your protected pages.</p>
<p>There is more to see after the read more, and you should use the password &#8220;protected&#8221;.</p>
<p>NOTE: Use the password <strong>&#8220;protected&#8221;</strong> (in lower case) to view the rest of this page.</p>
<div class="passwordtopbox"></div>
<div class="password">
<form action="http://www.madeglobal.com/wordpress/wp-pass.php" method="post">
</p>
<p><label for="pwbox-3">
<div class="passwordphrase">Enter your password:</div>
<input name="post_password" class="passwordentry" id="pwbox-3" type="password" size="20" /></label><br />
<input type="submit" class="passwordsubmit" name="Submit" value="Submit" /></p></form>
</p></div>
<div class="passwordbottombox"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.madeglobal.com/wordpress/better-protected-pages/protected-page/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>About</title>
		<link>http://www.madeglobal.com/wordpress/about/</link>
		<comments>http://www.madeglobal.com/wordpress/about/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 08:17:51 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://www.madeglobal.com/wordpress/?page_id=2</guid>
		<description><![CDATA[I have been making websites for many years now (too many to mention), progressing from HTML, through ZenCart, Joomla (that was good!), and now finally &#8230;. Wordpress!
At last, a framework which is simple to extend, to edit and to improve without touching the core code!
So&#8230; enjoy these plugins, and if you would like to, you [...]]]></description>
			<content:encoded><![CDATA[<p>I have been making websites for many years now (too many to mention), progressing from HTML, through ZenCart, Joomla (that was good!), and now finally &#8230;. Wordpress!</p>
<p>At last, a framework which is simple to extend, to edit and to improve without touching the core code!</p>
<p>So&#8230; enjoy these plugins, and if you would like to, you can support me in my work!</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="7109203">
<input type="image" src="https://www.paypal.com/en_US/GB/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1"><br />
</form>
<p>Tim Ridgway.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madeglobal.com/wordpress/about/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
