<?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>Smartphone And PC Blog &#187; plugins</title>
	<atom:link href="http://rumahabi.com/tag/plugins/feed" rel="self" type="application/rss+xml" />
	<link>http://rumahabi.com</link>
	<description>PC And Smartphone Prices Plus Specifications</description>
	<lastBuildDate>Mon, 06 Feb 2012 10:38:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>SEO Your WordPress Description And Keyword Without Plugins</title>
		<link>http://rumahabi.com/seo-your-wordpress-description-and-keyword-without-plugins.html</link>
		<comments>http://rumahabi.com/seo-your-wordpress-description-and-keyword-without-plugins.html#comments</comments>
		<pubDate>Mon, 21 Dec 2009 19:42:07 +0000</pubDate>
		<dc:creator>Isa Nagib</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[WP]]></category>
		<category><![CDATA[Meta Description]]></category>
		<category><![CDATA[Meta Keyword]]></category>
		<category><![CDATA[PHP Code]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[Remove Plugins]]></category>
		<category><![CDATA[SEO Wordpress]]></category>

		<guid isPermaLink="false">http://rumahabi.com/?p=2169</guid>
		<description><![CDATA[<p><a href="http://rumahabi.com/seo-your-wordpress-description-and-keyword-without-plugins.html">SEO Your WordPress Description And Keyword Without Plugins</a> is a post from: <a href="http://rumahabi.com">Technology News</a></p>
SEO Your WordPress Description And Keyword Without Plugins is a post from: Technology News You can remove SEO plugins that are designed to optimize your meta description, keyword and to have canonical url feature to avoids duplicate content, the plugins that work that ways are All In One SEO Pack and Platinum SEO Pack, but [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://rumahabi.com/seo-your-wordpress-description-and-keyword-without-plugins.html">SEO Your WordPress Description And Keyword Without Plugins</a> is a post from: <a href="http://rumahabi.com">Technology News</a></p><p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "ca-pub-2176591172991554";
/* 336x280, created 8/26/10 */
google_ad_slot = "5231151202";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</p>
<p>You can remove SEO plugins that are designed to optimize your meta description, keyword and to have canonical url feature to avoids duplicate content, the plugins that work that ways are All In One SEO Pack and Platinum SEO Pack, but we can have the same abilities offered by those plugins even without using them and remove them from your plugin storage. By replacing their roles with PHP codes, why you want to do that? Well, WordPress will be working much better if it&#8217;s using less <a href="http://rumahabi.com/category/wordpress/wordpress-plugin">plugin</a><span id="more-2169"></span></p>
<p>Let see, we all know if using All In One SEO Pack as the result each of our page will have a unique description and keywords, they will help Google to identify our page and what is all about.</p>
<blockquote><p>How if we use PHP code to replace their role? That sounds better</p></blockquote>
<p>1. Ok now to have unique description you need to add the following PHP code inside Header.php (below title tag: &lt;title&gt; &lt;/title&gt;)<br />
<code><br />
&lt;meta name="description" content="&lt;?php the_excerpt_rss(); ?&gt;" /&gt;</code></p>
<p>Note: the above code will automatically fetch the lines within the Excerpt to use as description, thus you need to write description in the excerpt box:</p>
<p style="text-align: center;"><img src="http://4.bp.blogspot.com/-v-HPGvnte50/TudA4o4ejwI/AAAAAAAACJc/vuMklCq6xf8/s1600/Describe+Your+Excerpt.png" alt="Describe Your Excerpt" /></p>
<p>But if there&#8217;s no lines or description in the Excerpt, then there is no description, so if you want the code to fetch description whether there is description inside excerpt or not, replace:</p>
<p><code>&lt;?php the_content(); ?&gt;</code></p>
<p>With the following:</p>
<p><code>&lt;?php the_excerpt(); ?&gt;</code></p>
<p>The code will grab description from the first paragraph of yours even there is nothing inside your excerpt box</p>
<p>2. Now about unique keyword, what we need is &#8220;Tag&#8221; and turn it into keywords tag, well to have it, add the following code inside your Function.php:</p>
<p><code>function csv_tags() {<br />
$posttags = get_the_tags();<br />
foreach((array)$posttags as $tag) {<br />
$csv_tags .= $tag-&gt;name . &#039;,&#039;;<br />
}<br />
echo &#039;&lt;meta name=&quot;keywords&quot; content=&quot;&#039;.$csv_tags.&#039;&quot; /&gt;&#039;;<br />
}<br />
</code></p>
<p>And then to call the keywords, add this code (put it below description tag), now:</p>
<p><code>&lt;?php csv_tags(); ?&gt;</code></p>
<p>So the whole codes will look like this:</p>
<p><code>&lt;?php if (is_single() || is_page() ) : if ( have_posts() ) : while ( have_posts() ) : the_post(); ?&gt;<br />
&lt;meta name=&quot;description&quot; content=&quot;&lt;?php the_excerpt_rss(); $post_desc_length = 20; ?&gt;&quot; /&gt;<br />
&lt;?php csv_tags(); ?&gt;<br />
&lt;?php endwhile; endif; elseif(is_home()) : ?&gt;<br />
&lt;meta name=&quot;description&quot; content=&quot;&lt;?php bloginfo(&#039;description&#039;); ?&gt;&quot; /&gt;<br />
&lt;meta name=&quot;keywords&quot; content=&quot;Keyword1, Keyword2, Keyword3&quot; /&gt;<br />
&lt;?php endif; ?&gt;</code></p>
<p class="warning">So each of your page will have unique description and keyword now</p>
<p>3. Now about Canonical Url, just upgrade to <a href="http://rumahabi.com/wordpress-2-9-is-here-with-us-now.html">WordPress 2.9</a>, then you will have canonical url by default!</p>
<p class="note">You may be interested to read <a href="http://rumahabi.com/how-to-make-wordpress-theme-seo-friendly-theme.html">How To Make WordPress Theme SEO Friendly Theme</a></p>
<p>Hope the post helps and see you again in the next post</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://rumahabi.com/how-to-make-wordpress-theme-seo-friendly-theme.html" rel="bookmark" class="crp_title">How To Make WordPress Theme SEO Friendly Theme</a></li><li><a href="http://rumahabi.com/thesis-theme-guide-to-add-adsense-after-the-title-after-the-post.html" rel="bookmark" class="crp_title">Thesis Theme, Guide To Add Adsense After The Title And After The Post</a></li><li><a href="http://rumahabi.com/how-to-install-mashable-floating-social-networking-buttons-to-wordpress-blog.html" rel="bookmark" class="crp_title">How To Install Mashable Floating Social Networking Buttons To WordPress Blog</a></li><li><a href="http://rumahabi.com/how-to-add-facebook-twitter-google-buzz-buttons-to-wordpress-blog.html" rel="bookmark" class="crp_title">How To Add Facebook, Twitter, Google Buzz Buttons To WordPress Blog</a></li><li><a href="http://rumahabi.com/few-steps-to-create-facebook-badge-facebook-profile.html" rel="bookmark" class="crp_title">Few Steps To Create Facebook Badge, Facebook Profile</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://rumahabi.com/seo-your-wordpress-description-and-keyword-without-plugins.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Delete The Word Category In WordPress Category Url With Plugins And PHP Tag</title>
		<link>http://rumahabi.com/delete-the-word-category-in-wordpress-category-url-with-plugins-and-php-tag.html</link>
		<comments>http://rumahabi.com/delete-the-word-category-in-wordpress-category-url-with-plugins-and-php-tag.html#comments</comments>
		<pubDate>Sun, 01 Feb 2009 12:46:15 +0000</pubDate>
		<dc:creator>Isa Nagib</dc:creator>
				<category><![CDATA[Wordpress Plugin]]></category>
		<category><![CDATA[WP]]></category>
		<category><![CDATA[category base removal]]></category>
		<category><![CDATA[category url]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[prefix]]></category>
		<category><![CDATA[top level categories]]></category>
		<category><![CDATA[url plugin]]></category>

		<guid isPermaLink="false">http://rumahabi.com/?p=422</guid>
		<description><![CDATA[<p><a href="http://rumahabi.com/delete-the-word-category-in-wordpress-category-url-with-plugins-and-php-tag.html">Delete The Word Category In WordPress Category Url With Plugins And PHP Tag</a> is a post from: <a href="http://rumahabi.com">Technology News</a></p>
Delete The Word Category In WordPress Category Url With Plugins And PHP Tag is a post from: Technology News By default WordPress set category url with the word &#8220;category&#8221; or prefix within it. But some people regard as ugly url and not too SEO url. Actually we can remove the word, and there are 2 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://rumahabi.com/delete-the-word-category-in-wordpress-category-url-with-plugins-and-php-tag.html">Delete The Word Category In WordPress Category Url With Plugins And PHP Tag</a> is a post from: <a href="http://rumahabi.com">Technology News</a></p><p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "ca-pub-2176591172991554";
/* 336x280, created 8/26/10 */
google_ad_slot = "5231151202";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</p>
<p><span class="drop_cap">B</span>y default WordPress set category url with the word &#8220;category&#8221; or prefix within it. But some people regard as ugly url and not too SEO url. Actually we can remove the word, and there are 2 ways to remove the word &#8220;category&#8221; in category url, one with plugin or add php tag in category template php. And in this post <a href="http://rumahabi.com/" target="_blank">SEO Blog</a> will explain on how to remove word &#8220;Category&#8221;.<span id="more-422"></span></p>
<p>I give a picture of what I am talking now, your category url by default is like this:</p>
<p><strong>http://blogname.com/category/seo</strong></p>
<p>And we want to remove the word &#8220;Category&#8221; into this url:</p>
<p><strong>http://blogname.com/seo</strong></p>
<p>*. <strong>SEO</strong> is the name of the category.</p>
<p>1. <strong>Using Plugins</strong>, there are 2 plugins I know that could remove the “category/” text from WordPress URL string</p>
<p>A. <strong>Using Top Level Categories</strong></p>
<p>You can <a rel="nofollow" href="http://fortes.com/projects/wordpress/top-level-cats/" target="_blank">download the Top level Categories here</a>.</p>
<p>B. <strong>Using Category Base Removal Plugin</strong></p>
<p>You can <a rel="nofollow" href="http://www.brianshoff.com/wordpress/category-base-removal-plugin.htm" target="_blank">download the Top level Categories here</a>.</p>
<p>2. <strong>Using PHP tag</strong>. I think you better use plugins, because it&#8217;s a lot easier. But in regard of sharing knowledge I post this way too.</p>
<p>1. Login to your WordPress via FTP, and go to <strong>category-template.php</strong>.<br />
2. And find this:</p>
<blockquote><p>
$catlink = str_replace(&#039;%category%&#039;, $category_nicename, $catlink);</p></blockquote>
<p>3. And put the following tag right beneath the above tag:</p>
<blockquote><p>$catlink = str_replace(&#039;category/&#039;, &#039;&#039;, $catlink);</p></blockquote>
<p>The tag within your category-template.php should look like the following image:</p>
<p style="text-align: center;"><a href="http://www.geocities.com/abi_bakars/categorywpurl.JPG" target="_blank"><img class="aligncenter" src="http://www.geocities.com/abi_bakars/categorywpurl.JPG" alt="category url in category-template.php" width="495" height="120" /></a></p>
<p>Click the image to have a bigger view.</p>
<p>And the last thing you need to do is change your permalink into this permalink structure (go to setting &#8211; &gt; permalink):</p>
<blockquote><p>%category%/%postname%</p></blockquote>
<p>.</p>
<p>Done!</p>
<p>There is also a problem if your current permalink structure is none as the above permalink. To resolve this you need a <a href="http://rumahabi.com/permalink-migration-plugins-to-permenantly-moved-ugly-permalinks-into-pretty-url.html"><strong>Permalink migration plugins</strong></a>. Go to this post because I&#8217;ve listed number of <a href="http://rumahabi.com/permalink-migration-plugins-to-permenantly-moved-ugly-permalinks-into-pretty-url.html"><strong>migration permalink plugins</strong></a>. Just wait:D. See you in the next post.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://rumahabi.com/permalink-migration-plugins-to-permenantly-moved-ugly-permalinks-into-pretty-url.html" rel="bookmark" class="crp_title">Permalink Migration Plugins To Permenantly Moved Ugly Permalinks Into Pretty Url</a></li><li><a href="http://rumahabi.com/magasin-dos-wordpress-theme-free.html" rel="bookmark" class="crp_title">Magasin Dos WordPress Theme Free</a></li><li><a href="http://rumahabi.com/seo-your-wordpress-description-and-keyword-without-plugins.html" rel="bookmark" class="crp_title">SEO Your WordPress Description And Keyword Without Plugins</a></li><li><a href="http://rumahabi.com/how-to-exclude-wordpress-category.html" rel="bookmark" class="crp_title">How To Exclude WordPress Category</a></li><li><a href="http://rumahabi.com/the-simplest-tips-to-conquer-google-with-wordpress-blog.html" rel="bookmark" class="crp_title">The Simplest Tips To Conquer Google With WordPress Blog</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://rumahabi.com/delete-the-word-category-in-wordpress-category-url-with-plugins-and-php-tag.html/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

