<?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>Macuha.com &#187; Wordpress</title> <atom:link href="http://www.macuha.com/category/wordpress/feed/" rel="self" type="application/rss+xml" /><link>http://www.macuha.com</link> <description>Making money online using SEO techniques.</description> <lastBuildDate>Sat, 06 Apr 2013 07:30:05 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Fix For Cloudflare Railgun Problem On WordPress Blogs On Dreamhost</title><link>http://www.macuha.com/2013/02/wordpress/fix-for-cloudflare-railgun-problem-on-wordpress-blogs-on-dreamhost/</link> <comments>http://www.macuha.com/2013/02/wordpress/fix-for-cloudflare-railgun-problem-on-wordpress-blogs-on-dreamhost/#comments</comments> <pubDate>Thu, 28 Feb 2013 14:35:20 +0000</pubDate> <dc:creator>Marhgil Macuha</dc:creator> <category><![CDATA[How To]]></category> <category><![CDATA[Wordpress]]></category><guid isPermaLink="false">http://www.macuha.com/?p=3696</guid> <description><![CDATA[When you enabled Cloudflare Railgun on your WordPress blog on Dreamhost, you might not be able to login to the Dashboard if you enabled the &#8220;Extra Web Security&#8221; feature when you set up your domain. How can you post now if you can&#8217;t login, right? I&#8217;ve reported this problem to Dreamhost and they are already [...]]]></description> <content:encoded><![CDATA[<p>When you enabled <strong>Cloudflare Railgun</strong> on your <strong>WordPress</strong> blog on <strong>Dreamhost</strong>, you might not be able to login to the Dashboard if you enabled the &#8220;<strong>Extra Web Security</strong>&#8221; feature when you set up your domain. How can you post now if you can&#8217;t login, right?</p><p><span id="more-3696"></span>I&#8217;ve reported this problem to <strong>Dreamhost</strong> and they are already working for a fix. For now, if you still want to use <strong>Railgun</strong> and be able to login to your <strong>Dashboard</strong> while &#8220;<strong>Extra Web Security</strong>&#8221; is enabled, the work-around is to use <strong>Cloudflare&#8217;s Pagerule</strong>:</p><p>On your Cloudflare account, create the following Pagerule on your website.</p><blockquote><p><strong>Pattern</strong>: www.yourwebsite.com/wp-login.*<br /> <strong>Rule</strong>: Apps: Off, Performance: Off, Security: Off, Cache level: Bypass cache</p><p><strong>Pattern</strong>: www.yourwebsite.com/wp-admin*<br /> <strong>Rule</strong>: Apps: Off, Performance: Off, Security: Off, Cache level: Bypass cache</p></blockquote><p>If you are using <strong>SSL</strong> on your <strong>Dashboard</strong>, you can set this rule instead of the rules above:</p><blockquote><p><strong>Pattern</strong>: https://www.yourwebsite.com/*<br /> <strong>Rule</strong>: Apps: Off, Performance: Off, Security: Off, Cache level: Bypass cache</p></blockquote><p>After setting these up, you&#8217;re good to go after 60 seconds. You will be able now to login to your <strong>WordPress Dashboard</strong> while your visitors are being served fast with <strong>Railgun</strong>.</p><p>Based on my experience, <strong>Vaultpress</strong> is also having problems connecting to your site when you enabled <strong>Railgun</strong> and &#8220;Extra Web Security&#8221; is enabled. If you are using <strong>Vaultpress</strong> and encountered 500, 502, or 503 errors after enabling <strong>Railgun</strong>, set this Pagerule and everything will be back to normal:</p><blockquote><p><strong>Pattern</strong>: www.yourwebsite.com/wp-load*<br /> <strong>Rule</strong>: Apps: Off, Performance: Off, Security: Off, Cache level: Bypass cache</p></blockquote><p>These settings work for me. It is configured on this blog. As you can see, I can login to my <strong>Dashboard</strong> and post this post and <strong>Railgun</strong> is enabled on this blog. I can&#8217;t guarantee that it will work for you too. Hopefully, it does.</p><p>That&#8217;s all folks.<p>If you like this post, <a href="http://www.macuha.com/buy-me-beer/">buy me a beer!</a></p> ]]></content:encoded> <wfw:commentRss>http://www.macuha.com/2013/02/wordpress/fix-for-cloudflare-railgun-problem-on-wordpress-blogs-on-dreamhost/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How To Setup SSL on WordPress Admin Using Cloudflare Flexible SSL</title><link>http://www.macuha.com/2012/05/wordpress/how-to-setup-ssl-on-wordpress-admin-using-cloudflare-flexible-ssl/</link> <comments>http://www.macuha.com/2012/05/wordpress/how-to-setup-ssl-on-wordpress-admin-using-cloudflare-flexible-ssl/#comments</comments> <pubDate>Thu, 03 May 2012 18:35:08 +0000</pubDate> <dc:creator>Marhgil Macuha</dc:creator> <category><![CDATA[AdOK]]></category> <category><![CDATA[How To]]></category> <category><![CDATA[Internet]]></category> <category><![CDATA[Wordpress]]></category><guid isPermaLink="false">http://www.macuha.com/?p=3640</guid> <description><![CDATA[Disclaimer: This works for me. I&#8217;m not sure if it will work for you. Try at your own risk. I will not be held liable if your server stopped responding, OK? Image Credit: Cloudflare See TLDR below if you are in a hurry. Now, let&#8217;s start first with my story&#8230; The past few days, I&#8217;ve [...]]]></description> <content:encoded><![CDATA[<p><strong>Disclaimer</strong>: This works for me. I&#8217;m not sure if it will work for you. Try at your own risk. I will not be held liable if your server stopped responding, OK?</p><p><span id="more-3640"></span><div style="float:right;padding:10px"> <img src="http://www.macuha.com/wp-content/uploads/2012/05/cloudflare-ssl.png" alt="Cloudflare SSL Options" title="Cloudflare SSL Options" width="302" height="277" class="alignnone size-full wp-image-3641" /><br /><center><em>Image Credit: Cloudflare</em></center></div><p><strong>See <a href="#TLDR">TLDR below</a> if you are in a hurry.</strong> <img src='http://www.macuha.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p><p>Now, let&#8217;s start first with my story&#8230;</p><p>The past few days, I&#8217;ve been trying to setup SSL on BatangasToday.com for extra security using <strong>Cloudflare&#8217;s Flexible SSL</strong>. After several days of trial-and-error, I finally nailed it!</p><p>The <a href="http://codex.wordpress.org/Administration_Over_SSL">instruction on the WordPress.org</a> website is simple. Just add the following code on wp-config.php file and it will work.</p><blockquote><p> define(&#8216;FORCE_SSL_ADMIN&#8217;, true);</p></blockquote><p>Well, it will work if you have a <strong>Full SSL</strong> setup. (Refer to the image on the right to know the difference, ok?) But for a <strong>Flexible SSL</strong> on <strong>Cloudflare</strong>, setting it will result in <strong>infinite redirect loop</strong> error.</p><p>However, according to that same instruction, you need to  put additional code on wp-config.php if you are on <strong>Reverse Proxy</strong>, just like <strong>Cloudflare</strong>. The code looks like this:</p><blockquote><p> define(&#8216;FORCE_SSL_ADMIN&#8217;, true);<br /> define(&#8216;FORCE_SSL_LOGIN&#8217;, true);<br /> if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == &#8216;https&#8217;)<br /> $_SERVER['HTTPS']=&#8217;on&#8217;;</p></blockquote><p>Tried the code. The result is the same infinite redirect loop error. That&#8217;s because maybe, <strong>Cloudflare</strong> is not setting up HTTP_X_FORWARDED_PROTO properly.</p><p>When I contacted Cloudflare asking them to check if they are setting up HTTP_X_FORWARDED_PROTO properly, they instead suggested me to go the <strong>Full SSL</strong> route.</p><p>So I asked them, &#8220;Can&#8217;t you fix this without advising us to go to the Full SSL route?&#8221; In which their support replied, &#8220;I can most certainly have us check it out.  I am curious, however, if choosing the full option gets rid of the loop.&#8221;</p><p>Well, I don&#8217;t know if choosing the full option can get rid of the loop, since I don&#8217;t have the ability to go <strong>Full SSL</strong> since I don&#8217;t have SSL setup on my host. Setting up my own SSL on my host costs $3.95/month for self-signed certificate. I&#8217;m a cheap a$$ so I insisted that they set HTTP_X_FORWARDED_PROTO properly. <img src='http://www.macuha.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>Then, after some more googling, I found <a href="http://wordpress.org/support/topic/plugin-wordpress-https-ssl-modified-for-cloudflare?replies=9">this forum post.</a> Analyzing the code there made me think that Cloudflare might not be setting up HTTP_X_FORWARDED_PROTO properly, but they are sending HTTP_CF_VISITOR with &#8220;https&#8221; substring on its value when the site is being accessed on https.</p><p>So, instead of checking for HTTP_X_FORWARDED_PROTO, I checked HTTP_CF_VISITOR on wp-config.php file. I added the code below instead of the code suggested above:</p><blockquote><p> define(&#8216;FORCE_SSL_ADMIN&#8217;, true);<br /> define(&#8216;FORCE_SSL_LOGIN&#8217;, true);<br /> if( isset($_SERVER['HTTP_CF_VISITOR']) &#038;&#038; strpos($_SERVER['HTTP_CF_VISITOR'], &#8216;https&#8217;) )<br /> $_SERVER['HTTPS']=&#8217;on&#8217;;</p></blockquote><p>And bang! No more infinite redirect loop. And I can access all admin pages on https. And everything works fine! Except for the mixed content error, which simply means that I am showing pages on http and https, mixed, since some CSS files are taken from the http.</p><p>To fix that, I installed the <a href="http://wordpress.org/extend/plugins/wordpress-https/">WordPress HTTPS</a> plugin, to remove the mixed content error and see the &#8220;green lock&#8221; on the browser when I&#8217;m on the WordPress Admin panel.</p><p>Everything works fine now.</p><p>=======<br /> <span id="TLDR"></span><br /> <strong>TLDR.</strong> If <strong>Flexible SSL</strong> is already setup on your <strong>Cloudflare</strong> account, you just need to add the following code on <strong>wp-config.php</strong> file.</p><blockquote><p> define(&#8216;FORCE_SSL_ADMIN&#8217;, true);<br /> define(&#8216;FORCE_SSL_LOGIN&#8217;, true);<br /> if( isset($_SERVER['HTTP_CF_VISITOR']) &#038;&#038; strpos($_SERVER['HTTP_CF_VISITOR'], &#8216;https&#8217;) )<br /> $_SERVER['HTTPS']=&#8217;on&#8217;;</p></blockquote><p>You can optionally install <a href="http://wordpress.org/extend/plugins/wordpress-https/">WordPress HTTPS</a> plugin to remove mixed content warning on your browser and see the &#8220;green lock&#8221;.</p><p>That&#8217;s all folks!</p><p>BTW, I&#8217;m using Dreamhost&#8217;s <a href="http://dreamhost.com/r.cgi?361819/partners/cloudflare/cloudflare-features/"><strong>Cloudflare Plus</strong></a> option, cheaper than the <strong>Cloudflare Pro</strong> option.<p>If you like this post, <a href="http://www.macuha.com/buy-me-beer/">buy me a beer!</a></p> ]]></content:encoded> <wfw:commentRss>http://www.macuha.com/2012/05/wordpress/how-to-setup-ssl-on-wordpress-admin-using-cloudflare-flexible-ssl/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>WordPress 3.3 Sonny Released</title><link>http://www.macuha.com/2011/12/wordpress/wordpress-3-3-sonny-released/</link> <comments>http://www.macuha.com/2011/12/wordpress/wordpress-3-3-sonny-released/#comments</comments> <pubDate>Tue, 13 Dec 2011 03:02:20 +0000</pubDate> <dc:creator>Marhgil Macuha</dc:creator> <category><![CDATA[Wordpress]]></category><guid isPermaLink="false">http://www.macuha.com/?p=3583</guid> <description><![CDATA[WordPress 3.3 &#8220;Sonny&#8221; has been released recently. I did not hesitate to upgrade this blog after checking out the features on the WordPress website. Below is its new features: So far, I haven&#8217;t encountered any problems with the plugins. All my plugins still work after the upgrade. If you see any WordPress errors on this [...]]]></description> <content:encoded><![CDATA[<p>WordPress 3.3 &#8220;Sonny&#8221; has been released recently. I did not hesitate to upgrade this blog after checking out the features on the WordPress website.</p><p>Below is its new features:<br /> <span id="more-3583"></span><br /><center><br /> <embed type="application/x-shockwave-flash" src="http://s0.videopress.com/player.swf?v=1.03" width="400" height="224" wmode="direct" seamlesstabbing="true" allowfullscreen="true" allowscriptaccess="always" overstretch="true" flashvars="guid=I7NAw9Zk&amp;isDynamicSeeking=true"></embed><br /></center></p><p>So far, I haven&#8217;t encountered any problems with the plugins. All my plugins still work after the upgrade. If you see any WordPress errors on this blog, kindly inform me. Thanks!<p>If you like this post, <a href="http://www.macuha.com/buy-me-beer/">buy me a beer!</a></p> ]]></content:encoded> <wfw:commentRss>http://www.macuha.com/2011/12/wordpress/wordpress-3-3-sonny-released/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Falling Snow On Your WordPress Blog</title><link>http://www.macuha.com/2011/12/wordpress/falling-snow-on-your-wordpress-blog/</link> <comments>http://www.macuha.com/2011/12/wordpress/falling-snow-on-your-wordpress-blog/#comments</comments> <pubDate>Thu, 01 Dec 2011 05:05:24 +0000</pubDate> <dc:creator>Marhgil Macuha</dc:creator> <category><![CDATA[Wordpress]]></category><guid isPermaLink="false">http://www.macuha.com/?p=3578</guid> <description><![CDATA[It&#8217;s already December. Do you want to have a falling snow effect on your WordPress blog? Well, it&#8217;s actually easy to put some falling snow on your blog. All you have to do is install the &#8220;Let It Snow&#8221; plugin. Let It Snow plugin is available at the WordPress plugin directory for free. Simply install [...]]]></description> <content:encoded><![CDATA[<p>It&#8217;s already <strong>December</strong>. Do you want to have a <strong>falling snow effect</strong> on your WordPress blog?</p><p><span id="more-3578"></span>Well, it&#8217;s actually easy to put some <strong>falling snow</strong> on your blog. All you have to do is install the <strong>&#8220;Let It Snow</strong>&#8221; plugin.</p><p><strong>Let It Snow</strong> plugin is available at the <strong>WordPress plugin directory</strong> for free. Simply install it on your blog, activate and snow will start falling on your blog.</p><p>There are some settings you can adjust. Like changing the color of the snow. Changing the speed of the snow. And many more. But if you are lazy like me, the default configuration is already good to go. I simply changed the color.</p><p><a href="http://wordpress.org/extend/plugins/let-it-snow/">Download the <strong>falling snow</strong> plugin here</a>. See it in action at my other site: <a href="http://90.7loveradio.com">90.7 Love Radio</a>.<p>If you like this post, <a href="http://www.macuha.com/buy-me-beer/">buy me a beer!</a></p> ]]></content:encoded> <wfw:commentRss>http://www.macuha.com/2011/12/wordpress/falling-snow-on-your-wordpress-blog/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>WordPress 3.2 Released</title><link>http://www.macuha.com/2011/07/wordpress/wordpress-3-2-released/</link> <comments>http://www.macuha.com/2011/07/wordpress/wordpress-3-2-released/#comments</comments> <pubDate>Tue, 05 Jul 2011 12:44:42 +0000</pubDate> <dc:creator>Marhgil Macuha</dc:creator> <category><![CDATA[Wordpress]]></category><guid isPermaLink="false">http://www.macuha.com/?p=3536</guid> <description><![CDATA[I just installed WordPress 3.2 on this blog as it has just been released recently. So far, all my plugins work. Kindly inform me thru the comments if you see errors on this blog. What&#8217;s new on 3.2? Aside from the new look, there is a full-screen mode when composing your post. Fullscreen in the [...]]]></description> <content:encoded><![CDATA[<p>I just installed WordPress 3.2 on this blog as it has just been released recently. So far, all my plugins work.</p><p><span id="more-3536"></span>Kindly inform me thru the comments if you see errors on this blog.</p><p>What&#8217;s new on 3.2? Aside from the new look, there is a full-screen mode when composing your post. Fullscreen in the sense that all you see is your post, everything is hidden.</p><p>According to WordPress, they have made security fixes on this new version, fixing about 400 issues.</p><p>So far, so good.<p>If you like this post, <a href="http://www.macuha.com/buy-me-beer/">buy me a beer!</a></p> ]]></content:encoded> <wfw:commentRss>http://www.macuha.com/2011/07/wordpress/wordpress-3-2-released/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>How To Setup CDN On WordPress Using MaxCDN and WP Super Cache</title><link>http://www.macuha.com/2011/03/wordpress/how-to-setup-cdn-on-wordpress-using-maxcdn-and-wp-super-cache/</link> <comments>http://www.macuha.com/2011/03/wordpress/how-to-setup-cdn-on-wordpress-using-maxcdn-and-wp-super-cache/#comments</comments> <pubDate>Tue, 01 Mar 2011 05:46:53 +0000</pubDate> <dc:creator>Marhgil Macuha</dc:creator> <category><![CDATA[AdOK]]></category> <category><![CDATA[How To]]></category> <category><![CDATA[Wordpress]]></category><guid isPermaLink="false">http://www.macuha.com/?p=3441</guid> <description><![CDATA[Tutorials on how to setup CDN on WordPress using MaxCDN and W3 Total Cache is already abundant on the internet. But I did not see any tutorial on doing it using WP Super Cache. I opted to use WP Super Cache instead of the W3 Total Cache because I don&#8217;t like changing my caching plugin. [...]]]></description> <content:encoded><![CDATA[<p>Tutorials on how to setup CDN on <strong>WordPress</strong> using <a href="http://www.macuha.com/maxcdn/">MaxCDN</a> and <strong>W3 Total Cache</strong> is already abundant on the internet. But I did not see any tutorial on doing it using <strong>WP Super Cache.</strong> I opted to use <strong>WP Super Cache</strong> instead of the <strong>W3 Total Cache</strong> because I don&#8217;t like changing my caching plugin.</p><p><span id="more-3441"></span>So, how do you setup <a href="http://www.macuha.com/maxcdn/">MaxCDN</a> on a WordPress blog? Here&#8217;s how.</p><p>1. Create a pull zone on <a href="http://www.macuha.com/maxcdn/">MaxCDN</a> and a CNAME record. I&#8217;ll just refer you to an easy to follow tutorial on how to do this on <a href="http://wpveda.com/maxcdn-setup-on-wordpress-using-w3-total-cache-plugin-wpmu-tutorial/">WPVeda</a>. Just follow that guide up to step 3 (Creating a CNAME record) then come back here. <img src='http://www.macuha.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p><p>2. By this time, you already created a pull zone and a CNAME record. Setting the CNAME record varies from registrar to registrar. If you are still confused, here&#8217;s how I created the CNAME record for macuha.com on Dreamhost.<br /><center><br /> <a href="http://www.macuha.com/wp-content/uploads/2011/03/cname-record.jpg"><img src="http://www.macuha.com/wp-content/uploads/2011/03/cname-record-300x168.jpg" alt="setting cname record on dreamhost" title="cname-record" width="300" height="168" class="alignnone size-medium wp-image-3442" /></a><br /> <em>Click image for larger view</em><br /></center></p><p>Wait for 24 hours to make sure your settings are propagated already. After 24 hours, configure <strong>WP Super Cache</strong>.</p><p>3. Simply go to <strong>CDN</strong> tab of the <strong>WP Super Cache</strong> settings, check the <strong>Enable CDN Support</strong> and input your <strong>CDN URL</strong> on the <strong>Off-site URL</strong>.<br /><center><br /> <a href="http://www.macuha.com/wp-content/uploads/2011/03/CDN-Configuration.jpg"><img src="http://www.macuha.com/wp-content/uploads/2011/03/CDN-Configuration-300x156.jpg" alt="CDN Configuration for WP Super Cache" title="CDN-Configuration" width="300" height="156" class="alignnone size-medium wp-image-3443" /></a><br /> <em>Click image for larger view</em><br /></center></p><p>4. Check your site&#8217;s source code and make sure that images and css files are now served using the CDN URL. For example:</p><p>http://www.macuha.com/wp-includes/images/smilies/icon_smile.gif</p><p>is now served as</p><p>http://cdn.macuha.com/wp-includes/images/smilies/icon_smile.gif</p><p>5. Clear your <strong>WP Super Cache</strong> contents to make sure all your pages will now start uploading files on the CDN pull zone and start serving CDN files to the visitors.</p><p>That&#8217;s all folks!<p>If you like this post, <a href="http://www.macuha.com/buy-me-beer/">buy me a beer!</a></p> ]]></content:encoded> <wfw:commentRss>http://www.macuha.com/2011/03/wordpress/how-to-setup-cdn-on-wordpress-using-maxcdn-and-wp-super-cache/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>This Blog Is Now Using a Content Delivery Network (CDN)</title><link>http://www.macuha.com/2011/01/wordpress/this-blog-is-now-using-a-content-delivery-network-cdn/</link> <comments>http://www.macuha.com/2011/01/wordpress/this-blog-is-now-using-a-content-delivery-network-cdn/#comments</comments> <pubDate>Sun, 30 Jan 2011 06:40:09 +0000</pubDate> <dc:creator>Marhgil Macuha</dc:creator> <category><![CDATA[Internet]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[Wordpress]]></category><guid isPermaLink="false">http://www.macuha.com/?p=3428</guid> <description><![CDATA[This blog and most of my sites are now running under a content delivery network aka CDN. Basically, a CDN is a computer network all over the world used to deliver content, as the name implies . It speeds up the delivery of content because content is being delivered to visitors from the nearest server [...]]]></description> <content:encoded><![CDATA[<p>This blog and most of my sites are now running under a <strong>content delivery network</strong> aka <strong>CDN</strong>. Basically, a <strong>CDN</strong> is a computer network all over the world used to deliver content, as the name implies <img src='http://www.macuha.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . It speeds up the delivery of content because content is being delivered to visitors from the nearest server available to them.</p><p><span id="more-3428"></span>For example, if somebody from Amsterdam visits this blog, instead of downloading all the static files (css, jpg, ico, js, etc..) directly from my host (<a href="http://www.macuha.com/dreamhost/">Dreamhost</a>), the files will be delivered from a server in Amsterdam, making it load faster. If someone from LA visits this blog, it will receive the files from an LA server.</p><p>Aside from speed advantage, it lightens the load on my server. It will only serve the static files to the CDN and the CDN will be the one delivering them to the visitors. Bandwidth and memory usage decrease which in turn pull down my monthly hosting payment.</p><p>I just paid $39.95 for the CDN for 1 TB bandwidth for 1 year, speed up my sites and made a monthly savings on my hosting payment of around $50. This means that I paid $39.95 to save $600 in one year. Not bad, isn&#8217;t it? Though $39.95 is just a promo price, the regular price is only $99, which I&#8217;ll pay on my second year. Still, an advantage for me.</p><p>I use <a href="http://www.macuha.com/maxcdn/">MaxCDN</a> for my CDN needs. The CDN used by John Chow, Mashable and CopyBlogger. I&#8217;ll be posting a tutorial on how to implement MaxCDN to a self-hosted WordPress blog using WP Super Cache in the near future. Most of the tutorial I see online uses W3 Total Cache. Since I&#8217;m a WP Super Cache user and I don&#8217;t like changing plugins just to use another service, I studied and found a way to implement CDN using WP Super Cache. I&#8217;ll blog about it later, maybe tomorrow.<p>If you like this post, <a href="http://www.macuha.com/buy-me-beer/">buy me a beer!</a></p> ]]></content:encoded> <wfw:commentRss>http://www.macuha.com/2011/01/wordpress/this-blog-is-now-using-a-content-delivery-network-cdn/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>How To Back-up Your WordPress Database Automatically</title><link>http://www.macuha.com/2010/09/wordpress/how-to-back-up-your-wordpress-database-automatically/</link> <comments>http://www.macuha.com/2010/09/wordpress/how-to-back-up-your-wordpress-database-automatically/#comments</comments> <pubDate>Fri, 17 Sep 2010 12:48:45 +0000</pubDate> <dc:creator>Marhgil Macuha</dc:creator> <category><![CDATA[AdOK]]></category> <category><![CDATA[How To]]></category> <category><![CDATA[Wordpress]]></category><guid isPermaLink="false">http://www.macuha.com/?p=3341</guid> <description><![CDATA[Like what I&#8217;ve said in my previous post, this topic deserves a separate post. This time, we will back-up our WordPress database automatically. Again, the same set and forget way. You&#8217;ll have your latest back-up copy of your database everyday if you want. To back-up the database, you need to install a WordPress plugin. This [...]]]></description> <content:encoded><![CDATA[<p>Like what I&#8217;ve said in <a href="http://www.macuha.com/2010/09/wordpress/how-to-backup-your-wordpress-files-automatically-using-syncback/">my previous post</a>, this topic deserves a separate post. This time, we will <strong>back-up our WordPress database automatically</strong>. Again, the same <strong>set and forget way</strong>. You&#8217;ll have your latest back-up copy of your database everyday if you want.</p><p><span id="more-3341"></span>To back-up the database, you need to install a WordPress plugin. This plugin will automatically e-mail a copy of your database to your chosen email address using the schedule you set. You can set it up to email the back-up everyday, every week or every month, depending on your needs.</p><p>So, here&#8217;s the simple process.</p><p>1. Download, install and activate the <strong>WP-DBManager Plugin</strong> on your blog. <a href="http://wordpress.org/extend/plugins/wp-dbmanager/">Plugin Download and Installation Guide</a>.</p><p>2. Go to <strong>Database</strong> > <strong>DB Options</strong> on your WordPress sidebar. Set your schedule and you&#8217;re done! Use GZIP to lessen the file size. Of course, you need to check your email if it successfully received the back-up file. <em>(Click screenshot below for a full size view)</em></p><p><a href="http://www.macuha.com/wp-content/uploads/2010/09/auto-db-backup.png"><img src="http://www.macuha.com/wp-content/uploads/2010/09/auto-db-backup-300x120.png" alt="Auto WordPress DB Backup" title="Auto WordPress DB Backup" width="300" height="120" class="alignnone size-medium wp-image-3342" /></a></p><p>3. Optionally, you can also do an automatic optimization of your database as you can see from the screenshot above. This is highly recommended for high-traffic and often updated blogs to keep your database healthy.</p><p>To make life easier for me, I created a dedicated email address for my back-up as you see on the screenshot. I did this so that it does not clutter my existing email, and if I need a back-up of my WordPress database, I&#8217;ll just open that email address.</p><p>That&#8217;s all!</p><p>Wait there&#8217;s more! Learn how to <strong>automatically back-up your WordPress files</strong> <a href="http://www.macuha.com/2010/09/wordpress/how-to-backup-your-wordpress-files-automatically-using-syncback/">here</a>.</p><p>If you like this post, <a href="http://www.macuha.com/buy-me-beer/">buy me a beer!</a></p> ]]></content:encoded> <wfw:commentRss>http://www.macuha.com/2010/09/wordpress/how-to-back-up-your-wordpress-database-automatically/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>How To Backup Your WordPress Files Automatically Using SyncBack</title><link>http://www.macuha.com/2010/09/wordpress/how-to-backup-your-wordpress-files-automatically-using-syncback/</link> <comments>http://www.macuha.com/2010/09/wordpress/how-to-backup-your-wordpress-files-automatically-using-syncback/#comments</comments> <pubDate>Mon, 13 Sep 2010 14:42:11 +0000</pubDate> <dc:creator>Marhgil Macuha</dc:creator> <category><![CDATA[AdOK]]></category> <category><![CDATA[How To]]></category> <category><![CDATA[Wordpress]]></category><guid isPermaLink="false">http://www.macuha.com/?p=3321</guid> <description><![CDATA[When backing up a WordPress blog, you need to know that you have to back-up not only the WordPress database but also some WordPress files. Backing up WordPress database will be subject of another post. This time, I&#8217;ll show you how to back-up your WordPress files automatically on schedule. Set it and forget it kind [...]]]></description> <content:encoded><![CDATA[<p>When backing up a <strong>WordPress</strong> blog, you need to know that you have to back-up not only the <strong>WordPress database</strong> but also some <strong>WordPress files</strong>. Backing up WordPress database will be subject of another post. This time, I&#8217;ll show you <strong>how to back-up your WordPress files automatically on schedule</strong>. Set it and forget it kind of way. <img src='http://www.macuha.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p><span id="more-3321"></span>Ideally, you must back-up all the contents of <strong>wp-contents</strong> folder to have a full back-up of your WordPress files. However, that would consume a lot of time, CPU and memory resources. In my case, I just made a one-time back-up of my <strong>plugins</strong> and <strong>themes</strong> folder and made a scheduled back-up of the <strong>uploads</strong> folder. Contents of <strong>plugins</strong> and <strong>themes</strong> folder don&#8217;t change a lot. You can even download them from the plugin and theme maker when you lost your copy. <strong>Uploads</strong> folder contains all your images and other uploads when you make a post. This is what you should back-up regularly.</p><p>So, how do I back-up my uploads folder regularly and automatically? I use <strong>SyncBack</strong>. It&#8217;s an award winning back-up software. Best of all, it&#8217;s a free software! No nag screen. No advertisement. No registration. No payments. No expiration. A completely free software that does the job very well.</p><p><strong>Syncback</strong> is a flexible back-up software. You can configure it to connect to your FTP server, check the files there, compare the files to your local back-up and download only the new files and files that are modified. You can schedule this task to run automatically every day, every week, every month depending on your needs.</p><p>Initial running of the software might consume so much time depending on your internet connection speed and the amount of files in your<strong> FTP server</strong>, since it will download ALL the files from your server to your local folder. Mine takes at least an hour to finish. But after that, it will just download the new and modified files on the next scheduled run. During a scheduled run, it runs in the background consuming less CPU and memory resources. So, you can do your work on your computer while it is backing-up your files.</p><p>Now, let me guide you on <strong>how to setup Syncback</strong> in your computer so that you can back-up your WordPress files automatically.</p><p>Download Syncback software <a href="http://www.2brightsparks.com/freeware/">here</a>. Just download the free version which is only 1.77MB. Then, install it on your computer. Then, follow the instruction below to back-up your files from your server to your PC automatically:</p><p>1. Prepare your back-up folder. Create a back-up folder in your PC.</p><p>2. Run the <strong>Syncback</strong> software.</p><p>3. Create a new Profile. Click <strong>Profile</strong> > <strong>New</strong>. Choose <strong>Back-up</strong> when prompted. Create a descriptive name for your profile.</p><p>4. Click the <strong>Expert button</strong> below.</p><p><a href="http://www.macuha.com/wp-content/uploads/2010/09/Expert-Button.png"><img src="http://www.macuha.com/wp-content/uploads/2010/09/Expert-Button-300x244.png" alt="Expert Button" title="Expert-Button" width="300" height="244" class="alignnone size-medium wp-image-3323" /></a></p><p>5. Specify the <strong>Source</strong> by clicking the <strong>folder icon</strong> beside it. Use the one you created on Step 1.</p><p>6. For the <strong>Destination</strong>, DON&#8217;T click the folder icon yet. Click the <strong>FTP tab</strong> first.</p><p>7. On the <strong>FTP tab</strong>, check <strong>&#8220;The destination directory is on an FTP server.&#8221;</strong> Then, input your <strong>FTP credentials</strong>. Click <strong>Test FTP settings</strong> to make sure that everything works fine.</p><p><a href="http://www.macuha.com/wp-content/uploads/2010/09/FTP-Settings.png"><img src="http://www.macuha.com/wp-content/uploads/2010/09/FTP-Settings-300x244.png" alt="FTP Settings" title="FTP Settings" width="300" height="244" class="alignnone size-medium wp-image-3325" /></a></p><p>8. Now, click the <strong>folder icon</strong> on the <strong>Destination</strong>. It will now connect to your <strong>FTP server</strong>. Browse until you find the <strong>uploads</strong> directory and click <strong>OK</strong>.</p><p><a href="http://www.macuha.com/wp-content/uploads/2010/09/Confirm-FTP.png"><img src="http://www.macuha.com/wp-content/uploads/2010/09/Confirm-FTP.png" alt="Confirm FTP" title="Confirm FTP" width="275" height="129" class="alignnone size-full wp-image-3326" /></a></p><p>9. Now, you have defined the <strong>Source</strong> as your local folder and the <strong>Destination</strong> as the <strong>uploads</strong> folder in your <strong>FTP server</strong>. However, what we want is the other way around, your <strong>Source</strong> must be the <strong>FTP server</strong> and the <strong>Destination</strong> must be the the local folder in order to have a successful back-up. To do this, follow the next steps. <img src='http://www.macuha.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>10. Click the <strong>Advanced</strong> tab. Copy the settings below. As you can see, we instructed the <strong>Destination</strong> and <strong>Source</strong> to do the reverse of their function.</p><p><a href="http://www.macuha.com/wp-content/uploads/2010/09/Advanced-Tab-Config.png"><img src="http://www.macuha.com/wp-content/uploads/2010/09/Advanced-Tab-Config-300x187.png" alt="Advanced Tab Configuration" title="Advanced Tab Configuration" width="300" height="187" class="alignnone size-medium wp-image-3328" /></a></p><p><strong>Destination overwrites source always (restore)</strong>. This means that your FTP server will always overwrite your local folder.</p><p><strong>If the file is in the source but not in the destination, do nothing</strong>. This means that if it found a file in your local folder but not existing in your FTP server, don&#8217;t do anything. This is to protect your FTP server from getting unnecessary files from your local PC.</p><p><strong>If a file is in the destination but not in the source, copy file to source</strong>. If a file is in the FTP server but not in your local folder, copy it to your local folder. This is the ultimate back-up command. When it find files in your FTP server that is not yet in the local folder, copy it!</p><p>11. Click <strong>OK</strong>. It will prompt you to do a <strong>Simulated Run</strong>. Click <strong>Yes</strong>. It will show you a report of what files it will copy if you actually run your settings.</p><p><a href="http://www.macuha.com/wp-content/uploads/2010/09/Simulated-Run.png"><img src="http://www.macuha.com/wp-content/uploads/2010/09/Simulated-Run-300x54.png" alt="Simulated Run" title="Simulated Run" width="300" height="54" class="alignnone size-medium wp-image-3329" /></a></p><p>12. If you are satisfied with the result of the <strong>Simulated Run</strong>, click <strong>Run</strong>.  It will start copying those files from the FTP server to your local folder. This might take time depending on the contents of your <strong>uploads</strong> folder and your internet connection speed.</p><p><a href="http://www.macuha.com/wp-content/uploads/2010/09/Run-Button.png"><img src="http://www.macuha.com/wp-content/uploads/2010/09/Run-Button-300x22.png" alt="Run Button" title="Run Button" width="300" height="22" class="alignnone size-medium wp-image-3330" /></a></p><p>13. When everything is finished, click <strong>Schedule</strong> to make a schedule on when you want to run the settings automatically from your PC. <strong>Schedule</strong> uses your <strong>Windows Scheduled Task</strong>. Simply fill it up with your desired schedule and you&#8217;re done.</p><p><a href="http://www.macuha.com/wp-content/uploads/2010/09/Schedule-Button.png"><img src="http://www.macuha.com/wp-content/uploads/2010/09/Schedule-Button-300x22.png" alt="Schedule Button" title="Schedule Button" width="300" height="22" class="alignnone size-medium wp-image-3331" /></a></p><p>That&#8217;s it! Just make sure your computer is turned-on on your scheduled time. It will automatically start in the background while you are watching Youtube, Facebooking, or simply reading this blog. <img src='http://www.macuha.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>If you like this post, <a href="http://www.macuha.com/buy-me-beer/">buy me a beer!</a></p> ]]></content:encoded> <wfw:commentRss>http://www.macuha.com/2010/09/wordpress/how-to-backup-your-wordpress-files-automatically-using-syncback/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>How To Allow Authors and Contributors In WordPress To Embed Youtube Videos On Their Posts</title><link>http://www.macuha.com/2010/08/wordpress/how-to-allow-authors-and-contributors-in-wordpress-to-embed-youtube-videos-on-their-posts/</link> <comments>http://www.macuha.com/2010/08/wordpress/how-to-allow-authors-and-contributors-in-wordpress-to-embed-youtube-videos-on-their-posts/#comments</comments> <pubDate>Tue, 31 Aug 2010 13:48:06 +0000</pubDate> <dc:creator>Marhgil Macuha</dc:creator> <category><![CDATA[AdOK]]></category> <category><![CDATA[How To]]></category> <category><![CDATA[Wordpress]]></category><guid isPermaLink="false">http://www.macuha.com/?p=3278</guid> <description><![CDATA[Another problem that I encountered on a group blog setup in WordPress is that users with Author and Contributor roles cannot embed Youtube videos. They can paste the Youtube embed code while composing a post, but when they preview and publish it, the Youtube video is gone! Right, Ambo? Obviously, I already solved this problem [...]]]></description> <content:encoded><![CDATA[<p>Another problem that I encountered on a group blog setup in <strong>WordPress</strong> is that users with <strong>Author</strong> and <strong>Contributor</strong> roles cannot embed <strong>Youtube</strong> videos. They can paste the Youtube embed code while composing a post, but when they preview and publish it, the Youtube video is gone! Right, Ambo?</p><p><span id="more-3278"></span>Obviously, I already solved this problem that&#8217;s why I&#8217;m blogging about it. <img src='http://www.macuha.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> So, what did I do to <em>allow users with Author and Contributor roles to embed Youtube videos on their posts</em>? Again, <a href="http://wordpress.org/extend/plugins/capsman/">Capability Manager</a> plugin saves the day!</p><p>I simply checked the <strong>&#8220;Unfiltered html&#8221;</strong> option on the <strong>Capabilities for Contributor</strong> and <strong>Author</strong> roles. That fixed the problem. Now, Authors and Contributors can embed Youtube videos on their posts.</p><p>Here&#8217;s the screenshot of the settings <em>(click for a larger view)</em>:<br /><center><br /> <a href="http://www.macuha.com/wp-content/uploads/2010/08/Unfiltered-HTML.png"><img src="http://www.macuha.com/wp-content/uploads/2010/08/Unfiltered-HTML-300x207.png" alt="Unfiltered HTML" title="Unfiltered HTML" width="300" height="207" class="alignnone size-medium wp-image-3279" /></a><br /> <strong>Capabilities Manager Settings</strong><br /></center></p><p>If you like this post, <a href="http://www.macuha.com/buy-me-beer/">buy me a beer!</a></p> ]]></content:encoded> <wfw:commentRss>http://www.macuha.com/2010/08/wordpress/how-to-allow-authors-and-contributors-in-wordpress-to-embed-youtube-videos-on-their-posts/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> </channel> </rss>
<!-- Dynamic page generated in 1.958 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2013-06-19 10:34:35 -->

<!-- Compression = gzip -->