<?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; Remove Plugins</title>
	<atom:link href="http://rumahabi.com/tag/remove-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>
	</channel>
</rss>

