<?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>Make Tech Easier &#187; WordPress</title>
	<atom:link href="http://maketecheasier.com/tag/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://maketecheasier.com</link>
	<description>Uncomplicating the complicated, making life easier</description>
	<lastBuildDate>Fri, 19 Mar 2010 22:00:38 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Migrate From Blogger.com to Self-Hosted WordPress</title>
		<link>http://maketecheasier.com/migrate-from-blogger-to-self-hosted-wordpress/2010/03/18</link>
		<comments>http://maketecheasier.com/migrate-from-blogger-to-self-hosted-wordpress/2010/03/18#comments</comments>
		<pubDate>Thu, 18 Mar 2010 22:00:07 +0000</pubDate>
		<dc:creator>Shevonne</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[blogger]]></category>
		<category><![CDATA[migration]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=13772</guid>
		<description><![CDATA[One of the first blogging platforms to hit the webosphere was Blogger in 1999. It was easy to set up and start posting right away. However, some time later, WordPress came into the scene, and it changed the way people saw blogging platforms. On top of the fact that it was easy to use, users [...]<p><strong><a href="http://maketecheasier.com/migrate-from-blogger-to-self-hosted-wordpress/2010/03/18">How to Migrate From Blogger.com to Self-Hosted WordPress</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-13791" title="blogger_wordpress" src="http://images.maketecheasier.com/2010/03/blogger_wordpress.png" alt="blogger_wordpress_logo" width="200" height="107" />One of the first blogging platforms to hit the webosphere was <a title="Blogger" href="http://blogger.com" target="_blank">Blogger</a> in 1999. It was easy to set up and start posting right away. However, some time later, <a title="WordPress" href="http://wordpress.org" target="_blank">WordPress</a> came into the scene, and it changed the way people saw blogging platforms. On top of the fact that it was easy to use, users also could personalize it with themes that they could further customize with CSS and HTML. Flash forward to 2010, <a href="http://maketecheasier.com/understanding-wordpress-self-hosted-wordpress-vs-wordpresscom/2008/03/20" target="_blank">self-hosted WordPress</a> is usually the blogging platform of choice. What do  you do if you started with Blogger, but want to switch to a self-hosted WordPress blog? Here are the methods to migrate from Blogger to Self-Hosted WordPressm, quick and painless.</p>
<h3>1. Find a domain and hosting provider</h3>
<p>If you did not have your own domain, then you will need to find a <a href="http://smallbusiness-domain.com/" target="_blank">domain provider</a>. Find one that also has hosting plans (we recommend <a href="http://maketecheasier.com/a/hostgator" target="-blank">Hostgator</a>), so you don&#8217;t have to look around for another service.</p>
<h3>2. Setup the WordPress database</h3>
<p>Create a new database for your WordPress. If you use a Macbook, then you can use this <a href="http://maketecheasier.com/install-and-test-wordpress-on-your-local-computer-mac/2009/11/10" target="_blank">guide</a> to install and test WordPress. If you need a more general <a href="http://codex.wordpress.org/Installing_WordPress" target="_blank">guide</a>, then check out the one the WordPress team put together. Some of the services actually have a way for you to press one button, and they will install WordPress for you. With the popularity of WordPress, many of them should be jumping on the bandwagon.</p>
<h3>3. Export your blog out of Blogger</h3>
<p>You always want to protect your blog, just in case something doesn&#8217;t go right. Therefore, I recommend exporting your Blogger blog, if something doesn&#8217;t go right. You do this by logging onto Blogger, and you go to your blog&#8217;s settings, you will see Basic tab. You will see the <strong>Export </strong>blog link.</p>
<p><img class="alignnone size-full wp-image-13778" title="blogger_wordpress_export" src="http://images.maketecheasier.com/2010/03/blogger_wordpress_export.png" alt="blogger_wordpress_export" width="577" height="179" /></p>
<p>When you click the link, you will be able to download your blog after pressing the <strong>Download Blog</strong> button.</p>
<p><img class="alignnone size-full wp-image-13779" title="blogger_wordpress_export_1" src="http://images.maketecheasier.com/2010/03/blogger_wordpress_export_1.png" alt="blogger_wordpress_export_1" width="577" height="184" /></p>
<h3>4. Import your blog into your self-hosted WordPress</h3>
<p>After exporting your Blogger blog, log into WordPress.  Click on <strong>Tools -&gt; Import. </strong> All the blogging platforms that can be imported into WordPress are shown. Click on the <strong>Blogger </strong>link.</p>
<p><img class="alignnone size-full wp-image-13780" title="blogger_wordpress_import_1" src="http://images.maketecheasier.com/2010/03/blogger_wordpress_import_1.png" alt="blogger_wordpress_import_1" width="577" height="481" /></p>
<p>Press the <strong>Authorize </strong>button to start importing your posts, comments, and users from Blogger into WordPress.</p>
<p><img class="alignnone size-full wp-image-13782" title="blogger_wordpress_import_2" src="http://images.maketecheasier.com/2010/03/blogger_wordpress_import_2.png" alt="blogger_wordpress_import_2" width="577" height="238" /></p>
<p>You will be taken to a Google window where you have to press the <strong>Grant Access</strong> button</p>
<p><img class="alignnone size-full wp-image-13784" title="blogger_wordpress_import_3" src="http://images.maketecheasier.com/2010/03/blogger_wordpress_import_3.png" alt="blogger_wordpress_import_3" width="577" height="264" /></p>
<p>You will see all your Blogger blogs. Select the one you want to import, and press the <strong>Import</strong> button.</p>
<p><img class="alignnone size-full wp-image-13785" title="blogger_wordpress_import_4" src="http://images.maketecheasier.com/2010/03/blogger_wordpress_import_4.png" alt="blogger_wordpress_import_4" width="577" height="296" /></p>
<p>After your Blogger posts and comments are imported into WordPress, you will be able to import the authors by pressing the <strong>Set Authors</strong> button.</p>
<p><img class="alignnone size-full wp-image-13788" title="blogger_wordpress_import_5" src="http://images.maketecheasier.com/2010/03/blogger_wordpress_import_5.png" alt="blogger_wordpress_import_5" width="577" height="46" /></p>
<p>You can map your Blogger name to your WordPress one.  If there is a new author, then there is an <strong>add users</strong> link that will allow you to create a user in WordPress that you can map to the new Blogger one.</p>
<p><img class="alignnone size-full wp-image-13789" title="blogger_wordpress_set_authors" src="http://images.maketecheasier.com/2010/03/blogger_wordpress_set_authors.png" alt="blogger_wordpress_set_authors" width="577" height="153" /></p>
<p>Have you imported your Blogger blog into a self-hosted WordPress? How did it go for you?<br />
<!--adsense#468x60--></p>
<p><strong><a href="http://maketecheasier.com/migrate-from-blogger-to-self-hosted-wordpress/2010/03/18">How to Migrate From Blogger.com to Self-Hosted WordPress</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/migrate-from-blogger-to-self-hosted-wordpress/2010/03/18/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 Ways To Reduce Comment Spam On Wordpress Blogs</title>
		<link>http://maketecheasier.com/5-ways-to-reduce-comment-spam-on-wordpress-blogs/2010/03/17</link>
		<comments>http://maketecheasier.com/5-ways-to-reduce-comment-spam-on-wordpress-blogs/2010/03/17#comments</comments>
		<pubDate>Wed, 17 Mar 2010 12:00:36 +0000</pubDate>
		<dc:creator>Soumen Halder</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[blogs]]></category>
		<category><![CDATA[Comments]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=13681</guid>
		<description><![CDATA[If you have a self-hosted Wordpress blog which is quite popular, the most annoying thing is fighting Wordpress comment spam on a regular basis. Every time you login to Wordpress dashboard, you see a whole lot of spam comments waiting to be deleted. Either you have to delete them manually or let them die in [...]<p><strong><a href="http://maketecheasier.com/5-ways-to-reduce-comment-spam-on-wordpress-blogs/2010/03/17">5 Ways To Reduce Comment Spam On Wordpress Blogs</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-13683 alignleft" title="Wordpress Comment Spam" src="http://images.maketecheasier.com/2010/03/wordpress-comment-spam.png" alt="Reduce Wordpress Comment Spam" width="305" height="284" />If you have a self-hosted Wordpress blog which is quite popular, the most annoying thing is fighting Wordpress comment spam on a regular basis. Every time you login to Wordpress dashboard, you see a whole lot of spam comments waiting to be deleted. Either you have to delete them manually or let them die in the spam queue.</p>
<p>The latter option is not recommended as it will increase database size and the resource loading time. Hence, you have to find and fight your way to prevent spam comments in Wordpress. This article describes some of the proven techniques which can be used to reduce Wordpress comment spam.</p>
<p>Before we go any further, let&#8217;s understand what exactly is a spam comment.</p>
<p>A spam comment is a comment which is posted automatically in blogs, websites, forums etc by automated bots, scripts or software. Some people use scripts and automated bots to target high traffic websites for posting comments. Typically, a spam comment is full of irrelevant keywords and hyperlinks and does not care about the discussion or article where the comment is posted.</p>
<p>In short, a spam comment is an evil form of shameless self-promotion and trying to get quick links for traffic or SEO.</p>
<p>If you are getting lots of spam comments in your Wordpress blog, here are some techniques which can help:</p>
<h3>1. Install Akismet Wordpress Plugin</h3>
<p><a href="http://wordpress.org/extend/plugins/akismet/" target="_blank">Akismet </a>is considered as the best Wordpress plugin to reduce comment spam. The plugin checks each and every comment, pingbacks and trackbacks submitted in your blog and runs critical checks on the Akismet web service to determine whether the comment is a spam or not.</p>
<p><img class="size-full wp-image-13685  aligncenter" title="Akismet Wordpress plugin to prevent Comment Spam" src="http://images.maketecheasier.com/2010/03/wordpress-akismet-stats.png" alt="Akismet Wordpress plugin to prevent Comment Spam" width="550" height="404" /></p>
<p>In addition to blocking spam comments and bad links, Akismet shows a stats page where you can see more details on the amount of comments blocked, accuracy, dates etc.</p>
<h3>2. Close comments on Older Posts</h3>
<p>Using Akismet is good but overtime you will find that Akismet is blocking hundreds of spam comments every week. You have to delete those spam comments manually, which is really a boring job. If you want even more control over the spam comments, consider blocking comments on older posts.</p>
<p>Spammers target posts which receive good traffic and you can automatically close comments on posts which are certain days old. Login to your blog&#8217;s administration area and go to <em>Settings &gt; Discussion</em>. Next, select the checkbox &#8220;<em>Automatically close comments on article older than</em>&#8221; and enter the number of days in the text box (for example 90).</p>
<p><img class="aligncenter size-full wp-image-13690" title="Close Comments on Older Wordpress posts to reduce Spam" src="http://images.maketecheasier.com/2010/03/wordpress-close-comments.png" alt="Close Comments on Older Wordpress posts to reduce Spam" width="550" height="300" /></p>
<p>This ensures that the comments are closed on any article which is older  than the number of days specified by you.</p>
<h3>3. Ban Spam IP Addresses</h3>
<p><a href="http://lesterchan.net/wordpress/readme/wp-ban.html" target="_blank">Wp-Ban</a> is a useful Wordpress plugin which can be used to blacklist IP addresses who try to post spam comments in your blog. The plugin checks the IP address of the commentator and if you have already specified the same IP address in plugin settings, the commentator is shown a custom banned message.</p>
<p><img class="size-full wp-image-13691  aligncenter" title="Ban Spam IP addresses to prevent comment spam" src="http://images.maketecheasier.com/2010/03/wordpress-wpban.png" alt="Ban Spam IP addresses to prevent comment spam" width="506" height="205" /></p>
<p>Once you activate the plugin, keep an eye on the IP addresses of the spam comments. Next, add the IP addresses in the plugin blacklist and bingo! You will find that the number of spam comments are reducing as IP blacklist increases.</p>
<p>This plugin should be used with caution. If you blacklist an IP address, any visitor coming from the same host name would not be able to view your blog. Use this plugin to blacklist certain IP&#8217;s if they appear too frequently and post vulgar comments in your blog.</p>
<h3>4. Use a Custom Wordpress Function to Ban Empty Referrers</h3>
<p>On most of the occasions, spam commentators never visit your blog and you can use this principle to drastically reduce comment spam.</p>
<p>Log in to Wordpress administration area of your blog and go to &#8220;Theme Editor&#8221;. Select your blog&#8217;s theme and open the functions.php file for editing. Paste the following code:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000000; font-weight: bold;">function</span> verify_comment_referer<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>wp_get_referer<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        wp_die<span style="color: #009900;">&#40;</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'You cannot post comment at this time, may be you need to enable referrers in your browser.'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'check_comment_flood'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'verify_comment_referer'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>The above function checks the &#8220;referring source&#8221; of the page on which the comment in posted. In case of spam comments, if the referring source is found to be empty the comments are never allowed to be posted and thus you do not receive any spam. Thanks to <a href="http://www.clickonf5.org/wordpress/function-to-avoid-apam-comments-wordpress/6407" target="_blank">Internet Techies</a> for the tip.</p>
<h3>5. Use Recaptcha Wordpress Plugin</h3>
<p>As <a href="http://googlewebmastercentral.blogspot.com/2010/01/protect-your-site-from-spammers-with.html" target="_blank">mentioned</a> by Google in their Webmaster central blog, the <a href="http://recaptcha.net/plugins/wordpress/" target="_blank">Recaptcha Wordpress plugin</a> is one of the best ways to prevent Wordpress spam comments in your blog. The concept is really simple &#8211; anyone trying to post a comment have to see a graphic and type the words matching the graphic. The spam bots do not have eyes and mind and thus can&#8217;t see and read those graphics. Hence they can&#8217;t post those intrusive comments.</p>
<p><img class="aligncenter size-full wp-image-13695" title="recatcha-wordpress-plugin-spam-protection" src="http://images.maketecheasier.com/2010/03/wordpress-recatcha.png" alt="Use recatcha Wordpress plugin for protecting spam comments" width="440" height="304" /></p>
<p>The recatcha plugin serves the purpose well, but it has a major disadvantage. The regular commentators of your blog would have to fill up the catcha when they try to post a comment. This may appear discouraging or confusing to the visitor and he may refrain from posting comments altogether. Many popular blogs use Recaptcha, but I am not a fan of this plugin as this may offend the regular commentators.</p>
<h3>Switching your comment system to Disqus or IntenseDebate (From the editor)</h3>
<p>In MakeTechEasier, we have switched our comment system to <a href="http://disqus.com">Disqus </a>and I guess it is worth a mention here.</p>
<p>Disqus is a third party comment system and moderation tool for your site. There are several benefits in using Disqus. First, they integrate closely with Askimet to reduce spams. Secondly, it help you to reduce your database size as all the comments are stored in their server. Thirdly, it integrates with Facebook, Twitter and OpenID so your readers can easily log in with the minimum hassle. Last but not least, it is free.</p>
<p>When you have a site with huge traffic counts and spam counts, you will appreciate how easy Disqus makes your life.</p>
<p>Those were some (if not all) of the techniques which you can use to prevent spam comments in your Wordpress blog. What techniques do you prefer? Do you use any Wordpress plugin which I may have missed out? Please share your ideas in the comments section.<br />
<!--adsense#468x60--></p>
<p><strong><a href="http://maketecheasier.com/5-ways-to-reduce-comment-spam-on-wordpress-blogs/2010/03/17">5 Ways To Reduce Comment Spam On Wordpress Blogs</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/5-ways-to-reduce-comment-spam-on-wordpress-blogs/2010/03/17/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How To Integrate Topsy Into Your WordPress Site</title>
		<link>http://maketecheasier.com/integrate-topsy-into-your-wordpress-site/2010/03/10</link>
		<comments>http://maketecheasier.com/integrate-topsy-into-your-wordpress-site/2010/03/10#comments</comments>
		<pubDate>Thu, 11 Mar 2010 00:58:16 +0000</pubDate>
		<dc:creator>Shevonne</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[search engine]]></category>
		<category><![CDATA[topsy]]></category>
		<category><![CDATA[tweet]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=13455</guid>
		<description><![CDATA[The search engines that we are used to, like Google and Yahoo, rely on spiders crawling through web sites indexing the keywords they find. Therefore, when someone is searching for a certain topic, like &#8220;technology,&#8221; these search engines will display whatever they found, ranked by popularity on the page. Topsy is different. It&#8217;s a people-powered search [...]<p><strong><a href="http://maketecheasier.com/integrate-topsy-into-your-wordpress-site/2010/03/10">How To Integrate Topsy Into Your WordPress Site</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-13458" title="topsy_logo" src="http://images.maketecheasier.com/2010/03/topsy_logo.png" alt="topsy_logo" width="200" height="104" />The search engines that we are used to, like Google and Yahoo, rely on spiders crawling through web sites indexing the keywords they find. Therefore, when someone is searching for a certain topic, like &#8220;technology,&#8221; these search engines will display whatever they found, ranked by popularity on the page. <a href="http://topsy.com/" target="_blank">Topsy</a> is different. It&#8217;s a people-powered search engine for tweets.</p>
<h3>Using the Web Site</h3>
<p>When you log in, you will see a search page like you would see for any search engine. It has the current trending topics, if you wanted to check out what is popular on Twitter.</p>
<p><img class="alignnone size-full wp-image-13459" title="topsy_main" src="http://images.maketecheasier.com/2010/03/topsy_main.png" alt="topsy main page" width="562" height="385" /></p>
<p>When you search for something, then the search results are shown in the image below. On the left-hand corner, you can decide what timeline you want to choose from. Also, you can select if you want to search the web, photos, or actual tweets. However, viewing the web allows you to view the tweets as well because the listing has the tweet below.</p>
<p><img class="alignnone size-full wp-image-13462" title="topsy_main_search" src="http://images.maketecheasier.com/2010/03/topsy_main_search.png" alt="topsy_main_search" width="577" height="344" /></p>
<p>If you decide to log in with your Twitter user ID and password, you will see a home page that shows all of the things that you have posted on social media networks, how many times people have tweeted the same link, and information, like your web site, that Twitter account is associated with.</p>
<p><img class="alignnone size-full wp-image-13460" title="topsy_personal" src="http://images.maketecheasier.com/2010/03/topsy_personal.png" alt="topsy_personal" width="577" height="341" /></p>
<p>On March 3rd, Topsy introduced alerts. You can get search results right to your inbox.</p>
<p><img class="alignnone size-full wp-image-13469" title="topsy_alerts" src="http://images.maketecheasier.com/2010/03/topsy_alerts.png" alt="" width="577" height="224" /></p>
<h3>Adding a Topsy Button To Your WordPress Site</h3>
<p>Like Tweetmeme, Topsy allows you to place a retweet button on your site. If you are using a WordPress site, there are two ways to add their button on your site: WordPress plugin and <a href="http://labs.topsy.com/widgets/retweet-button/" target="_blank">Javascript version</a>.</p>
<p>The Topsy <a href="http://wordpress.org/extend/plugins/topsy/" target="_blank">WordPress plugin</a> is easy to install. After installing the plugin, you will go to Settings to customize the button. One thing that I like about Topsy, that I haven&#8217;t seen with other retweet buttons is that it gives you a wide range of options on where to display the retweet button. If you don&#8217;t want it on all your pages, then you can pick-and-choose which ones you want to place them on. You can also add your own CSS.</p>
<p><img class="alignnone size-full wp-image-13472" title="topsy_plugin_1" src="http://images.maketecheasier.com/2010/03/topsy_plugin1.png" alt="topsy_plugin" width="577" height="486" /></p>
<p>I like the fact that you can change the color scheme to fit your site/blog. Also, that if you delete or update your blog, you are able to notify Topsy, and they will be sure to reflect that on their end. Very useful.</p>
<p><img class="alignnone size-full wp-image-13473" title="topsy_plugin2" src="http://images.maketecheasier.com/2010/03/topsy_plugin2.png" alt="topsy_plugin" width="548" height="360" /></p>
<p>The trackback feature is pretty nifty because you can create trackbacks if someone leaves a comment. Not sure if I like this &#8220;<em>Only create trackback comments from <a href="http://labs.topsy.com/influence/" target="_blank">influential</a> tweeters.</em>&#8220; How can they know that? If I have a technology-type site/blog, the people I find influential are going to be different if I had a fashion site/blog. This is what it states on their site:<em> &#8220;On our website, roughly the top 0.2% most influential of all Twitter users are tagged “Highly Influential”, and “Influential” tags appear for the top 0.5% most influential Twitter users.&#8221; </em>I would love to hear from Topsy creators to figure out their calculation.</p>
<p><img class="alignnone size-full wp-image-13474" title="topsy_plugin3" src="http://images.maketecheasier.com/2010/03/topsy_plugin3.png" alt="topsy_plugin" width="577" height="445" /></p>
<p>Topsy is an interesting search engine and application. I like the layout and the search display on their web site. It&#8217;s also great that they have a user profile that allows you to see how your tweets are doing. However, with Google and Yahoo! partnering up with Twitter and having tweets as part of their search results, Topsy has to find a way to keep things interesting. Their WordPress plugin is one of the most flexible ones that I have seen when it comes to retweeting buttons. However, this &#8220;influential&#8221; tweeter trackback feature kind of threw me off. Overall, Topsy has potential.</p>
<p>Have you used Topsy retweet button on your site?<br />
<!--adsense#468x60--></p>
<p><strong><a href="http://maketecheasier.com/integrate-topsy-into-your-wordpress-site/2010/03/10">How To Integrate Topsy Into Your WordPress Site</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/integrate-topsy-into-your-wordpress-site/2010/03/10/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>What is PubSubHubbub and How to Implement It In WordPress</title>
		<link>http://maketecheasier.com/integrate-pubsubhubbub-to-wordpress/2010/03/06</link>
		<comments>http://maketecheasier.com/integrate-pubsubhubbub-to-wordpress/2010/03/06#comments</comments>
		<pubDate>Sat, 06 Mar 2010 23:00:22 +0000</pubDate>
		<dc:creator>Damien</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[feed]]></category>
		<category><![CDATA[pubsubhubbub]]></category>
		<category><![CDATA[real-time]]></category>
		<category><![CDATA[RSS]]></category>
		<category><![CDATA[rss reader]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=13315</guid>
		<description><![CDATA[One of the most frequently asked question from content publishers (that means all bloggers, you and me alike) is &#8220;How to make sure that my feed subscribers can read my latest update the moment I publish it?&#8221; This nearly real-time technology is not really possible in the past, but with PubSubHubbub (yes, it kinda sounds [...]<p><strong><a href="http://maketecheasier.com/integrate-pubsubhubbub-to-wordpress/2010/03/06">What is PubSubHubbub and How to Implement It In WordPress</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></description>
			<content:encoded><![CDATA[<p><img src="http://images.maketecheasier.com/2010/03/push-logo.png" alt="push-logo" title="push-logo" width="200" height="92" class="alignleft size-full wp-image-13334" />One of the most frequently asked question from content publishers (that means all bloggers, you and me alike) is &#8220;How to make sure that my feed subscribers can read my latest update the moment I publish it?&#8221; This nearly real-time technology is not really possible in the past, but with PubSubHubbub (yes, it kinda sounds dorky), it changed the whole ball game. </p>
<p>Simply said, PubSubHubbub (aka as PuSH in short) is publish/subscribe protocol addon to the current Atom/RSS technology. It enables your RSS subscribers to instantly receive your feed as soon as you publish your content. </p>
<h3>What exactly does PubSubHubbub do?</h3>
<p>Previously, when you publish a content, it doesn&#8217;t get push to the feed aggregator automatically. Instead, the feed aggregator poll your site (RSS feed) at regular interval and check if you have new content. If yes, it will then broadcast to your subscribers. With this push technology, there is often a delay in syndication and it could be several hours after your content went live before your RSS subscriber can read it on their RSS reader software. </p>
<p>PubSubHubbub aims to get rid of this time-delaying barrier and make everything real time. This means that as soon as you publish the content, your end subscriber will also receive it instantly. The technology is simple. Instead of the feed aggregator constantly polling your site for new content, it will now act as a hub. Whenever you publish a new content, you notify the hub, which in turn send your update to the end user. </p>
<p>You can watch the interesting video below for better understanding.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
<param name="allowFullScreen" value="true" />
<param name="allowScriptAccess" value="always" />
<param name="src" value="http://www.youtube.com/v/B5kHx0rGkec&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en_US&amp;feature=player_embedded&amp;fs=1" />
<param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/B5kHx0rGkec&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en_US&amp;feature=player_embedded&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<h3>Sound simple, but how do I implement it in WordPress?</h3>
<p><strong>Feedburner way</strong></p>
<p>Now, if you are using Feedburner to manage your feed, your site is already PuSH enabled. You just need to turn on the service in the Feedburner Dashboard. </p>
<p>Go to <a href="http://feedburner.com" target="_blank">Feedburner</a> and login to your account (most likely is your Google account).</p>
<p>Click on the <em>Publicize</em> tab at the top.</p>
<p><img src="http://images.maketecheasier.com/2010/03/push-feedburner-publicize.png" alt="Publicize tab in Feedburner" title="push-feedburner-publicize" width="528" height="141" class="alignnone size-full wp-image-13328" /></p>
<p>On the left, click <em>Pingshot</em>. </p>
<p><img src="http://images.maketecheasier.com/2010/03/push-feedburner-pingshot.png" alt="Pingshot option in Feedburner" title="push-feedburner-pingshot" width="219" height="286" class="alignnone size-full wp-image-13329" /></p>
<p>Click the Activate button to enable the service. </p>
<p><img src="http://images.maketecheasier.com/2010/03/push-feedburner-enable-ping.png" alt="push-feedburner-enable-ping" title="push-feedburner-enable-ping" width="521" height="241" class="alignnone size-full wp-image-13330" /></p>
<p>That&#8217;s it.<br />
(You may also want to ensure that <em>http://ping.feedburner.com</em> is in your ping list)</p>
<p><strong>Custom feed</strong></p>
<p>If you are using the default WordPress feed rather than Feedburner, there are several plugins that you can use to PuSH-enabled your blog</p>
<h3>1. <a href="http://josephscott.org/archives/2010/03/pushpress-a-pubsubhubbub-plugin-for-wordpress/ target="_blank"">PuSHPress</a></h3>
<p>PuSHPress is the plugin used in WordPress.com. There is no configuration required. Simply activate the plugin and you are good to go. </p>
<p>The big difference in this plugin compared to the other PuSH WordPress plugins is that it includes a PuSH hub built in.</p>
<p><a href="http://wordpress.org/extend/plugins/pushpress/" target="_blank">Download PuSHPress here</a></p>
<h3>2. <a href="http://wordpress.org/extend/plugins/pubsubhubbub/" target="_blank">PubSubHubbub</a></h3>
<p>Another simple plugin that requires minimal configuration. </p>
<p>This plugin does not implement a hub, but it allows you to select which hubs you want to ping. The default is <em>Demo hub on Google App Engine</em> and <em>SuperFeedr</em>.</p>
<p><img src="http://images.maketecheasier.com/2010/03/push-pubsubhubbub-plugin.png" alt="push-pubsubhubbub-plugin" title="push-pubsubhubbub-plugin" width="576" height="227" class="alignnone size-full wp-image-13333" /></p>
<p><a href="http://wordpress.org/extend/plugins/pubsubhubbub/" target="_blank">Download PubSubHubbub here</a> </p>
<h3>3. <a href="http://wordpress.org/extend/plugins/wp-pubsubhubbub/" target="_blank">WP Pubsubhubbub</a></h3>
<p>This plugin is functionally similar to the PubSubHubbub plugin mentioned above. It allows you to specify the hubs you want to ping as well, so choosing this or the other is really dependent on individual preferences.</p>
<p><a href="http://wordpress.org/extend/plugins/wp-pubsubhubbub/" target="_blank">Download WP PubSubHubbub here</a></p>
<p>Have you started implementing PubSubHubbub in your WordPress blog?</p>
<p><!--adsense#468x60--></p>
<p><strong><a href="http://maketecheasier.com/integrate-pubsubhubbub-to-wordpress/2010/03/06">What is PubSubHubbub and How to Implement It In WordPress</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/integrate-pubsubhubbub-to-wordpress/2010/03/06/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Snippet: Adding Post Thumbnail in WordPress 2.9</title>
		<link>http://maketecheasier.com/snippet-adding-post-thumbnail-in-wordpress-2-9/2010/03/03</link>
		<comments>http://maketecheasier.com/snippet-adding-post-thumbnail-in-wordpress-2-9/2010/03/03#comments</comments>
		<pubDate>Wed, 03 Mar 2010 18:00:17 +0000</pubDate>
		<dc:creator>Damien</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[thimbnail]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=12906</guid>
		<description><![CDATA[When surfing the Web, you can easily come across WordPress sites that associate an image thumbnail with each post. This is particularly obvious for those blog with magazine style layout. Before WordPress 2.9, the only way to do this is to insert a custom field with the URL of the image thumbnail in each post/page. [...]<p><strong><a href="http://maketecheasier.com/snippet-adding-post-thumbnail-in-wordpress-2-9/2010/03/03">Snippet: Adding Post Thumbnail in WordPress 2.9</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></description>
			<content:encoded><![CDATA[<p><img src="http://images.maketecheasier.com/2010/03/wp-thumbnail.png" alt="wp-thumbnail" title="wp-thumbnail" width="237" height="97" class="alignleft size-full wp-image-13148" />When surfing the Web, you can easily come across WordPress sites that associate an image thumbnail with each post. This is particularly obvious for those blog with magazine style layout. Before WordPress 2.9, the only way to do this is to insert a custom field with the URL of the image thumbnail in each post/page. Now this feature is built into the WordPress core and you can use it without using any custom field.</p>
<p>Firstly, in your theme folder, open the <em>functions.php</em> file and insert the following function to the end of the file.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'add_theme_support'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    add_theme_support<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'post-thumbnails'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Save and upload the file back to the server.</p>
<p>Now in your Post/Page edit section, you will find a <em>Set thumbnail</em> option in the rightmost column (just below the Categories section).</p>
<p><img src="http://images.maketecheasier.com/2010/03/wp-thumbnail.png" alt="wp-thumbnail" title="wp-thumbnail" width="237" height="97" class="alignnone size-full wp-image-13148" /></p>
<p>Click on it. The image uploader window will appear. You can either new image (or select from Gallery) the picture to be used as the thumbnail. Once you have uploaded, click on the <em>use as thumbnail</em> option.</p>
<p><img src="http://images.maketecheasier.com/2010/03/wp-set-new-thumbnail.png" alt="wp-set-new-thumbnail" title="wp-set-new-thumbnail" width="427" height="163" class="alignnone size-full wp-image-13149" /></p>
<p>Save the post.</p>
<h3>Getting the thumbnail to appear in the front end</h3>
<p>To get the thumbnail image to appear, you need to insert the function</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> has_post_thumbnail<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	    <span style="color: #666666; font-style: italic;">// the current post has a thumbnail</span>
	<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
	    <span style="color: #666666; font-style: italic;">// the current post lacks a thumbnail</span>
	<span style="color: #009900;">&#125;</span></pre></div></div>

<p>in your theme files. The most likely place is <em>index.php</em>, <em>single.php</em> and <em>page.php</em></p>
<p>Check out <a href="http://markjaquith.wordpress.com/2009/12/23/new-in-wordpress-2-9-post-thumbnail-images/" target="_blank">Mark Jaquith</a>&#8217;s article for more detail on the usage of the thumbnail function.<br />
<!--adsense#468x60--></p>
<p><strong><a href="http://maketecheasier.com/snippet-adding-post-thumbnail-in-wordpress-2-9/2010/03/03">Snippet: Adding Post Thumbnail in WordPress 2.9</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/snippet-adding-post-thumbnail-in-wordpress-2-9/2010/03/03/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>7 Important Features That Should Be Part Of WordPress Core</title>
		<link>http://maketecheasier.com/7-useful-features-that-should-be-part-of-wordpress-core/2010/02/18</link>
		<comments>http://maketecheasier.com/7-useful-features-that-should-be-part-of-wordpress-core/2010/02/18#comments</comments>
		<pubDate>Thu, 18 Feb 2010 13:00:38 +0000</pubDate>
		<dc:creator>Damien</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[features]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[roles]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=12358</guid>
		<description><![CDATA[I love WordPress. I love its user-friendliness and how easy you can get it installed and running within 5 mins. I love its extensibility and the plugin system that enable us to increase its functionality without any coding needed. However, despite all the love, WordPress is not perfect. There are plenty of times where you [...]<p><strong><a href="http://maketecheasier.com/7-useful-features-that-should-be-part-of-wordpress-core/2010/02/18">7 Important Features That Should Be Part Of WordPress Core</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></description>
			<content:encoded><![CDATA[<p><img src="http://images.maketecheasier.com/2010/02/wordpress-logo.jpg" alt="wordpress-logo" title="wordpress-logo" width="200" height="150" class="alignleft size-full wp-image-12387" />I love WordPress. I love its user-friendliness and how easy you can get it installed and running within 5 mins. I love its extensibility and the plugin system that enable us to increase its functionality without any coding needed. However, despite all the love, WordPress is not perfect. There are plenty of times where you will wonder why a simple and basic feature is not included in the WordPress core and you have to go hunting for plugins/hacks/solutions just to solve a simple problem. </p>
<p>Take this as my letter to WordPress (and Matt Mullenweg) and I seriously hope they can add the following features to the core in the future. </p>
<p>Let&#8217;s begin!</p>
<h3>1. Database Backup/Export/Import</h3>
<p><img src="http://images.maketecheasier.com/2010/02/wordpress-database-backup.png" alt="wordpress-database-backup" title="wordpress-database-backup" width="162" height="169" class="alignleft size-full wp-image-12391" />Being a database driven CMS, I am surprise that the default WP installation does not come with a way for you to backup your database. The Export feature is almost useless as it contains only contain your posts, pages, comments, custom fields, categories, and tags and none of the database settings that you have painstakingly set up over the years. And if you have a big blog (with tons of content), I can assure you that the Export feature is not going to work very well.</p>
<p>With a native database export/import function, it will be easy for the end users to backup their database and also to <a href="http://maketecheasier.com/clone-and-migrate-wordpress-blog-to-new-server/2008/01/30">migrate to another server</a> without any loss of settings.</p>
<p>Currently, the plugins that allow backing up of database include <a href="http://wordpress.org/extend/plugins/wp-db-backup/" target="_blank">WP-DB-Backup</a> and <a href="http://wordpress.org/extend/plugins/wp-dbmanager/" target="_blank">WP-DBManager</a></p>
<h3>2. Contact Form</h3>
<p>Contact form is a simple, yet essential component for every website, yet WordPress doesn&#8217;t think it is important enough to include it in the core. End users who need to create contact forms have to resort to plugins like <a href="http://wordpress.org/extend/plugins/contact-form-7" target="_blank">Contact Form 7</a>, <a href="http://www.deliciousdays.com/cforms-plugin/" target="_blank">cFormsII</a> to create contact form for their sites. Most CMS come with this contact form creation capability, so why not WordPress?</p>
<h3>3. Disable display of wp version in the meta tag</h3>
<p>Everyone knows the risk of placing your wp version in the &lt;head&gt; tag, except for the WordPress team. Instead of removing the versioning from the meta tag, they make it appear automatically (whether you like it or not) since WP2.5 and does not provide an easy way for you to remove it. Can you imagine installing a plugin just to remove the wp-version tag? What a waste of resources.</p>
<p><img src="http://images.maketecheasier.com/2010/02/wordpress-hide-version.png" alt="wordpress-hide-version" title="wordpress-hide-version" width="434" height="95" class="alignnone size-full wp-image-12393" /></p>
<p>To remove the wp version from your meta tag, you can add the following hook to your theme&#8217;s <em>functions.php</em> file</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">add_filter<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'the_generator'</span><span style="color: #339933;">,</span> <span style="color: #990000;">create_function</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'$a'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;return null;&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>or use the following plugins: <a href="http://wordpress.org/extend/plugins/wp-security-scan/" target="_blank">WP Security Scan</a> or <a href="http://wordpress.org/extend/plugins/secure-wordpress/" target="_blank">Secure WordPress</a></p>
<h3>4. Changing of wp table prefix during installation</h3>
<p>WordPress uses <em>wp_</em> as the default database table prefix and we all know how dangerous that can be. Most people don&#8217;t change the table prefix simply because they don&#8217;t know how to, or they are not able to (if installed via Fantasico). Yes, I know, you can change the table prefix in the wp-config.php file before installing, but how many people really do that? In my opinion, during the installation process, there should be a field for the users to specify their preferred table prefix. </p>
<p>For those who wanted to change their current wp table prefix, here&#8217;s <a href="http://maketecheasier.com/the-safe-way-to-change-your-wordpress-database-table-prefix/2009/11/07">how you can do it</a>. </p>
<h3>5. More control over the user roles/capabilities</h3>
<p>Have you ever wondered what is the differences between an <em>Editor</em>, <em>Author</em> and a <em>Contributor</em> role? I would appreciate if there is a small paragraph within the User section that explains the capabilities of each role, or a simple link that points to the <a href="http://codex.wordpress.org/Roles_and_Capabilities" target="_blank">WordPress documentation</a> site. </p>
<p>In addition, there are plenty of time when we need to limit (or expand) the capabilities of a particular role and there is no way to do that in the native WordPress installation. Users have to use the <a href="http://www.im-web-gefunden.de/wordpress-plugins/role-manager/" target="_blank">role-manager</a> plugin to change the capabilities of each role. </p>
<h3>6. Choose your own admin username</h3>
<p>The default username for administrator is, as you have guessed it, <em>admin</em>. Is it so difficult to let the users choose their own administrative login name during the installation process?</p>
<h3>7. Support for mobile devices</h3>
<p>WordPress.com realized the importance of mobile visitors (more than 60 million page views come from mobile phones per month for WordPress.com blogs) and have activated a mobile theme  (to be more precise, the <a href="http://www.bravenewcode.com/products/wptouch/" target="_blank">WpTouch</a> plugin) for mobile users. The mobile support feature is integrated into WordPress.com and users can choose to enable/disable the mobile theme in the settings. </p>
<p><img src="http://images.maketecheasier.com/2010/02/wordpress-disable-mobile-themes.png" alt="wordpress-disable-mobile-themes" title="wordpress-disable-mobile-themes" width="489" height="224" class="alignnone size-full wp-image-12389" /></p>
<p>Isn&#8217;t it time for the users of self-hosted WordPress to get the same treatment too?</p>
<p>Those who want to activate mobile support for your WP blogs can install the plugins: <a href="http://www.bravenewcode.com/products/wptouch/" target="_blank">WPTouch</a>, <a href="http://wordpress.org/extend/plugins/wordpress-mobile-pack/" target="_blank">WordPress Mobile Pack</a> and <a href="http://imthi.com/wp-pda" target="_blank">wp-pda</a></p>
<p>What&#8217;s your say? What other features do you think should be included in the WP core?</p>
<p>Image credit: <a href="http://www.flickr.com/photos/iamperegrino/" target="_blank">Peregrino Will Reign</a><br />
<!--adsense#468x60--></p>
<p><strong><a href="http://maketecheasier.com/7-useful-features-that-should-be-part-of-wordpress-core/2010/02/18">7 Important Features That Should Be Part Of WordPress Core</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/7-useful-features-that-should-be-part-of-wordpress-core/2010/02/18/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>3 Useful Tools To Optimize your Blog&#8217;s CSS</title>
		<link>http://maketecheasier.com/3-useful-tools-to-optimize-your-blogs-css/2010/02/06</link>
		<comments>http://maketecheasier.com/3-useful-tools-to-optimize-your-blogs-css/2010/02/06#comments</comments>
		<pubDate>Sat, 06 Feb 2010 23:00:23 +0000</pubDate>
		<dc:creator>Soumen Halder</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Clean up]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[optimize]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=11841</guid>
		<description><![CDATA[CSS stands for cascading stylesheets which is an important aspect of modern day web designing. If you are a web designer and know how to design Wordpress themes or blogger templates, you can not ignore CSS anymore. However, if you have a blog and want to optimize the CSS files for better performance and quicker [...]<p><strong><a href="http://maketecheasier.com/3-useful-tools-to-optimize-your-blogs-css/2010/02/06">3 Useful Tools To Optimize your Blog&#8217;s CSS</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-11847" title="Edit CSS" src="http://images.maketecheasier.com/2010/02/css-tools.png" alt="edit-css-of-your-blog" width="200" height="200" />CSS stands for cascading stylesheets which is an important aspect of modern day web designing. If you are a web designer and know how to design Wordpress themes or blogger templates, you can not ignore CSS anymore. However, if you have a blog and want to optimize the CSS files for better performance and quicker loading, here are all the tools that you need.</p>
<h3>How to Find the CSS file of your blog template</h3>
<p>If your blog is on Wordpress then the CSS file is placed ideally in the themes folder under <em>wp-content/themes/yourtheme</em>. To know the exact location, open your blog and check the page source. You will find a link to the CSS of your theme as shown below</p>
<p><img class="aligncenter size-full wp-image-11865" title="CSS Stylesheet link in Wordpress theme" src="http://images.maketecheasier.com/2010/02/css-locate-wp-css.png" alt="Css stylesheet location in Wordpress theme" width="538" height="138" /></p>
<p>If your blog is on Blogger, open the Blogger dashboard and go to the &#8220;Layout&#8221; tab. Select &#8220;Edit HTML&#8221; and the checkbox &#8220;expand widget templates&#8221;. Next, copy the CSS code in a notepad file defined just after the opening body tag.</p>
<p><img class="aligncenter size-full wp-image-11849" title="Locate CSS Stylesheet for Blogger blogs" src="http://images.maketecheasier.com/2010/02/css-locate-blogger-css.png" alt="css-locate-blogger-css" width="555" height="379" /></p>
<p>Download a copy of that file and do the modifications described in this tutorial. It would be better if you take a backup of the stylesheet for if things go wrong, you can restore your site&#8217;s design by using the backup.</p>
<h3>Optimize the CSS code</h3>
<p><strong>Format your CSS code</strong></p>
<p>The first step towards optimization of any CSS code is proper formatting. You should carefully format the style elements and the attributes so that they are easy to understand. Moreover, the code should be written so that they do not overlap with other classes or ID&#8217;s. Formatting the code manually is a tough job and you can use the <a href="http://www.lonniebest.com/FormatCSS/" target="_blank">Format CSS tool</a> to get started.</p>
<p>Copy the style sheet which you want to format and paste it in the text box. Next, select the preferred rules of formatting from the right panel.</p>
<p><img class="aligncenter size-full wp-image-11850" title="Format CSS Tool - Format your CSS codes" src="http://images.maketecheasier.com/2010/02/css-format-css.png" alt="format-css-tool-format-your-css-codes-stylesheet-file" width="332" height="401" /></p>
<p>For example: You may want to insert a new line after the CSS property of each div tag. You may also want to remove all the white spaces placed after a semicolon. Set all the rules which you want the program to perform and then hit the &#8220;Format CSS&#8221; button. All the specified rules would be applied and the code will be formatted as shown below:</p>
<p><img class="aligncenter size-full wp-image-11851" title="Formatted CSS code" src="http://images.maketecheasier.com/2010/02/css-formated-stylesheet.png" alt="format-css-tool-formatted-stylesheet-code" width="522" height="226" /></p>
<p><strong>Optimize CSS to remove redundancies</strong></p>
<p>Now that you have formatted your code for readability, it&#8217;s time for some optimization. Go to <a href="http://flumpcakes.co.uk/css/optimiser/">Online CSS optimizer</a> and paste the entire code in the text box provided. You may also enter the URL of your CSS file, if you want.</p>
<p><img class="aligncenter size-full wp-image-11852" title="Online CSS Optimizer - Optimize stylesheet" src="http://images.maketecheasier.com/2010/02/css-optimizer.png" alt="online-css-optimizer-optimise-stylesheet" width="481" height="324" /></p>
<p>This tool can be used for the following purposes:</p>
<ul>
<li>convert all the RGB color values to hexadecimal thus reducing overhead and increasing efficiency.</li>
<li>remove all the comments and white spaces.</li>
<li>optimize the border values to modern metrics. For example: the attribute border: 2px 5px 2px 5px is changed to border: 2px 5px;.</li>
<li>convert absolute values to relative ones. For example: the attribute font-size:18px; can be changed into font-size:2em;</li>
<li>converts multiple background, font, margin, padding, list attributes into a single attribute.</li>
</ul>
<p><strong>Clean Your CSS File and reduce Size</strong></p>
<p>Now it&#8217;s time to clean your CSS code for errors and reduce the file size. Reducing the size of CSS is important as it affects the load time of your blog&#8217;s pages. Go to <a href="http://www.cleancss.com/" target="_blank">Clean CSS</a> and paste the CSS code which you optimized in the earlier step. Select the compression mode as highest and select the options shown below</p>
<p><img class="aligncenter size-full wp-image-11853" title="Clean CSS - Cleanup stylesheet code to reduce size" src="http://images.maketecheasier.com/2010/02/css-cleanup-code.png" alt="clean-css-cleanup-stylesheet-code-to-reduce-size" width="366" height="357" /></p>
<p>Clean CSS is based on <a href="http://csstidy.sourceforge.net/index.php">CSS Tidy</a> and can be used to merge shorthand properties, compress colors and font weights. A similar tool for compressing CSS code for faster loading is <a href="http://www.cssdrive.com/index.php/main/csscompressor/">CSS Drive</a>.</p>
<h3>Some Tips</h3>
<p>Following are some tips and tricks you should keep in mind while writing the CSS code for your blog&#8217;s template:</p>
<p>1. Always use external stylesheets rather than pasting the entire code before the &lt;/head&gt; tag.</p>
<p>2. Use universal classes to avoid repetitions. For example: you can use a simple class <em>div.floatleft{float:left;}</em> to float any element to left rather than using the same attribute on multiple classes.</p>
<p>3. Use browser specific CSS files for fixing bugs. That means, if you spot a bug which occurs only in a particular browser ( generally Internet explorer 6 or older versions), use a separate style sheet to fix that bug. This keeps your main style sheet neat and clean.</p>
<p><strong>For Wordpress bloggers</strong>: Apart from optimizing the CSS code, you must check out <a href="http://maketecheasier.com/8-ways-to-improve-your-wordpresss-loading-time/2009/01/21">how to reduce blog&#8217;s page load time</a> and how you should <a href="http://maketecheasier.com/8-useful-tricks-to-clean-up-streamline-your-wordpress-database/2009/02/17">clean up the Wordpress database</a>.</p>
<p>Have you optimized the CSS of your blog template yet? What are your favorite tools for optimizing CSS code? Share your ideas in the comments section.</p>
<p><!--adsense#468x60--></p>
<p><strong><a href="http://maketecheasier.com/3-useful-tools-to-optimize-your-blogs-css/2010/02/06">3 Useful Tools To Optimize your Blog&#8217;s CSS</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/3-useful-tools-to-optimize-your-blogs-css/2010/02/06/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Blogilo: KDE&#8217;s blogging client</title>
		<link>http://maketecheasier.com/blogilo-kdes-blogging-client/2010/02/01</link>
		<comments>http://maketecheasier.com/blogilo-kdes-blogging-client/2010/02/01#comments</comments>
		<pubDate>Mon, 01 Feb 2010 13:24:12 +0000</pubDate>
		<dc:creator>Tavis J. Hampton</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[blog client]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[social media]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=11613</guid>
		<description><![CDATA[Social media has taken over the Web in a very big way. It has even been argued that social media is the new Web or &#8220;new media&#8221;.  From social networking sites like Facebook to video sharing sites like YouTube, social media services occupy all of the top 20 most popular sites on Alexa.com, excluding search engines. [...]<p><strong><a href="http://maketecheasier.com/blogilo-kdes-blogging-client/2010/02/01">Blogilo: KDE&#8217;s blogging client</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-11614" title="blogilo" src="http://images.maketecheasier.com/2010/01/blogilo.png" alt="Blogilo icon for KDE" width="128" height="128" />Social media has taken over the Web in a very big way. It has even been argued that social media is the new Web or &#8220;new media&#8221;.  From social networking sites like Facebook to video sharing sites like YouTube, social media services occupy all of the top 20 most popular sites on Alexa.com, excluding search engines. Two of those popular social media sites are Blogger and Wordpress, two sites that host free blogs for their users.</p>
<p>Although most blog services and blogging content management systems allow users to post directly on their websites, there are many advantages to using client software on a local computer, such as the ability to work offline. In past years, KDE had no full-featured blogging client.</p>
<p>Then, along came Kblogger, which was originally a panel applet and began to slowly morph into a full client. Another project called Bilbo finally emerged as a true full-featured client and working in conjunction with the Kblogger developers, managed to develop a blogging client that is now included in KDE releases.  Due to trademark issues, they changed the name to <a href="http://blogilo.gnufolks.org/" target="_blank">Blogilo</a>, and will release it with KDE 4.4.</p>
<p><img class="alignnone size-full wp-image-11615" title="blogilo-main-window1" src="http://images.maketecheasier.com/2010/01/blogilo-main-window1.png" alt="blogilo main window" width="575" height="391" /></p>
<p>Blogilo featurs a WYSIWIG editor and support for Blogger 1.0, MetaWeblog, MovableType, Wordpress, and Google GData APIs. With it, users can create, modify, schedule, and delete posts. The right column is called the &#8220;toolbox&#8221; and includes tabs containing the most recent blog posts from a user&#8217;s blog, post categories, options such as whether to enable comments, and local entries not uploaded to the blog.</p>
<p>Because the main editing window is WYSIWYG, the toolbar includes typical word precessing-like features: bold, italics, font size and color, and spell check. Users can also add images directly from their computers (uploaded with the blog&#8217;s API) or from the the Web.</p>
<p><img class="alignnone size-full wp-image-11616" title="blogilo-html-editor" src="http://images.maketecheasier.com/2010/01/blogilo-html-editor.png" alt="blogilo html editor" width="642" height="170" /></p>
<p>Despite the outstanding features, Blogilo does have its limitations. I could not find a way to use the graphical interface to set some styles, such as floating an image to the left or right. Its alignment tool seems to work on text, but those users who insist on following XHTML standards will find that Blogilo is a little loose in this area.  Fortunately, it also includes an HTML editor if users need to add styles rather than using the client&#8217;s own formatting tools.</p>
<h3>Getting Started</h3>
<p><img class="alignnone size-full wp-image-11619" title="blogilo-configuration" src="http://images.maketecheasier.com/2010/01/blogilo-main-window21.png" alt="Blogilo configuration window" width="570" height="363" /></p>
<p>Setup is very easy with Blogilo. Simply click &#8220;Blog&#8221; in the menu, followed by &#8220;Add Blog&#8230;&#8221; This will open a dialog asking you for four things: A title for the blog, your blog&#8217;s URL, your username, and your password.  If you click &#8220;Auto-configure&#8221; Blogilo will magically seek out your blog, login, fetch the latest posts and categories, and have you ready to start posting. You can also manually specify the settings and then click OK.</p>
<p>Typing a post is a pretty natural experience and normally goes without a hitch. If you need to stop in the middle of a post, you can click the &#8220;<em>Save Locally</em>&#8221; button or save a draft on the server by clicking submit and checking &#8220;save entry as draft&#8221;. Once you are finished, you can preview your post within Blogilo and view it using your blog&#8217;s own CSS styles.</p>
<p>Since Blogilo is a native KDE app, you can manipulate widgets like the Toolbox, moving it to the left side or even detaching it, forming its own separate window. It also supports KDE&#8217;s auto spell check to correct your spelling as you type. Furthermore, it allows you to open or create multiple posts, which are all conveniently tabbed and easily accessible.</p>
<p>Overall, I have found the blogging client very reliable and feature-rich. I have corresponded with the developers on more than one occasion and found them to be easily approachable and willing to quickly fix any of the early bugs. With this official KDE release, Blogilo seems more than ready to take on any new tasks that come its way, even if that includes changing its name a second time.</p>
<p><!--adsense#468x60--></p>
<p><strong><a href="http://maketecheasier.com/blogilo-kdes-blogging-client/2010/02/01">Blogilo: KDE&#8217;s blogging client</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/blogilo-kdes-blogging-client/2010/02/01/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Understanding WordPress Theme: The Basics of Creating Your Own WP Theme</title>
		<link>http://maketecheasier.com/understanding-wordpress-theme/2010/01/07</link>
		<comments>http://maketecheasier.com/understanding-wordpress-theme/2010/01/07#comments</comments>
		<pubDate>Thu, 07 Jan 2010 23:27:09 +0000</pubDate>
		<dc:creator>Shevonne</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[themes]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=10671</guid>
		<description><![CDATA[There are a variety of free and premium WordPress themes that you can find throughout the web. You will sometime find that you can spend hours trying to modify the theme, so it is tailored to the way you want it. Sometimes it&#8217;s easier to create your own from scratch, and not deal with the [...]<p><strong><a href="http://maketecheasier.com/understanding-wordpress-theme/2010/01/07">Understanding WordPress Theme: The Basics of Creating Your Own WP Theme</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-10690" height="200" alt="wordpress theme" src="http://images.maketecheasier.com/2010/01/wordpress-theme.png" width="200" />There are a variety of free and premium WordPress themes that you can find throughout the web. You will sometime find that you can spend hours trying to modify the theme, so it is tailored to the way you want it. Sometimes it&#8217;s easier to create your own from scratch, and not deal with the headaches that can happen with customization of an existing WordPress theme. This guide will help you to understand the basic of a WordPress theme and how to create a simple theme. </p>
<p>I recommend that before you begin, you familiarize yourself with the WordPress file structure by analyzing as many WordPress themes as you can (<strong>Note</strong>: <em>You need to have a basic understanding of HTML and CSS</em>.) </p>
<h3>Getting Started</h3>
<p>Begin you begin coding up the theme, you must understand that the WP theme is just like any other HTML webpage, except that it is coded with PHP. Even so, you don&#8217;t need to be a PHP expert to do up a WP theme. My advice is: </p>
<ol>
<li>First get a working pure HTML page up and running (You can easily do this with a <a href="http://maketecheasier.com/html-editor-created-by-w3c/2009/11/06">WYSIWYG webpage editor</a>). </li>
<li>Open the HTML webpage in a text editor and slice it up to different portion (we&#8217;ll explain more on that later)</li>
<li>Insert in the PHP code</li>
</ol>
<h3>WordPress File Structure</h3>
<p>The basic file structure of a WordPress theme is as follows: </p>
<ol>
<li><strong>Style.css – </strong>The stylesheet holds all the formatting and styles of the theme </li>
<li><strong>Index.php –</strong> This is the main WordPress theme file that ties all the other files together </li>
<li><strong>Header.php – </strong>Holds all the header information. Also, if all the files were lumped together, this would be the beginning of the WordPress theme </li>
<li><strong>Sidebar.php –</strong> It has all the code for the sidebar </li>
<li><strong>Footer.php – </strong>Holds the footer code </li>
</ol>
<p>Other files that you will also find in a WordPress theme are: </p>
<ol>
<li><strong>Single.php –</strong> A single blog post code </li>
<li><strong>Comments.php –</strong> This is where you place the code to control the behavior of the blog comments </li>
<li><strong>Page.php -</strong> Controls the behavior of your individual pages </li>
<li><strong>Search.php &#8211; </strong>This is if you want to add search capability to your WordPress theme </li>
<li><strong>Searchform.php &#8211; </strong>Controls the way the search box behaves </li>
<li><strong>404.php &#8211; </strong>Customize the landing page if your readers get an 404 error </li>
<li><strong>Functions.php &#8211; </strong>A way to further customize your WordPress theme </li>
<li><strong>Archives php &#8211; </strong>How to display the archive results </li>
</ol>
<p>A simple layout of the theme</p>
<p><img src="http://images.maketecheasier.com/2010/01/wordpress-theme-layout.png" alt="wordpress-theme-layout" title="wordpress-theme-layout" width="577" height="400" class="alignnone size-full wp-image-10749" /></p>
<p>Once you have got your HTML webpage ready, you can begin to slice up using the above layout as a guide. </p>
<p>To begin, you can either use an existing WordPress theme as a starting point (the WordPress default theme is a good one to start with. You don&#8217;t have to code it up from scratch, just amend the necessary stuff will do). Or, if you are adventurous, you can just start coding without one. </p>
<h3>Main Index Template (index.php)</h3>
<p>I suggest that you begin with Index.php because this is the file that ties all of the other WordPress files together. The first step is to call the header file. This is done by adding</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> get_header<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>The next essential piece of code you should add to the main index file is to tell WordPress how to behave if there are blog posts. This is accomplished by entering</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span>have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> the_post<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>You will then enter code on how way the page will be structured. This will vary according to how you want your page to look like. For instance, magazine-type look is going to be different than a blog-type one. After entering your code, you will have to add the following lines that will tell WordPress what will happen if there are no posts:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">else</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>After entering the behavior of the page, you need to call the sidebar and the footer. This is done by adding the following lines of code:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> get_sidebar<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> get_footer<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>On the whole, it should look like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;</span>?php get_header<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>; ?<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">&lt;!</span>--grab the header, part <span style="color: #000000;">1</span> of the layout--<span style="color: #000000; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;</span>?php <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>have_posts<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> : ?<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">&lt;!</span>--displaying the main content area,  part <span style="color: #000000;">2</span> of the layout--<span style="color: #000000; font-weight: bold;">&gt;</span>
    <span style="color: #000000; font-weight: bold;">&lt;</span>?php <span style="color: #000000; font-weight: bold;">while</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>have_posts<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> : the_post<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>; ?<span style="color: #000000; font-weight: bold;">&gt;</span>
        Your HTML code here <span style="color: #000000; font-weight: bold;">for</span> displaying individual post.
    <span style="color: #000000; font-weight: bold;">&lt;</span>?php endwhile; ?<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;</span>?php <span style="color: #000000; font-weight: bold;">else</span> : ?<span style="color: #000000; font-weight: bold;">&gt;</span>
        Your HTML code here when there is no post available
<span style="color: #000000; font-weight: bold;">&lt;</span>?php endif; ?<span style="color: #000000; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;</span>?php get_sidebar<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>; ?<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">&lt;!</span>--display the sidebar, part <span style="color: #000000;">3</span> of the layout--<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;</span>?php get_footer<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>; ?<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">&lt;!</span>--display the footer, part <span style="color: #000000;">4</span> of the layout--<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<h3>Stylesheet (style.css)</h3>
<p>The cascading stylesheet includes all the formatting and styles for your WordPress theme. This will provide more flexibility to your theme instead of hardcoding them into each individual file. It is created just like any stylesheet. If you need a refresher, check out the <a href="http://www.w3.org/Style/" target="_blank">W3 Consortium&#8217;s CSS style guide</a>. </p>
<h3>Header File (header.php)</h3>
<p>The header file is like the beginning of an HTML file. Most of the time, you can just copy and paste from the default theme. The basic code that will be in the header file is as follows:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; <span style="color: #000000; font-weight: bold;">&lt;?php</span> language_attributes<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&gt;
&lt;head profile=&quot;http://gmpg.org/xfn/11&quot;&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'html_type'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>; charset=<span style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'charset'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; /&gt;
&lt;title&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_title<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&amp;laquo;'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'right'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> <span style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'name'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/title&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'stylesheet_url'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;
&lt;link rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot; title=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'name'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> RSS Feed&quot; href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'rss2_url'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; /&gt;
&lt;link rel=&quot;pingback&quot; href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'pingback_url'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; /&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_head<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/head&gt;
&lt;body&gt;</pre></div></div>

<h3>Sidebar (sidebar.php)</h3>
<p>The sidebar is how you want the sidebar to look like. You can have more than one sidebar. However, we are creating a simple WordPress theme, so we will stick with one. People usually like placing widgets on the sidebar, so you should add code to ensure that your WordPress theme supports widgets. You can also have any standard sidebar items that you want without having to use a widget. Sidebar basic are as follows:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;div id=&quot;sidebar&quot;&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span><span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'dynamic_sidebar'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> <span style="color: #339933;">!</span>dynamic_sidebar<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/div&gt;</pre></div></div>

<p>The code above will check if the theme supports widget. If yes, it will load all the widget content onto the template. else, nothing will show up on the template.</p>
<p>To widgetize your theme, simply add the following code to your <em>functions.php</em></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'register_sidebar'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span>
    register_sidebar<span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
        <span style="color: #0000ff;">'before_widget'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'&lt;li id=&quot;%1$s&quot; class=&quot;widget %2$s&quot;&gt;'</span><span style="color: #339933;">,</span>
        <span style="color: #0000ff;">'after_widget'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'&lt;/li&gt;'</span><span style="color: #339933;">,</span>
        <span style="color: #0000ff;">'before_title'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'&lt;h2 class=&quot;widgettitle&quot;&gt;'</span><span style="color: #339933;">,</span>
        <span style="color: #0000ff;">'after_title'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'&lt;/h2&gt;'</span><span style="color: #339933;">,</span>
    <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<h3>Footer (footer.php)</h3>
<p>The footer file will close the WordPress theme. You can place anything you want in the footer. You will usually see the copyright information here. The basic code to create the footer file is:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;div id=&quot;footer&quot; role=&quot;contentinfo&quot;&gt;
        Place whatever footer information you want to place here
&lt;/div&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_footer<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/body&gt;
&lt;/html&gt;</pre></div></div>

<p>As I stated before, if you have never created a WordPress theme, but are knowledgeable in CSS and HTML, then check out the structure of existing and various other WordPress themes, and begin creating your own WordPress theme.</p>
<p>If you need help on customizing/creating your WordPress theme, feel free to <a href="http://maketecheasier.com/contact">contact us</a> to ask for a quote.  </p>
<p><!--adsense#468x60--></p>
<p><strong><a href="http://maketecheasier.com/understanding-wordpress-theme/2010/01/07">Understanding WordPress Theme: The Basics of Creating Your Own WP Theme</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/understanding-wordpress-theme/2010/01/07/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>WordPress: How to Separate Pingbacks From Comments</title>
		<link>http://maketecheasier.com/wordpress-separate-pingbacks-from-comments/2009/12/26</link>
		<comments>http://maketecheasier.com/wordpress-separate-pingbacks-from-comments/2009/12/26#comments</comments>
		<pubDate>Sat, 26 Dec 2009 13:09:56 +0000</pubDate>
		<dc:creator>Shevonne</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Comments]]></category>
		<category><![CDATA[pingbacks]]></category>
		<category><![CDATA[separate]]></category>
		<category><![CDATA[trackbacks]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=9992</guid>
		<description><![CDATA[With the popularity of social networking sites, such as Twitter and Facebook, there has been an increase of pingbacks and external comments. Therefore, some bloggers find it easier to separate the two, so it&#8217;s easier for their readers and themselves to distinguish between the two. This can be done in two ways: Using a WordPress [...]<p><strong><a href="http://maketecheasier.com/wordpress-separate-pingbacks-from-comments/2009/12/26">WordPress: How to Separate Pingbacks From Comments</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="wordpress logo" src="http://images.maketecheasier.com/2008/01/wordpress.png" alt="wordpress logo" width="150" height="150" />With the popularity of social networking sites, such as Twitter and Facebook, there has been an increase of pingbacks and external comments. Therefore, some bloggers find it easier to separate the two, so it&#8217;s easier for their readers and themselves to distinguish between the two. This can be done in two ways: Using a WordPress plugin or manually changing your blog&#8217;s code.</p>
<h3>What are pingbacks and trackbacks?</h3>
<p>Pingbacks and trackbacks are very similar, but other than using different communication technologies (Pingbacks use XML-RPC; Trackbacks use HTTP POST), there are only minor differences. Pingbacks are a way of keeping track of other blogs who have linked to your blog posts within their own blog posts.  In order to do this, external blogs have to use your blog post&#8217;s hyperlink. Trackbacks work the same, except the blog post&#8217;s hyperlink is not placed within an external blog post. They are usually placed in an area specified for trackbacks. Additionally, pingbacks automatically will find the URLs; while trackbacks are done manually.</p>
<h3>What are comments?</h3>
<p>Comments are responses to a particular blog post that readers have written. Usually, comments are located right after the blog post. People have the ability to reply to one another&#8217;s comments directly on the blog without having to go to an external site.</p>
<h3>Separating Comments and Pingbacks</h3>
<p>If you have noticed, the MakeTechEasier comment system has separated out the pingbacks and the comments for better readability.</p>
<p><img class="alignnone size-full wp-image-10017" title="wp-comments-pingbacks" src="http://images.maketecheasier.com/2009/12/wp-comments-pingbacks.png" alt="wp-comments-pingbacks" width="577" height="369" /></p>
<p>So how did we do it?</p>
<h3>WordPress Plugins</h3>
<p>There are three WordPress plugins that you can use to separate comments from pingbacks/trackbacks:</p>
<p><strong>1. <a href="http://wordpress.org/extend/plugins/bm-comments-and-trackbacks/" target="_blank">BM-TrackPing</a></strong></p>
<p>What this plugin does is to strip out the trackbacks from the comment list and then add a single new comment with all the trackbacks in a list at the end. This plugin has not been updated for more than a year, so there is no guarantee that it will work well for the latest version of WordPress.</p>
<p><strong>2. <a href="http://urbangiraffe.com/plugins/separate-comment-pings/" target="_blank">Separate Comments &amp; Pings</a></strong></p>
<p>This plugin removes pings and trackbacks from comment pages and place them in a new variable <em>$pings</em>. You will have to do further coding to insert the pingbacks separately.</p>
<p><strong>3. <a href="http://wordpress.org/extend/plugins/trackping-separator/" target="_blank">Trackping Separator</a></strong></p>
<p>Remove your pingbacks from the comments and provided you functions (to use in your theme) to list pingbacks/trackbacks separately.</p>
<h3>Manually Changing the Code</h3>
<p>By far, this is the best (and most effective) way to separate pingbacks/trackbacks from comments. You might get your hands dirty, but I assure you it will be easy. Just follow the instructions below:</p>
<p><strong>Note:</strong> <em>The following instructions assume that you are using WP2.7 and above. It will not work for any WP version less than 2.7</em></p>
<p>In your WordPress theme folder, download the <em>comments.php</em> file from the server.</p>
<p>Open it with a text-editor</p>
<p>Find the following code:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ol class=&quot;commentlist&quot;&gt;
    <span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_comments<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/ol&gt;</pre></div></div>

<p>Change the code to be as follows:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ol class=&quot;commentlist&quot;&gt;
    <span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_comments<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'type=comment'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/ol&gt;
&lt;ol class=&quot;commentlist&quot;&gt;
    <span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_comments<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'type=pings&amp;callback=list_pings'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/ol&gt;</pre></div></div>

<p>What the above code does it to first display all the comments in an ordered list, followed by all the pingbacks/trackbacks in a second ordered list. You can play around with the code to style it up or to change the order of the display.</p>
<p>Once you are done editing, save it.</p>
<p>Rename the <em>comments.php</em> file in the server to <em>comments-old.php</em> and upload this newly edited <em>comments.php</em> to your server theme folder. Now go to your site and see the magic happens.</p>
<p><!--adsense#468x60--></p>
<p><strong><a href="http://maketecheasier.com/wordpress-separate-pingbacks-from-comments/2009/12/26">WordPress: How to Separate Pingbacks From Comments</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/wordpress-separate-pingbacks-from-comments/2009/12/26/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Make Your WordPress Blog iPhone Compatible Using WPtouch</title>
		<link>http://maketecheasier.com/make-your-wordpress-blog-iphone-compatible-using-wptouch/2009/11/17</link>
		<comments>http://maketecheasier.com/make-your-wordpress-blog-iphone-compatible-using-wptouch/2009/11/17#comments</comments>
		<pubDate>Tue, 17 Nov 2009 23:21:42 +0000</pubDate>
		<dc:creator>Sharninder</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[wordpress plugin]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=8440</guid>
		<description><![CDATA[I&#8217;m sure most of you would agree with me that the iPhone is the world&#8217;s most popular smartphone. Even if you don&#8217;t agree with that statement per se, you&#8217;d definitely agree that it is the world&#8217;s most popular smartphone for accessing the Internet.
There was a time when web pages had to be written specially for [...]<p><strong><a href="http://maketecheasier.com/make-your-wordpress-blog-iphone-compatible-using-wptouch/2009/11/17">Make Your WordPress Blog iPhone Compatible Using WPtouch</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-8450" src="http://images.maketecheasier.com/2009/11/wptouch-demo.jpg" alt="WPtouch Demo" width="200" height="287" />I&#8217;m sure most of you would agree with me that the iPhone is the world&#8217;s most popular smartphone. Even if you don&#8217;t agree with that statement <em>per se</em>, you&#8217;d definitely agree that it is the world&#8217;s most popular smartphone <em>for accessing the Internet</em>.</p>
<p>There was a time when web pages had to be written specially for mobile devices and most devices available in the market just couldn&#8217;t display regular web sites designed using HTML.</p>
<p>The Safari browser on the iPhone and iPod touch devices is responsible for more than half of the world&#8217;s mobile Internet usage and it doesn&#8217;t look like that uptrend is going to change soon. The reason behind this popularity is that, unlike other smart phone browsers, mobile Safari can display regular webpages as well as desktop based web browsers.</p>
<p>But, while the iPhone and iPod touch browsers display almost all websites perfectly, using a mobile specific theme you can offer a lot of advantages to your visitors.</p>
<p>For one, the mobile optimized pages will load a lot faster. The fonts will be optimized for reading on a device with a small screen and last but not the least, the user won&#8217;t have to scroll and zoom just to read the content.</p>
<p>But, if you&#8217;re worried that you&#8217;ll have to do a complete rewrite of your blog&#8217;s theme to make a mobile optimized version, don&#8217;t worry, WPtouch is here to your rescue.</p>
<p>WPtouch is a wordpress plugin that completely changes the way your blog looks on a mobile device like the iPhone, iPod touch or the Android. In that sense, it acts more like a theme for your blog rather than a plugin.</p>
<p>If you&#8217;re using wordpress version 2.8 or above, the easiest method to install WPtouch is to login to the admin panel and click on the &#8220;<em>Add New</em>&#8221; link under <em>Plugins</em>.</p>
<p>Search for the term WPtouch and when the WPtouch plugin shows up in the search results, click on the Install link to install it automatically.</p>
<p><img class="aligncenter size-full wp-image-8443" src="http://images.maketecheasier.com/2009/11/wptouch-install.jpg" alt="WPtouch Install" width="500" height="291" /></p>
<p>Once the installation is completed, you can activate the plugin by clicking on the Activate link on the same page.</p>
<p><img class="aligncenter size-full wp-image-8445" src="http://images.maketecheasier.com/2009/11/wptouch-activate.jpg" alt="Activate WPtouch" width="450" height="186" /></p>
<p>The plugin will now be installed and activated, ready to start serving a mobile version of your blog to your iPhone totting visitors.</p>
<p>If you want, you can just leave it at that and WPtouch will happily keep serving your visitors as long as you want, but if you&#8217;re like me and like to customize each and every part of your blog, I&#8217;d suggest that you give the Settings pane a look and customize certain aspects of WPtouch to better match your blog.</p>
<p>Click on the WPtouch link under Settings.</p>
<p><img class="aligncenter size-full wp-image-8446" src="http://images.maketecheasier.com/2009/11/wptouch-settings.jpg" alt="WPtouch Settings" width="376" height="153" /></p>
<p>This is where you can change the theme&#8217;s style, colors and the icons used. When you&#8217;re happy with your custom changes, click the <strong>Save Options</strong> button.</p>
<p>If you use the WP Super Cache plugin on your blog, like I do, then you need to make some more changes to the your setup.</p>
<p>Click on the WP Super Cache link under Settings and check the tick box that says &#8220;Mobile Device Support&#8221; and click the <strong>Update Status</strong> button.</p>
<p><img class="aligncenter size-full wp-image-8448" src="http://images.maketecheasier.com/2009/11/wpsupercache-settings.jpg" alt="WP Super Cache Settings" width="333" height="188" /></p>
<p>Scroll a little further down the page and you&#8217;ll find the <strong>Rejected User Agents</strong> text box. You need to add the following user agents to the list that is already there.</p>
<ul>
<li>phone</li>
<li>ipod</li>
<li>android</li>
<li>dream</li>
<li>cupcake</li>
<li>webos</li>
<li>incognito</li>
<li>webmate</li>
<li>opera mini</li>
<li>blackberry9530</li>
<li>blackberry9500</li>
</ul>
<p>Save the list.</p>
<p>That&#8217;s it. You can now happily declare your blog as the most mobile friendly blog in the neighborhood.</p>
<p><!--adsense#468x60--></p>
<p><strong><a href="http://maketecheasier.com/make-your-wordpress-blog-iphone-compatible-using-wptouch/2009/11/17">Make Your WordPress Blog iPhone Compatible Using WPtouch</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/make-your-wordpress-blog-iphone-compatible-using-wptouch/2009/11/17/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Useful WordPress wp-config Tricks That You May Not Know</title>
		<link>http://maketecheasier.com/useful-wordpress-wp-config-tricks-that-you-may-not-know/2009/11/17</link>
		<comments>http://maketecheasier.com/useful-wordpress-wp-config-tricks-that-you-may-not-know/2009/11/17#comments</comments>
		<pubDate>Tue, 17 Nov 2009 13:16:46 +0000</pubDate>
		<dc:creator>Damien</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[wp-config]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=8292</guid>
		<description><![CDATA[If you are one of the many who install WordPress via Fantastico, chances are, you won&#8217;t even know the existence of the wp-config file in WordPress. The wp-config.php file is one of the most important files in Wordpress. It holds the keys to your database and also many of the configuration options that you never [...]<p><strong><a href="http://maketecheasier.com/useful-wordpress-wp-config-tricks-that-you-may-not-know/2009/11/17">Useful WordPress wp-config Tricks That You May Not Know</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></description>
			<content:encoded><![CDATA[<p><img src="http://images.maketecheasier.com/2009/11/wp-config.png" alt="wp-config" title="wp-config" width="400" height="167" class="alignleft size-full wp-image-8366" />If you are one of the many who install WordPress via Fantastico, chances are, you won&#8217;t even know the existence of the <em>wp-config</em> file in WordPress. The <em>wp-config.php</em> file is one of the most important files in Wordpress. It holds the keys to your database and also many of the configuration options that you never know you can do with WordPress. Here are some tricks that you can get your WordPress to do by editing the wp-config file.</p>
<h3>1. Database settings</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_NAME'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'putyourdbnamehere'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_USER'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'usernamehere'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_PASSWORD'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'yourpasswordhere'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_HOST'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'localhost'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>This is the first thing that you need to configure in order for WordPress to work. In most cases, you only need to change the <em>database name</em>, <em>username</em> and <em>password</em>. For the DB_HOST, ‘localhost’ should work most of the times. If not, ask your server administrator for details.</p>
<h3>2. Changing the database charset value</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_CHARSET'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'utf8'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>You won&#8217;t have to change this value 99% of the time. Change this only if you are very sure that your database is using a different <a href="http://en.wikipedia.org/wiki/Category:Character_sets" target="_blank">charset</a>.</p>
<h3>3. Changing the database character set sort order</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_COLLATE'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Once again, change this only if you know what you are doing. If not, leaving it blank is the best option.</p>
<h3>4. Authentication keys</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'AUTH_KEY'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'put your unique phrase here'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'SECURE_AUTH_KEY'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'put your unique phrase here'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'LOGGED_IN_KEY'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'put your unique phrase here'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'NONCE_KEY'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'put your unique phrase here'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>The authentication keys are used to insure better encryption of information stored in the user&#8217;s cookies. Go to <a href="https://api.wordpress.org/secret-key/1.1/" target="_blank">https://api.wordpress.org/secret-key/1.1/</a> to generate a new set of keys and copy/paste them into your wp-config.php file.</p>
<p>If you are using WPMU, you will see three extra sets of authentication keys:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'AUTH_SALT'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'put your unique phrase here'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'LOGGED_IN_SALT'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'put your unique phrase here'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'SECURE_AUTH_SALT'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'put your unique phrase here'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>5. Table prefix</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$table_prefix</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'wp_'</span><span style="color: #339933;">;</span></pre></div></div>

<p>This <em>$table_prefix</em> settings allow you to change the default <em>wp_</em> prefix before your WordPress installation.</p>
<p><em>Note</em>: If your existing database is already using the default wp_ prefix, changing this value will not change the database value, and it will also cause your site to break. To change your existing table prefix, refer to this <a href="http://maketecheasier.com/the-safe-way-to-change-your-wordpress-database-table-prefix/2009/11/07">tutorial</a>.</p>
<h3>6. Language and Language Directory</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'WPLANG'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'de_DE'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'LANGDIR'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'mylanguagedirectory'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>If you are using a language translation file for your blog, this is where you define the language that you are using and the location of the translation (.mo) files.</p>
<p>Defining of LANGDIR is optional. If it is not specified, WordPress will first look up the <em>wp-content/languages</em> folder, follow by <em>wp-includes/languages</em> for the .mo file.</p>
<h3>7. Defining the Home and site url</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'WP_SITEURL'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'http://your-site-url.com'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'WP_HOME'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'http://your-site-url.com'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>The SITEURL refers to the actual installation path of WordPress (the file path where the wordpress files are located) while the HOME refers to the URL that you want your visitor to access. There are several uses for this</p>
<ol>
<li>For security measure. Install your wordpress in subfolder and have your visitors access them from the root directory</li>
<li>Migrating to new URl. When you are moving to a new URL, you can easily restore your database by pointing the WP_SITEURL and WP_HOME to the new URL. No editing of the database is required.</li>
</ol>
<h3>8. Revision count</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'WP_POST_REVISIONS'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">FALSE</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'WP_POST_REVISIONS'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Change the number of post revisions for WordPress to record. Giving it a value of <em>FALSE</em> (without the quote) will turn post revisions off.</p>
<h3>9. Modify AutoSave Interval</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'AUTOSAVE_INTERVAL'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">160</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>When editing a post, WordPress uses Ajax to auto-save revisions to the post as you edit. You may want to increase this setting for longer delays in between auto-saves, or decrease the setting to make sure you never lose changes. The default is 60 seconds.</p>
<h3>10. Define new wp-content location</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'WP_CONTENT_DIR'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'DOCUMENT_ROOT'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/blog/wp-content'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'WP_CONTENT_URL'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'http://example/blog/wp-content'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'WP_PLUGIN_DIR'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'DOCUMENT_ROOT'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/blog/wp-content/plugins'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'WP_PLUGIN_URL'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'http://example/blog/wp-content/plugins'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Since WP2.6, you are allowed to move the <em>wp-content</em> folder to other destination and still get it working. You just need to specify the filepath of the new location in the wp-config file.</p>
<h3>11. Access external  configuration files</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">require_once</span><span style="color: #009900;">&#40;</span>‘FilePathToConfigurationFiles’<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>For developer, if you need to access external configuration file from within WordPress, the place to define it will be within the wp-config.php. This is useful when integrating another software with WordPress. For example, to integrate bbpress with WordPress, add the following</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">require_once</span><span style="color: #009900;">&#40;</span>‘filepathtoforums<span style="color: #339933;">/</span>bb<span style="color: #339933;">-</span>load<span style="color: #339933;">.</span>php<span style="color: #0000ff;">');</span></pre></div></div>

<p>to access to the bbpress functions in WordPress.</p>
<h3>12. Managing your cookies</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'COOKIE_DOMAIN'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'.yoursite.com'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'COOKIEPATH'</span><span style="color: #339933;">,</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'|https?://[^/]+|i'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'home'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/'</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'SITECOOKIEPATH'</span><span style="color: #339933;">,</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'|https?://[^/]+|i'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'siteurl'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/'</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'ADMIN_COOKIE_PATH'</span><span style="color: #339933;">,</span> SITECOOKIEPATH <span style="color: #339933;">.</span> <span style="color: #0000ff;">'wp-admin'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'PLUGINS_COOKIE_PATH'</span><span style="color: #339933;">,</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'|https?://[^/]+|i'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> WP_PLUGIN_URL<span style="color: #009900;">&#41;</span>  <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>The cookie definition is meant for sites with unusual domain setup. If you are using sub-domains to serve static content, you won’t want WordPress to track the cookies for the static sites. Simply define the COOKIE_DOMAIN option to limit the domain tracked by the cookie.</p>
<h3>13. Debug</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'WP_DEBUG'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>The WP_DEBUG option is especially useful when you are developing a WP site. It allows you to see what went wrong in the code. In actual production site, this option should be turned off (FALSE) as it can affect the performance of the site.</p>
<p>Additionally, if you are planning on modifying some of WordPress&#8217; built-in JavaScript, you can enable the following option:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'SCRIPT_DEBUG'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>This will allow you to edit the <em>scriptname.dev.js</em> files in the wp-includes/js and wp-admin/js directories.</p>
<h3>14. Configure Error Log</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">@</span><span style="color: #990000;">ini_set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'log_errors'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'On'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">@</span><span style="color: #990000;">ini_set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'display_errors'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'Off'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">@</span><span style="color: #990000;">ini_set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'error_log'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/home/example.com/logs/php_error.log'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>This option allows you to turn on <em>php error_logging</em> and logs them to a specific file. This is especially useful for those who have no access to the php.ini file.</p>
<h3>15. Increasing memory allocated to PHP</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'WP_MEMORY_LIMIT'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'64M'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Specify the maximum amount of memory that can be consumed by PHP. This setting may be necessary in the event you receive a message such as &#8220;Allowed memory size of xxxxxx bytes exhausted&#8221;.</p>
<h3>16. Cache</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'WP_CACHE'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Activate the WP_CACHE for better site performance.</p>
<h3>17. Custom User and Usermeta Tables</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'CUSTOM_USER_TABLE'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$table_prefix</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'my_users'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'CUSTOM_USER_META_TABLE'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$table_prefix</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'my_usermeta'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Save the user data to other table instead of the default <em>wp_users</em>.</p>
<h3>18. Save queries for analysis</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'SAVEQUERIES'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>The SAVEQUERIES option allows you to see all the queries made to the database. You can then analyze those queries and see the function that called it, and how long that query took to execute.</p>
<p>NOTE: This will have a performance impact on your site, so make sure to turn this off when you aren&#8217;t debugging.</p>
<p>To view the queries, place the following code in the footer of your theme:</p>
<p class="codeblock">&lt;?php<br />
if (current_user_can(&#8216;level_10&#8242;)){<br />
    global $wpdb;<br />
    echo &#8220;&lt;pre&gt;&#8221;;<br />
    print_r($wpdb-&gt;queries);<br />
    echo &#8220;&lt;/pre&gt;&#8221;;<br />
}<br />
?&gt;</p>
<p>The code above uses the level_10 capability so only the administrator will see the query results.</p>
<h3>19. Override of default file permissions</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'FS_CHMOD_DIR'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#40;</span><span style="color: #208080;">0755</span> <span style="color: #339933;">&amp;</span> ~ <span style="color: #990000;">umask</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'FS_CHMOD_FILE'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#40;</span><span style="color: #208080;">0644</span> <span style="color: #339933;">&amp;</span> ~ <span style="color: #990000;">umask</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>The above two options allow you to override the default file permissions. You won’t have to define this in most cases. However if your webhost uses restrictive permissions for all user files, then this is the way to go around it.</p>
<h3>20. FTP/SSH Constants</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'FS_METHOD'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'ftpext'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'FTP_BASE'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'/path/to/wordpress/'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'FTP_CONTENT_DIR'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'/path/to/wordpress/wp-content/'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'FTP_PLUGIN_DIR '</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'/path/to/wordpress/wp-content/plugins/'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'FTP_PUBKEY'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'/home/username/.ssh/id_rsa.pub'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'FTP_PRIKEY'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'/home/username/.ssh/id_rsa'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'FTP_USER'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'username'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'FTP_PASS'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'password'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'FTP_HOST'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'ftp.example.org:21'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>WordPress allows you to upgrade the core version and plugins from within the backend. However, some of you might not be able to enjoy the benefits due to the FTP connection issue. Simply update your wp-config file with the necessary FTP credential and your WP upgrade function should work fine.</p>
<h3>21. Control Proxy Access</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'WP_HTTP_BLOCK_EXTERNAL'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'WP_ACCESSIBLE_HOSTS'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'api.wordpress.org'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>The above options allow you to access external hosts from your domain. This is useful if you are in a restrictive environment (such as your comapny&#8217;s intranet) and you need to access an external host. </p>
<h3>Protecting wp-config file</h3>
<p>With so many information in the wp-config.php file, the last thing that you want is for hacker to see your wp-config file and gain access to your database.</p>
<p>Add the following code to your .htaccess file to prevent hackers from accessing your wp-config file.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># protect wpconfig.php</span>
<span style="color: #000000; font-weight: bold;">&lt;</span>files wp-config.php<span style="color: #000000; font-weight: bold;">&gt;</span>
order allow,deny
deny from all
<span style="color: #000000; font-weight: bold;">&lt;/</span>files<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p>Did I miss out any tricks? Leave it in the comments</p>
<p><!--adsense#468x60--></p>
<p><strong><a href="http://maketecheasier.com/useful-wordpress-wp-config-tricks-that-you-may-not-know/2009/11/17">Useful WordPress wp-config Tricks That You May Not Know</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/useful-wordpress-wp-config-tricks-that-you-may-not-know/2009/11/17/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How to Install and Test Wordpress on Your Mac</title>
		<link>http://maketecheasier.com/install-and-test-wordpress-on-your-local-computer-mac/2009/11/10</link>
		<comments>http://maketecheasier.com/install-and-test-wordpress-on-your-local-computer-mac/2009/11/10#comments</comments>
		<pubDate>Tue, 10 Nov 2009 13:18:58 +0000</pubDate>
		<dc:creator>Sharninder</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[MAMP]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=7698</guid>
		<description><![CDATA[Wordpress is without a doubt the most popular blogging platform around. Not only is it a good piece of software but what makes it the best tool for the job is the awesome community that is associated with development of not only the Wordpress core software, but also the various themes and plugins.
For all it&#8217;s [...]<p><strong><a href="http://maketecheasier.com/install-and-test-wordpress-on-your-local-computer-mac/2009/11/10">How to Install and Test Wordpress on Your Mac</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-123" src="http://images.maketecheasier.com/2008/01/wordpress.png" alt="Wordpress logo" width="150" height="150" />Wordpress is without a doubt the most popular blogging platform around. Not only is it a good piece of software but what makes it the best tool for the job is the awesome community that is associated with development of not only the Wordpress core software, but also the various themes and plugins.</p>
<p>For all it&#8217;s simplicity, a lot of people still shy away from using Wordpress because installing and maintaining it requires a certain level of technical knowhow. Specifically, the knowledge of installing and managing a PHP/MySQL stack and dealing with all the problems that can happen with a botched Wordpress installation.</p>
<p>So, without further ado, we&#8217;ve written this post that&#8217;ll not only teach you how to install a complete PHP/MySQL stack on your Mac but also teach you to install and configure a fully functional Wordpress install, all without leaving the comforts of your own computer.</p>
<p><a href="http://www.mamp.info/en/index.html" target="_blank">MAMP</a>, which stands for Mac-Apache-MySQL-PHP and is an all-in-one solution for people who do not want the hasle of installing and configuring the individual components on their system.</p>
<p>Follow the <a rel="nofollow" href="http://www.mamp.info/downloads/releases/MAMP_PRO.dmg.zip">download link</a> on the MAMP site to get hold of the latest DMG image and double click the image to mount it in the Finder. The download is a bit heavy at about 170 MB but it will be totally worth it &#8230; trust me.</p>
<p><img class="aligncenter size-full wp-image-8265" src="http://images.maketecheasier.com/2009/11/mamp-installation.jpg" alt="MAMP Install" width="500" height="300" /></p>
<p>One of the best things about OS X is the ease with which software can be installed. To install MAMP in your system just drag the MAMP icon to the Applications folder.</p>
<p>Double click the MAMP icon to launch control panel.</p>
<p><img class="aligncenter size-full wp-image-8269" src="http://images.maketecheasier.com/2009/11/mamp-start.jpg" alt="start MAMP" width="412" height="330" /></p>
<p>MAMP will automatically start the Apache web server and the MySQL database server and also launch an instance of your default browser to tell you that everything is working fine.</p>
<p>Keep this window open &#8211; We&#8217;ll need it in a while.</p>
<p><img class="aligncenter size-full wp-image-8268" src="http://images.maketecheasier.com/2009/11/mamp-welcome.jpg" alt="mamp welcome page" width="500" height="323" /></p>
<p>MAMP also bundles a version of phpMyAdmin along with the complete PHP/MySQL stack.</p>
<p>phpMyAdmin is a web based software to manage MySQL databases and we&#8217;ll use that to create a database for our Wordpress install.</p>
<p>Click on the phpMyAdmin link in the browser, and when it loads up in your browser, give a name for the new database and press the Create button.</p>
<p><img class="aligncenter size-full wp-image-8271" src="http://images.maketecheasier.com/2009/11/mamp-phpmyadmin.jpg" alt="MAMP phpMyAdmin" width="450" height="239" /></p>
<p>That was probably the easiest MySQL install I&#8217;ve ever done.</p>
<p>Now that we have all the infrastructure in place for Wordpress, head over to the Wordpress website and <a rel="nofollow" href="http://wordpress.org/latest.zip">download the latest version</a> of the software.</p>
<p>Unzip the file that you just downloaded into the htdocs folder inside the MAMP folder &#8211; <em>/Applications/MAMP/htdocs</em>.</p>
<p><img class="aligncenter size-full wp-image-8270" src="http://images.maketecheasier.com/2009/11/mamp-htdocs.jpg" alt="mamp htdocs" width="450" height="279" /></p>
<p>You should now see a wordpress folder inside htdocs. Browse to this folder and open the file named wp-config-sample.php using a text editor.</p>
<p>In this file, find the lines which say:</p>
<p class="codeblock">‘DB_NAME’ &#8211; replace ‘putyourdbnamehere’ with ‘the name of the database that you created’<br />
‘DB_USER’ &#8211; replace ‘usernamehere’ with ‘root’<br />
‘DB_PASSWORD’ &#8211; replace ‘yourpasswordhere’ with ‘root’</p>
<p><img class="aligncenter size-full wp-image-8272" src="http://images.maketecheasier.com/2009/11/mamp-database.png" alt="Wordpress Install" width="305" height="129" /></p>
<p>Save the file and rename it to &#8216;wp-config.php&#8217; from &#8216;wp-config-sample.php&#8217;.</p>
<p>Now, open this address in your browser &#8211; <a href="http://localhost:8888/wordpress/wp-admin/install.php">http://localhost:8888/wordpress/wp-admin/install.php</a>.</p>
<p>Follow the wizard and at the end of it, use the temporary password that the wizard created for you to login to your shiny new Wordpress Install. That&#8217;s it ! You now have a fully functional Wordpress install on your computer to play with all the themes and plugins that you want.</p>
<p><!--adsense#468x60--></p>
<p><strong><a href="http://maketecheasier.com/install-and-test-wordpress-on-your-local-computer-mac/2009/11/10">How to Install and Test Wordpress on Your Mac</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/install-and-test-wordpress-on-your-local-computer-mac/2009/11/10/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Safe Way to Change your WordPress Database Table Prefix</title>
		<link>http://maketecheasier.com/the-safe-way-to-change-your-wordpress-database-table-prefix/2009/11/07</link>
		<comments>http://maketecheasier.com/the-safe-way-to-change-your-wordpress-database-table-prefix/2009/11/07#comments</comments>
		<pubDate>Sat, 07 Nov 2009 13:00:08 +0000</pubDate>
		<dc:creator>Damien</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[table prefix]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=8172</guid>
		<description><![CDATA[Unless you have make an attempt to change the table prefix before installing your WordPress blog, chances are that your WP database is still using the default &#8216;wp_&#8217; as the table prefix. With this default prefix, hackers can easily perform a SQL injection attacks on your database and wreak havoc to your site. The best [...]<p><strong><a href="http://maketecheasier.com/the-safe-way-to-change-your-wordpress-database-table-prefix/2009/11/07">The Safe Way to Change your WordPress Database Table Prefix</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-8211" title="tbl_prefix-wp-on-table" src="http://images.maketecheasier.com/2009/11/tbl_prefix-wp-on-table.jpg" alt="tbl_prefix-wp-on-table" width="200" height="133" />Unless you have make an attempt to change the table prefix before installing your WordPress blog, chances are that your WP database is still using the default &#8216;wp_&#8217; as the table prefix. With this default prefix, hackers can easily perform a SQL injection attacks on your database and wreak havoc to your site. The best way to prevent this from happening is to change the table prefix to another term that is difficult for hackers to guess.</p>
<p>If you are new to blogging and are looking to install your first WordPress blog, then it is easy. Simply change the <em>$table_prefix</em> entry in wp-config.php file, upload the file to the server, then proceed on with the <a href="http://codex.wordpress.org/Installing_WordPress#Famous_5-Minute_Install" target="_blank">famous 5-mins installation</a>.</p>
<p>For those who have already been blogging for sometime, follow the method below to change your table prefix.</p>
<h3>Preparation</h3>
<p>Download the following two plugins, install and activate them in your WordPress blog.</p>
<p><strong>WP-DBManager</strong> (<a href="http://wordpress.org/extend/plugins/wp-dbmanager/">plugin download page</a>)</p>
<p><strong>Wordpress Table Rename</strong> (<a href="http://dl.getdropbox.com/u/149825/wordpress-table-rename.php.zip" target="_blank">modified version</a>,  <a href="http://www.seoegghead.com/software/wordpress-table-rename.seo" target="_blank">original download page</a>)</p>
<p>Note: I have make a slight modification to the WordPress Table Rename plugin to include changes in the later version of WordPress, but credit must be given to <a href="http://www.seoegghead.com/" target="_blank">SEO Egghead</a> for creating such an useful plugin.</p>
<h3>Get started</h3>
<p>Before you do anything to your database, first perform a db backup.</p>
<p>On the left pane, go to <em>Database –&gt; Backup DB. </em>Do a backup of your database.</p>
<p><img class="alignnone size-full wp-image-8174" title="tbl_prefix-backup-db" src="http://images.maketecheasier.com/2009/11/tbl_prefix-backup-db.png" alt="tbl_prefix-backup-db" width="577" height="319" /></p>
<p>Next, go to <em>Settings –&gt; Table Rename</em></p>
<p>Enter a new term for the table prefix.</p>
<p>Click the <em>Create New Tables</em> button to generate new tables with the new prefix. If you have a big database, this process will take a long time.</p>
<p><img class="alignnone size-full wp-image-8175" title="tbl_prefix-new-table" src="http://images.maketecheasier.com/2009/11/tbl_prefix-new-table.png" alt="tbl_prefix-new-table" width="479" height="260" /></p>
<p>When it is done, you will see the success message.</p>
<p><img class="alignnone size-full wp-image-8177" title="tbl_prefix-success-message" src="http://images.maketecheasier.com/2009/11/tbl_prefix-success-message.png" alt="tbl_prefix-success-message" width="577" height="168" /></p>
<p>If you have a big database, the page might issue a timeout and show a blank page.</p>
<h3>Verify your new database tables</h3>
<p>Now go to Database-&gt;database. You should see the new tables in place.</p>
<p><img class="alignnone size-full wp-image-8178" title="tbl_prefix-database-table" src="http://images.maketecheasier.com/2009/11/tbl_prefix-database-table.png" alt="tbl_prefix-database-table" width="577" height="498" /></p>
<h3>Migrating your blog</h3>
<p>While the plugin provides a way to change the table_prefix value in wp-config.php file, it won’t work in most cases unless you have set the wp-config.php file readable/writable (which I strongly advised against). The best way is to change the value manually.</p>
<p>With your favorite FTP program, download your wp-config.php from the root server.</p>
<p>Open it up with any text editor and scroll down to the section where you see</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$table_prefix</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'wp_'</span></pre></div></div>

<p>Change it to</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$table_prefix</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'YourNewPrefix_'</span></pre></div></div>

<p>Save it and re-upload this file back to the server.</p>
<h3>Almost there</h3>
<p>You have just completed the migration from the old table prefix to new table prefix, there are still several things that you need to do</p>
<p>1. Browse through your site and make sure all the pages, images and content are loading correctly. If you see errors, or that the site is not loading, change the <em>$table_prefix</em> back to &#8216;<em>wp_</em>&#8216; and re-upload back to the server.</p>
<p>2. Browse through the settings for each individual plugin and make sure that all the configurations are intact. Some of the plugins use the table prefix for their storage and these values were not changed by the plugin. For such plugins, you will see the settings fall back to their default values. What you have to do is to reconfigure it and re-save it. It will now store in the database with the new table prefix.</p>
<p>3. (Optional) Go to the <em>Database –&gt; Empty/Drop Tables</em>, check the <em>Drop</em> button for all the table with the old prefix. Click the Empty/Drop button to remove them from your database.</p>
<p><strong>Important</strong>: <em>Do this only if you are sure that the  new tables (with the new prefix) are working correctly.</em></p>
<p><img class="alignnone size-full wp-image-8179" title="tbl_prefix-delete-table" src="http://images.maketecheasier.com/2009/11/tbl_prefix-delete-table.png" alt="tbl_prefix-delete-table" width="580" height="714" /></p>
<p>Note that this is purely optional. Leaving your old table in the database will not hurt your blog and it can serve as a backup and allow you to switch back to them quickly in the event your blog got hacked into. However, if you have a big database, the extra tables could add plenty of overhead to your server. So, make your own judgement.</p>
<h3>Last part</h3>
<p>Once you are happy with everything, backup the new database. If you have previously schedule a daily backup, you have to reschedule it again to include the new tables.</p>
<p>You can also deactivate and uninstall the WordPress Table Rename plugin. There is no use for it now.</p>
<p>That’s it. You have successfully changed your WordPress database table prefix.</p>
<p>Image credit: <a href="http://www.flickr.com/photos/naokomc/" target="_blank">naokomc</a><br />
<!--adsense#468x60--></p>
<p><strong><a href="http://maketecheasier.com/the-safe-way-to-change-your-wordpress-database-table-prefix/2009/11/07">The Safe Way to Change your WordPress Database Table Prefix</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/the-safe-way-to-change-your-wordpress-database-table-prefix/2009/11/07/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>3 Useful Plugins For Multiple Authors Collaboration</title>
		<link>http://maketecheasier.com/3-useful-plugins-for-multiple-authors-collaboration/2009/08/25</link>
		<comments>http://maketecheasier.com/3-useful-plugins-for-multiple-authors-collaboration/2009/08/25#comments</comments>
		<pubDate>Tue, 25 Aug 2009 11:55:05 +0000</pubDate>
		<dc:creator>Shevonne</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[authors]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[collaboration]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=6632</guid>
		<description><![CDATA[Collaboration in blogs is a growing need with more and more blogging teams, newspapers, and magazines using the Internet. Additionally, there are times that one post may be assigned to more than one author. In WordPress, the only way to co-author a blog post is to share login information or for the users to have [...]<p><strong><a href="http://maketecheasier.com/3-useful-plugins-for-multiple-authors-collaboration/2009/08/25">3 Useful Plugins For Multiple Authors Collaboration</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></description>
			<content:encoded><![CDATA[<p>Collaboration in blogs is a growing need with more and more blogging teams, newspapers, and magazines using the Internet. Additionally, there are times that one post may be assigned to more than one author. In WordPress, the only way to co-author a blog post is to share login information or for the users to have a higher role than “Author.” Here are three WordPress plugins that will allow you the ease of collaborating blog posts between more than one author. Each of the three plugins have their pros and cons, so test them out and see which one is the best fit for you.</p>
<h3>1. Co-Authors Plus</h3>
<p>Co-Authors Plus allows a blogging team to assign a blog post (or even a page) to more than one author. It has a search-as-you-type input box that makes it easier to find the authors. This is a great tool because you do not have to know how to write their full name. After installing the plugin, you use template tags to allow the listing of the multiple authors. These are the allowed template tags:</p>
<ul>
<li><em>coauthors()</em></li>
<li><em>coauthors_posts_links()</em></li>
<li><em>coauthors_firstnames()</em></li>
<li><em>coauthors_lastnames()</em></li>
<li><em>coauthors_nicknames()</em></li>
<li><em>coauthors_links()</em></li>
<li><em>coauthors_IDs()</em></li>
</ul>
<p>These posts will appear on the authors’ posts and feeds. It’s great because it provides blogging teams with many authors to have an easier way to find the desired authors. However, it’s a little difficult for people who do not know how to code.</p>
<p>To find out more information or download the Co-Authors Plus plugin, please visit: <a href="http://wordpress.org/extend/plugins/co-authors-plus/" target="_blank">http://wordpress.org/extend/plugins/co-authors-plus/</a></p>
<h3>2. WT Co-Authors</h3>
<p>WT Co-Authors allows multiple authors in a different way than the previous plugin. It uses WordPress custom fields to show more than one authors. The custom name field to use is “coauthor.” The value will be the user’s name. There is no maximum in the amount of authors used. You have to ensure that the WordPress theme that you are using has “the_author()” function. If it doesn’t, you will have to manually add</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span>wt_the_coauthors_link<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span>
wt_the_coauthors_link<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span></pre></div></div>

<p>It’s an easier way to show collaboration; however, it does not fully use the WordPress role functionality, so Administrators and/or Editors can assign Authors to one blog post.</p>
<p>To find out more information or download the WT Co-Authors plugin, please visit: <a href="http://anime2.kokidokom.net/all-team-blogs-attention-the-ultimate-mega-super-awesome-co-authors-plugin-is-here/" target="_blank">http://anime2.kokidokom.net/all-team-blogs-attention-the-ultimate-mega-super-awesome-co-authors-plugin-is-here/</a></p>
<h3>3. SP Authors</h3>
<p>SP Authors provides a simple way of allowing multiple authors to be assigned to a blog post (or a page). After installing the plugin, you will se a new area that provides a way to manually enter the author’s name. It also has a drop-down menu of all the authors, if you are not sure how to spell their names. Another great feature is if you place the short code [sp-authors], you are able to show a list of the particular’s authors links of other blog posts that he/she has written.</p>
<p>SP Authors is the simplest plugin to use to collaborate among multiple authors in a single blog post. However, the drop-down menu might be overwhelming if you have many authors.</p>
<p>To find out more information or download the SP Authors plugin, please visit: <a href="http://wordpress.org/extend/plugins/sp-authors/" target="_blank">http://wordpress.org/extend/plugins/sp-authors/</a></p>
<p>If you have a blogging team, one of these plugins will really give you the flexibility of allowing multiple authors to colloborate on a single blog posts. This is especially useful in a complex post that allows you to assign different sections to various authors.</p>
<p><!--adsense#468x60--></p>
<p><strong><a href="http://maketecheasier.com/3-useful-plugins-for-multiple-authors-collaboration/2009/08/25">3 Useful Plugins For Multiple Authors Collaboration</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/3-useful-plugins-for-multiple-authors-collaboration/2009/08/25/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Qumana: An Easy-to-Use Alternative to Desktop Blogging</title>
		<link>http://maketecheasier.com/qumana-an-easy-to-use-alternative-to-desktop-blogging/2009/07/25</link>
		<comments>http://maketecheasier.com/qumana-an-easy-to-use-alternative-to-desktop-blogging/2009/07/25#comments</comments>
		<pubDate>Sat, 25 Jul 2009 12:01:44 +0000</pubDate>
		<dc:creator>Shevonne</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[desktop blogging]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=6066</guid>
		<description><![CDATA[
Desktop blog editors provide bloggers additional functionalities that are missing in your blog&#8217;s default editor (e.g. WordPress, Blogger, LiveJournal, etc.).  Additionally, you are able to write and edit your blog posts offline, which provides a way to save your work on your computer&#8217;s hard drive while also not having to be connected to the [...]<p><strong><a href="http://maketecheasier.com/qumana-an-easy-to-use-alternative-to-desktop-blogging/2009/07/25">Qumana: An Easy-to-Use Alternative to Desktop Blogging</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-6070" src="http://images.maketecheasier.com/2009/07/qumana_newpost.jpg" alt="qumana_newpost" width="577" height="353" /></p>
<p>Desktop blog editors provide bloggers additional functionalities that are missing in your blog&#8217;s default editor (e.g. WordPress, Blogger, LiveJournal, etc.).  Additionally, you are able to write and edit your blog posts offline, which provides a way to save your work on your computer&#8217;s hard drive while also not having to be connected to the Internet.  One of the best desktop-based blog editors is Qumana.</p>
<h3>What is Qumana?</h3>
<p>Qumana is a desktop-based blog editor that allows you to create and modify blog posts for more than one blog.  Additionally, it provides you access to blog posts offline and without a need of a browser.  It eases editing and insertion of various types of media that is usually a headache in your default blog editor.  One unique function is the integration with its own keyword-drive ad system, which is very much like Google AdSense.  It also allows you to add basic Technorati tag that is usually only able to work with other blog editors if you install a plugin. Furthermore, it rivals fee-based blog editors that have the same or less functions that Qumana has to offer. It can be installed on Mac, Windows, or Linux.</p>
<h3>What Blog Platforms does Qumana Work With?</h3>
<p>Qumana works with a variety of blog platforms.  They are the following:</p>
<ul>
<li>Angelfire</li>
<li>Blogger/Blogspot</li>
<li>BlogHarbor</li>
<li>Blogware</li>
<li>Bryght</li>
<li>DiaryLand</li>
<li>Drupal</li>
<li>LiveJournal</li>
<li>MovableType</li>
<li>MSN Spaces</li>
<li>Tripod</li>
<li>TypePad</li>
<li>Roller</li>
<li>SquareSpace</li>
<li>Wordpress.com</li>
<li>Wordpress.org</li>
<li>Plus most platforms that support the Blogger, MovableType or MetaWeblog API&#8217;s</li>
</ul>
<h3>Can I edit blog entries that I didn’t create using Qumana?</h3>
<p><img class="alignnone size-full wp-image-6068" src="http://images.maketecheasier.com/2009/07/qumana_editor.jpg" alt="qumana_editor" width="577" height="361" /></p>
<p>Yes, you are able to import your blog entries you created outside of Qumana.  You can also import your blog categories.  Tags are the only items that you are unable to reuse.  You have to continue retyping them for each new blog post.</p>
<h3>Can I ping services to know that I updated my blog?</h3>
<p><img class="alignnone size-full wp-image-6069" src="http://images.maketecheasier.com/2009/07/qumana_ping.jpg" alt="qumana_ping" width="522" height="404" /></p>
<p>Yes, Qumana provides you the ability of adding different ping services, so you can alert them after you publish a new blog post.</p>
<h3>Does it support plugins?</h3>
<p>At this moment, they do not support plugins.</p>
<h3>Can I reuse what I write?</h3>
<p>Yes, with Qumana’s DropPad. You are able to drag and drop images, texts, and links to your posts. The DropPad allows you to <em>copy+paste</em> information you find while browsing without having to open another program to contain what you collect.</p>
<h3>Can I insert ads in my blog posts?</h3>
<p><img class="alignnone size-full wp-image-6067" src="http://images.maketecheasier.com/2009/07/qumana_ads.jpg" alt="qumana_ads" width="564" height="362" /></p>
<p>Q Ads is an advertising network that works within Qumana to insert keyword-driven ads into your blog posts.  It provides an easy way to make money on your blogs without having to create an affiliate or Google Adsense account.  Q Ads is easy to sign up for and use within Qumana.</p>
<p>Qumana provides a blog editor for all systems.  It still lacks some functions that other blog editors have.  However, it makes up with it by being user friendly and low maintenance.</p>
<p>What blog editor do you use to write your posts?</p>
<p><!--adsense#468x60--></p>
<p><strong><a href="http://maketecheasier.com/qumana-an-easy-to-use-alternative-to-desktop-blogging/2009/07/25">Qumana: An Easy-to-Use Alternative to Desktop Blogging</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/qumana-an-easy-to-use-alternative-to-desktop-blogging/2009/07/25/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>How to Use Windows Mobile for Wordpress Blogging</title>
		<link>http://maketecheasier.com/how-to-use-windows-mobile-for-wordpress-blogging/2009/06/21</link>
		<comments>http://maketecheasier.com/how-to-use-windows-mobile-for-wordpress-blogging/2009/06/21#comments</comments>
		<pubDate>Sun, 21 Jun 2009 22:07:57 +0000</pubDate>
		<dc:creator>Christian Cawley</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[mobile blogging]]></category>
		<category><![CDATA[windows mobile]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=5437</guid>
		<description><![CDATA[Successful blogging from the Windows Mobile platform can be difficult. There are several applications that can be installed and utilised but most of these alternatives are limited in some way.
However if you’re blogging to a Movable Type or Wordpress platform blog, the best solution is Pocket Sharp MT  for touchscreen “Professional” Windows Mobile devices (or [...]<p><strong><a href="http://maketecheasier.com/how-to-use-windows-mobile-for-wordpress-blogging/2009/06/21">How to Use Windows Mobile for Wordpress Blogging</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-5448" title="mobile-blogging" src="http://images.maketecheasier.com/2009/06/mobile-blogging.jpg" alt="mobile-blogging" width="250" height="156" />Successful blogging from the Windows Mobile platform can be difficult. There are several applications that can be installed and utilised but most of these alternatives are limited in some way.</p>
<p>However if you’re blogging to a Movable Type or Wordpress platform blog, the best solution is Pocket Sharp MT  for touchscreen “Professional” Windows Mobile devices (or Phone Sharp MT for non-touchscreen WinMo handsets). Pocket Sharp MT is available from <a title="Visit randyrants.com for Pocket Sharp MT" href="http://www.randyrants.com/2006/08/sharp_mt_pocket.html" target="_blank">www.randyrants.com</a>.</p>
<p>Once the installation is complete, you can configure Pocket Sharp MT to connect to and publish to your Wordpress or Movable Type blog, and comfortably blog from the comfort of your Windows Mobile device, employing basic formatting, assigning categories and even uploading images.</p>
<h3>Setup Your Blog Connection</h3>
<p>To begin, you need to make a connection to your blog. This first of all requires that your Windows Mobile deice is connected to the Internet, either directly via your network operator or via a WiFi connection. Note that prolonged use of Pocket Sharp MT can result in a high data usage charge.</p>
<p>When you first launch the blog software, you will need to setup the connection to your Movable Type or Wordpress blog. This can be done by going to <em>Tools -&gt; Options</em>.</p>
<p>The options screen requires:</p>
<ul>
<li> Web Server</li>
<li> CGI-BIN Path</li>
<li> Username</li>
<li> Password</li>
</ul>
<p><img class="size-full wp-image-5442 alignleft" src="http://images.maketecheasier.com/2009/06/wm-blogging6.jpg" alt="Setup your link to Movable Type of Wordpress blog" width="250" height="417" /></p>
<p>You should already know your blog username and password; you should also know the URL of your blog, which is entered as the Web Server. (Enter the full path, including the ‘<em>http://</em>’)</p>
<p>The CGI-BIN part can prove to be more difficult. The default is set in Pocket Sharp MT for Movable Type blogs &#8211; <em>/cgipath/mt-xmlrpc.cgi</em> – so if you’re using Movable Type as your blogging platform you’re laughing at this point.</p>
<p>Wordpress platform users need to change this entry to refer to the Wordpress version of this linking gateway script. Thankfully it’s a lot easier to type in: <em>/xmlrpc.php</em></p>
<p>With a correct username and password entered and a connection to the Internet established, click on refresh. The Blog List drop down will now display your blog, so you can click OK to continue or if necessary update the Proxy tab with any relevant information you need to connect to the web and try again.</p>
<p>Note that this guide is written using a Wordpress blog connection. The Pocket Sharp MT software functions remain the same for either platform, however.</p>
<h3>Writing a Blog Post</h3>
<p>Once the connection to your blog is setup, you can go straight into entering the text for your blog post.</p>
<p><img class="size-full wp-image-5443 aligncenter" src="http://images.maketecheasier.com/2009/06/wm-blogging-blog.jpg" alt="Category selection and text entry" width="540" height="450" /></p>
<p>Enter a title, select a category and enter the body text – it’s all straightforward and can be entered either by a hardware device-mounted keyboard or a software keyboard.</p>
<p>Longer entries can continue over onto the Extended tab, while Tags (Keywords) and Excerpts can be entered on the Advanced tab, along with a list of URLs to Ping. The status of the post (Draft or Publish) can also be set here, as well as allowing or disallowing comments.</p>
<p>The Authored on tab lets you set the date and time of writing – alternatively you can sync Pocket Sharp MT with your server time.</p>
<h3>Save Drafts</h3>
<p>It’s always good practice to save as you go, particularly when blogging from a device that doubles as a phone. This can be done via the File menu, simply select Save Draft or hit the Save button on the menu bar. The saved post will be stored as a text file with the .MT file extension.</p>
<p>The Format menu will apply any of the preset formatting (<strong>bold</strong>, <span style="text-decoration: underline;">underline</span>, <em>italics</em>, URL link) to the selected text, while copy and pasting can be achieved via <em>File -&gt; Edit</em>.</p>
<p><img class="size-full wp-image-5440 alignnone" src="http://images.maketecheasier.com/2009/06/wm-blogging-tools.jpg" alt="Tools menu" width="216" height="271" /></p>
<p>Finally, use the <em>Tools &gt; Upload Media</em> category to upload images to the specified uploads location on your server. Using the standard <em>&lt;img src=”[filename]”&gt;</em> you can enter the image into the blog post, or simply use let Pocket Sharp MT insert it into the post on your behalf.</p>
<h3>Submitting Your Post</h3>
<p>Submitting your blog post is a matter of deciding whether to change the status from Draft to Publish, and then hitting Post to Server.</p>
<p>You can check the resulting post on either your mobile or your desktop browser to check the outcome, and I think you’ll agree the results – while limited – are very good indeed.</p>
<p><img class="aligncenter size-full wp-image-5439" src="http://images.maketecheasier.com/2009/06/wm-blogging-web.jpg" alt="The resulting blog post" width="544" height="228" /></p>
<p>Pocket Sharp MT is one of the most functional Windows Mobile blogging clients available, but there are other solutions that operate on similar principles.</p>
<p><small>image credit: <a href="http://www.flickr.com/photos/ittsai/" target="_blank">ittsai</a></small><br />
<!--adsense#468x60--></p>
<p><strong><a href="http://maketecheasier.com/how-to-use-windows-mobile-for-wordpress-blogging/2009/06/21">How to Use Windows Mobile for Wordpress Blogging</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/how-to-use-windows-mobile-for-wordpress-blogging/2009/06/21/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How To Easily Reset Your WordPress Password via phpMyAdmin</title>
		<link>http://maketecheasier.com/easily-reset-your-wordpress-password-via-phpmyadmin/2009/03/28</link>
		<comments>http://maketecheasier.com/easily-reset-your-wordpress-password-via-phpmyadmin/2009/03/28#comments</comments>
		<pubDate>Sat, 28 Mar 2009 02:42:00 +0000</pubDate>
		<dc:creator>Damien</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[phpmyadmin]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=3760</guid>
		<description><![CDATA[I know that it is easy to forget your password, especially when it contains plenty of symbols, digits and upper/lower case. In WordPress, if you have forgotten your password, you can get it to reset your password via your email account. However, in the event that you also forget your username or the email you [...]<p><strong><a href="http://maketecheasier.com/easily-reset-your-wordpress-password-via-phpmyadmin/2009/03/28">How To Easily Reset Your WordPress Password via phpMyAdmin</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-3763" title="reset-button" src="http://images.maketecheasier.com/2009/03/reset-button.jpg" alt="reset-button" width="240" height="178" />I know that it is easy to forget your password, especially when it contains plenty of symbols, digits and upper/lower case. In WordPress, if you have forgotten your password, you can get it to reset your password via your email account. However, in the event that you also forget your username or the email you have used to open the WordPress account (I know this type of situation is rare, but it does happen), you can always reset your password via the phpMyAdmin.</p>
<p>This tutorial is applicable only if your Web host is using phpMyAdmin to manage your database.</p>
<p>Log into your Web host account and go into the phpMyAdmin admin page.</p>
<p>Search for the database that you have configured for the WordPress account.</p>
<p><img style="display: inline" title="phpmyadmin-home" src="http://images.maketecheasier.com/2009/03/phpmyadmin-home.jpg" alt="phpmyadmin-home" width="577" height="262" /></p>
<p>If you have no idea what is the name of your WordPress database (probably because you used the auto installation script in cPanel) or forgotten the database name, download the <em>wp-config.php</em> file from the WordPress server (using <a href="http://maketecheasier.com/connect-to-your-wordpress-account-via-secure-ftp/2009/03/09" target="_blank">SFTP</a>). You should find your database information there.</p>
<p>On the left side of the phpMyAdmin screen, you should see a list of the table used in WordPress. Scroll down until you see the entry &#8220;<em>wp_users</em>&#8220;. If you are using a different table prefix other than &#8220;<em>wp_</em>&#8220;, you should see something like &#8220;<em>yourprefix_users</em>&#8221;</p>
<p><img style="display: inline" title="phpmyadmin_users" src="http://images.maketecheasier.com/2009/03/phpmyadmin_users.jpg" alt="phpmyadmin_users" width="526" height="347" /></p>
<p>On the right, click on the Browse button. This will get it to display all the user information. The <em>userpass</em> column is the password field. Note that it is of an unrecognizable format, definitely not the same as the one that you have set for your WordPress. Don&#8217;t worry, this is the exact same password that you have set, except that it is encrypted with <a href="http://en.wikipedia.org/wiki/Md5_Hash" target="_blank">MD5 Hash</a>.</p>
<p><img style="display: inline" title="wp-users-pwd" src="http://images.maketecheasier.com/2009/03/wp-users-pwd.jpg" alt="wp-users-pwd" width="577" height="151" /></p>
<p>Now, open a new tab in your browser and head on to <a href="http://www.miraclesalad.com/webtools/md5.php" target="_blank">MD5 hasher</a>. Enter your password and and click OK to create a md5 hash of that password. Copy the hashed string to your clipboard.</p>
<p><img style="display: inline" title="md5hash" src="http://images.maketecheasier.com/2009/03/md5hash.jpg" alt="md5hash" width="376" height="136" /></p>
<p>Back to your phpMyAdmin, check the box beside your username and click on the pencil icon to edit the entry.</p>
<p><img style="display: inline" title="wp_usrs_edit" src="http://images.maketecheasier.com/2009/03/wp_usrs_edit.jpg" alt="wp_usrs_edit" width="577" height="165" /></p>
<p>Replace the password with your newly generated md5hash password.</p>
<p><img style="display: inline" title="change-passwd" src="http://images.maketecheasier.com/2009/03/change-passwd.jpg" alt="change-passwd" width="577" height="263" /></p>
<p>Click on <em>Go</em> to save the changes.</p>
<p>That&#8217;s it. You should be able to log in with the new password now.</p>
<p>Image credit: <a href="http://www.flickr.com/photos/tomasrotger/" target="_blank">Tomás Rotger</a></p>
<p><!--adsense#468x60--></p>
<p><strong><a href="http://maketecheasier.com/easily-reset-your-wordpress-password-via-phpmyadmin/2009/03/28">How To Easily Reset Your WordPress Password via phpMyAdmin</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/easily-reset-your-wordpress-password-via-phpmyadmin/2009/03/28/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>How To Connect To Your WordPress Account Via Secure FTP</title>
		<link>http://maketecheasier.com/connect-to-your-wordpress-account-via-secure-ftp/2009/03/09</link>
		<comments>http://maketecheasier.com/connect-to-your-wordpress-account-via-secure-ftp/2009/03/09#comments</comments>
		<pubDate>Mon, 09 Mar 2009 13:42:17 +0000</pubDate>
		<dc:creator>Damien</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Filezilla]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[Secure FTP]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[SFTP]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=3322</guid>
		<description><![CDATA[If you own a self-hosted WordPress account, chances are you are using FTP to transfer all your files online. Here&#8217;s the problem: connecting and transferring files via FTP is not secured. All your login credential (including username and password) and data are transmitted over the network in plain text. Any hacker who is sniffing your [...]<p><strong><a href="http://maketecheasier.com/connect-to-your-wordpress-account-via-secure-ftp/2009/03/09">How To Connect To Your WordPress Account Via Secure FTP</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-3327" title="secure-area" src="http://images.maketecheasier.com/2009/03/secure-area.jpg" alt="secure-area" width="230" height="130" />If you own a self-hosted WordPress account, chances are you are using FTP to transfer all your files online. Here&#8217;s the problem: connecting and transferring files via FTP is not secured. All your login credential (including username and password) and data are transmitted over the network in plain text. Any hacker who is sniffing your network can easily obtain your password and gain access to your account.</p>
<p>If you are really concerned about the security of your site, this is something that you really need to avoid.</p>
<p>In place of FTP, you can use <a href="http://en.wikipedia.org/wiki/SSH_file_transfer_protocol" target="_blank">SFTP</a> (SSH File Transfer Protocol) to create a secure network connection instead. When you are connected via SFTP, all your data are encrypted. Even if they are intercepted, they will only show up as garbage text on the hacker&#8217;s computer.</p>
<p>This tutorial teaches you how to connect to your WordPress account (or any other Web server) via a SFTP connection.</p>
<p><span style="font-weight: bold;">A point to note</span>: <span style="font-style: italic;">Not all web host supports SFTP. Do check with your Web host before carrying out the steps below. If your web host does not support SFTP, maybe it&#8217;s time to consider another web host that does. <a href="http://maketecheasier.com/a/hostgator" target="_blank">Hostgator</a> does the hosting for MTE and they support SFTP.</span></p>
<p>While there are many FTP clients that support SFTP, the one that I find it the easiest to use and is available for all platforms is <a href="http://filezilla-project.org/" target="_blank">Filezilla</a>.</p>
<p>Download and install <a href="http://filezilla-project.org/download.php?type=client" target="_blank">Filezilla client</a> for your platform. (skip this step if you are already using Filezilla)</p>
<p>Open up Filezilla. Click on the first icon on the Toolbar to access the Site Manager. Alternatively, you can find the Site Manager at the menubar <span style="font-style: italic;">File-&gt;Site Manager</span>.</p>
<p><img class="alignnone" title="filezilla site manager icon" src="http://images.maketecheasier.com/2009/03/filezilla-icon.jpg" alt="filezilla site manager icon" width="577" height="456" /></p>
<p>Click the <span style="font-style: italic;">New Site</span> button on the left bottom pane to create a new account.</p>
<p>On the right pane, enter your host name (this is usually the IP address assigned to you by your Web host). In the <span style="font-style: italic;">Port</span> input field, enter 22 (Different web hosts have different ports for their SFTP connection, <a href="http://maketecheasier.com/a/hostgator" target="_blank">Hostgator</a> uses port 2222. If you can&#8217;t connect with port 22, you may want to ask your web host for the port number).</p>
<p><img class="alignnone" title="Filezilla site manager" src="http://images.maketecheasier.com/2009/03/filezilla-site-manager.jpg" alt="Filezilla site manager" width="483" height="406" /></p>
<p>Under the Servertype dropdown field, select <span style="font-style: italic;">SFTP – SSH File Transfer Protocol</span>.</p>
<p>Enter your login username and password. Click Connect  at the bottom to connect to your account. If everything is fine, you should see a popup window prompting you to accept the server&#8217;s public key. Click Ok to continue (You may want to save the key in your cache so that it won&#8217;t prompt you all the time). You should be connected to your account via SFTP now.</p>
<p><img class="alignnone" title="SFTP connection" src="http://images.maketecheasier.com/2009/03/sftp-connection1.jpg" alt="SFTP connection" width="453" height="190" /></p>
<h3>Bringing it a step further</h3>
<p>If you are really paranoid about your security, you can use a public/private key authentication to connect to your SFTP network instead. A public/private key authentication allows you to login to your account without any password and also eliminates any chance of a brute force SSH attack.</p>
<p>Once again, not all web hosts allow you to generate public/private key certificate. The following example is based on <a href="http://maketecheasier.com/a/hostgator" target="_blank">Hostgator</a> cPanel.</p>
<p>Log into your cPanel. Scroll down until you see the <span style="font-style: italic;">SSH/Shell Access</span> icon.</p>
<p><img class="alignnone" title="hostgator SSH access" src="http://images.maketecheasier.com/2009/03/hostgator-ssh1.jpg" alt="hostgator SSH access" width="516" height="274" /></p>
<p>Click on the <span style="font-style: italic;">Manage SSH keys</span> button.</p>
<p><img class="alignnone" title="Hostgator Manage SSH key" src="http://images.maketecheasier.com/2009/03/manage-ssh-keys.jpg" alt="Hostgator Manage SSH key" width="577" height="166" /></p>
<p>Click on the <span style="font-style: italic;">Generate a new key</span> link.</p>
<p><img class="alignnone" title="generate new ssh key" src="http://images.maketecheasier.com/2009/03/generate-sh-keys.jpg" alt="generate new ssh key" width="577" height="376" /></p>
<p>Enter your key name and give it a password. Make sure that your password is a strong one. Click on the Generate key button.</p>
<p><img class="alignnone" title="generate ssh key" src="http://images.maketecheasier.com/2009/03/generate-ssh-key2.jpg" alt="generate ssh key" /></p>
<p>You should now see information about your public key.</p>
<p>Back to the main screen, you should see that your public key is listed as <em>not authorized</em>. Click on the <em>Manage Authorization</em> link to toggle it.</p>
<p><img class="alignnone size-full wp-image-3319" title="ssh-public-key" src="http://images.maketecheasier.com/2009/03/ssh-public-key.jpg" alt="ssh-public-key" width="577" height="379" /></p>
<p>Back to the SSH key management screen, download the private key to a secure folder in your computer.</p>
<p>In your Filezilla, go to <em>Edit-&gt;Settings</em>. On the left, click <em>SFTP</em>. On the right, click the <em>Add KeyFile</em> button. Navigate to where you store your private key and select it.</p>
<p><img class="alignnone size-full wp-image-3321" title="add-private-key" src="http://images.maketecheasier.com/2009/03/add-private-key.jpg" alt="add-private-key" width="577" height="336" /></p>
<p>Once you have added the private key, click Ok to close the window.</p>
<p>Back to the Site manager screen, remove the password that you have saved previously. Click the Connect button. Filezilla will now authenticate the session with your private key and allow you to login to your account without any password.</p>
<p>That&#8217;s it.</p>
<p>Image credit: <a href="http://www.flickr.com/photos/beefranck/" target="_blank">beefranck</a></p>
<p><!--adsense#468x60--></p>
<p><strong><a href="http://maketecheasier.com/connect-to-your-wordpress-account-via-secure-ftp/2009/03/09">How To Connect To Your WordPress Account Via Secure FTP</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/connect-to-your-wordpress-account-via-secure-ftp/2009/03/09/feed</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>8 Useful Tricks To Clean Up &amp; Streamline Your Wordpress Database</title>
		<link>http://maketecheasier.com/8-useful-tricks-to-clean-up-streamline-your-wordpress-database/2009/02/17</link>
		<comments>http://maketecheasier.com/8-useful-tricks-to-clean-up-streamline-your-wordpress-database/2009/02/17#comments</comments>
		<pubDate>Tue, 17 Feb 2009 12:55:00 +0000</pubDate>
		<dc:creator>Damien</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[wordpress plugin]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=2764</guid>
		<description><![CDATA[Being a database-driven software, the performance of your WordPress blog is closely related to how efficient your database is. The bigger and messier your database is, the slower is the performance of your blog.
If you have not been doing regular housekeeping and database maintenance, either because you don&#8217;t know how to do or you are [...]<p><strong><a href="http://maketecheasier.com/8-useful-tricks-to-clean-up-streamline-your-wordpress-database/2009/02/17">8 Useful Tricks To Clean Up &#038; Streamline Your Wordpress Database</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-2804" title="wp-dbcleanup" src="http://images.maketecheasier.com/2009/02/wp-dbcleanup.jpg" alt="wp-dbcleanup" width="311" height="115" />Being a database-driven software, the performance of your WordPress blog is closely related to how efficient your database is. The bigger and messier your database is, the slower is the performance of your blog.</p>
<p>If you have not been doing regular housekeeping and database maintenance, either because you don&#8217;t know how to do or you are just plain lazy, here are 8 useful tricks that you can use to clean up your WordPress database easily and quickly.</p>
<h3>1) Turn off/delete post revision</h3>
<p>While the post revision is a good way to make sure that any changes to a post is documented, it can be a waste of database and server resources if you are the only user of the blog and does not collaborate with other authors for article writing.</p>
<p>To prevent the post revision from cluttering your database, it is best to turn it off once and for all.</p>
<p>You can easily turn off post-revision by adding the following line to the <em>wp_config.php</em> file</p>
<p class="codeblock">define(&#8216;WP_POST_REVISIONS&#8217;, false);</p>
<p>If you want to keep the post revision for record purpose, you can limit the number of revisions saved per post. In your <em>wp_config.php</em> file, add the following line instead:</p>
<p class="codeblock">define(&#8216;WP_POST_REVISIONS&#8217;, no_of_revision);</p>
<p>and replace the <em>no_of_revision</em> by the number of revision copy you want to keep.</p>
<p><strong>Removing existing post revisions</strong></p>
<p>Turning off the post revision feature only restrict WordPress not to keep any revision for future posts. It does not delete the existing post revisions in your database. To delete all instances of post revision and all its related entries), we will make use of the <a title="delete-revision" href="http://blog.gohsy.com/topics/delete-revision-plugin.html" target="_blank">delete-revision</a> plugin with some simple modification (the plugin only delete the post revision. It does not delete all other unused entries that are related to the post revision).</p>
<p>Download the plugin <a title="delete-revision" href="http://wordpress.org/extend/plugins/delete-revision/" target="_blank">delete-revision</a> to your desktop.</p>
<p>Extract the zip file. Open up the <em>delete-revision</em> folder and load the <em>delete-revision.php</em> file in a text editor. Scroll down to the line 140 where you see</p>
<p class="codeblock">$sql = &#8220;DELETE FROM $wpdb-&gt;posts WHERE post_type = &#8216;revision&#8217;&#8221;;</p>
<p>replace it with</p>
<p class="codeblock">$sql = &#8220;DELETE a,b,c FROM $wpdb-&gt;posts a LEFT JOIN $wpdb-&gt;term_relationships b ON (a.ID = b.object_id) LEFT JOIN $wpdb-&gt;postmeta c ON (a.ID = c.post_id) WHERE a.post_type = &#8216;revision&#8217;&#8221;;</p>
<p>(Code adapted from <a href="http://lesterchan.net/wordpress/2008/07/17/how-to-turn-off-post-revision-in-wordpress-26/" target="_blank">Lester Chan</a>)</p>
<p>Save the file. Upload the whole <em>delete-revision</em> folder to your blog plugins folder.</p>
<p>Activate the plugin. Go to the <em>Delete-Revision</em> page under the Setting section. Run the application to scan your database for all instances of post revisions and delete them from your database.</p>
<p><img class="alignnone" src="http://images.maketecheasier.com/2009/02/delete-revision.jpg" alt="delete-revision.jpg" width="577" height="240" /></p>
<p>If you are keeping copies of post revision in your database, you should run the <em>Delete-Revision manager</em> once every few months to clean up your database.</p>
<h3>2) Delete unused images</h3>
<p>Everytime you upload an image, WordPress automatically create duplicate copies of that image and resize them to thumbnail and medium size. Most of the time, these images are not used. In addition, there could also be some images that you have uploaded, but did not use them in the post. These unused images could easily add up to a massive size and cause unnecessarily burden to the server and database.</p>
<p>The <a title="Delete Unused Images" href="http://www.bobhobby.com/2008/02/24/delete-unused-image-files-plugin-for-wordpress/" target="_blank">DUI</a> (Delete Unused Images) plugin scans your WordPress blog and find those images that are not used or referenced to by any of the posts/pages. It then proceeds to delete them from the database/server.</p>
<p><img class="alignnone" src="http://images.maketecheasier.com/2009/02/dui.jpg" alt="dui.jpg" width="367" height="269" /></p>
<p>To use the plugin, you have use a FTP program to chmod the <em>Uploads</em> folder (the folder where images are stored) to 777. Once you have deleted the unused images, chmod the folder back to 755 again to prevent access from other people.</p>
<p>Similarly, you should run this plugin every few months to clear up your database.</p>
<h3>3) Optimize database</h3>
<p>As you add or remove entries into the database, pocket of spaces are created. These are useless space and could cause your database to swell quickly. You can easily free up these spaces by running a SQL <em>optimize table</em> query in myphpadmin.</p>
<p>If you are not technically inclined or find it troublesome to log into your myphpadmin, the best way is to use the plugin <a href="http://wordpress.org/extend/plugins/wp-dbmanager/" target="_blank">WP-DBManager</a> to manage your database.</p>
<p>Install and activate the plugin. Under the <em>Database -&gt; Optimize Database</em> options, select the table that you want to optimize and click the <em>Optimize</em> buttonto start the optimization. It should take less than a minute.</p>
<p><img class="alignnone" src="http://images.maketecheasier.com/2009/02/optimized-db.jpg" alt="optimized-db.jpg" width="577" height="435" /></p>
<p>You can also schedule it to optimize the database every few days/weeks/months</p>
<p>Go to <em>Database -&gt; Database option</em>. Scroll down till you see the <em>Automatic Optimizing of DB</em>. Set the frequency for it to auto-optimize your database.</p>
<p><img class="alignnone" src="http://images.maketecheasier.com/2009/02/schedule-optimize-db.jpg" alt="schedule-optimize-db.jpg" width="577" height="118" /></p>
<h3>4) Delete unwanted plugin</h3>
<p>If you have decided that you have no use for a particular plugin, deactivated them and delete them from your server. The more (unused) plugins you keep in your server, the longer it takes for WordPress to generate the plugin list and the higher tendency that it will slow down the loading time of your blog.</p>
<h3>5) Uninstall plugin completely</h3>
<p>When you deactivated/uninstall a plugin, the options or the tables that the plugin created are not removed. As you install and uninstall a lot of plugin, there will be more and more orphaned options and tables that are taking up precious space in your database.</p>
<p>For plugins that have created table entries in the database, you can use the abovementioned WP-DBManager to drop the respective table from your database.</p>
<p>For those plugins that have created options, you have to use the <a href="http://www.mittineague.com/dev/co.php" target="_blank">Clean Option</a> plugin to hunt down the orphaned options and delete them from the database.</p>
<p><img class="alignnone" src="http://images.maketecheasier.com/2009/02/clean-option.jpg" alt="clean-option.jpg" width="577" height="249" /></p>
<h3>6) Remove unused themes</h3>
<p>Similarly, if you have plenty of unused themes in the server, delete those that you don&#8217;t use.</p>
<h3>7) Check your site for deadlinks</h3>
<p>While it is an usual practise to link to other posts/blogs/domains in your articles, you should check frequently that the linked post/domain still exist and you are not left with a dead link. It can be very frustrating for your reader to follow your link only to find that the destination page is no longer around. In addition, too many dead links can also affect your search engine ranking. I am sure this is not something that you want to see.</p>
<p>The <a href="http://wordpress.org/extend/plugins/broken-link-checker/" target="_blank">broken link checker</a> plugin checks your new article for broken links as soon as it is published. It also scans your old posts when you are logged into the Admin page. Any broken links found are reported to you and you can choose to edit or unlink them from the posts.</p>
<p><img class="alignnone size-full wp-image-2806" title="broken-link-checker" src="http://images.maketecheasier.com/2009/02/broken-link-checker.jpg" alt="broken-link-checker" width="577" height="191" /></p>
<h3>8) Delete spam comment</h3>
<p>It is common to receive tons of spam comments, sometime as soon as you post the article. Even though these spam comments are not shown in your blog, they are still gathered in your database to educate &#8220;intelligent&#8221; anti-spam plugins. If you received plenty of spam every day (or every hour), this could be taking up a lot of valuable database space. To erase the spam, either go to the <em>Comment -&gt; Spam</em> page, check all the spam comments and select <em>Delete</em> from the dropdown box.</p>
<p>Alternatively, you can use the <a href="http://www.ruhanirabin.com/wp-optimize/" target="_blank">WP-Optimize</a> plugin to clean up all spam and unapprove comments</p>
<p><img class="alignnone size-full wp-image-2801" title="wp-optimize" src="http://images.maketecheasier.com/2009/02/wp-optimize.jpg" alt="wp-optimize" width="577" height="422" /></p>
<p>The WP-Optimize plugin also comes with other features such as delete revision, optimize database table and change your username. Personally I would prefer to use the WP-DBManager to optimize my database table as it allows me to schedule the optimization task on a regular basis. In addition, the WP-Optimize is only tested for WP2.7, so if you are still using a WP version less than 2.7, you have to use it at your own risk.</p>
<p>What other ways do you use to clean up your WordPress database?</p>
<p><!--adsense#468x60--></p>
<p><strong><a href="http://maketecheasier.com/8-useful-tricks-to-clean-up-streamline-your-wordpress-database/2009/02/17">8 Useful Tricks To Clean Up &#038; Streamline Your Wordpress Database</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/8-useful-tricks-to-clean-up-streamline-your-wordpress-database/2009/02/17/feed</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
	</channel>
</rss>
