<?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>I am Website Developer &#187; SEO</title> <atom:link href="http://www.iamwebsitedeveloper.com/tag_name/search-engine-optimization/feed" rel="self" type="application/rss+xml" /><link>http://www.iamwebsitedeveloper.com</link> <description>Blog for website developers</description> <lastBuildDate>Wed, 19 Oct 2011 18:39:14 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.2.1</generator> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>Semantic Code: The Concept and Practices</title><link>http://www.iamwebsitedeveloper.com/semantic-code-concept-practices.html/</link> <comments>http://www.iamwebsitedeveloper.com/semantic-code-concept-practices.html/#comments</comments> <pubDate>Mon, 10 Oct 2011 15:48:21 +0000</pubDate> <dc:creator>Evan Shajed</dc:creator> <category><![CDATA[Article]]></category> <category><![CDATA[SEO]]></category><guid isPermaLink="false">http://www.iamwebsitedeveloper.com/?p=739</guid> <description><![CDATA[What the Heck is Semantic Code? “Semantic Code” &#8211; sounds familiar right? The buzz word among web development community. Even if you are not related to web development; I know so many SEO experts who are aware of optimized HTML coding structure. Semantic Code is nothing new. It’s the same old concept of writing good codes and concentrate on content structure. Making the content structured not only with css style but also within codes itself. In an Example We can easily make a sentence Bold, Big and with different color using css, so that it looks like a Header within &#8230; <a href="http://www.iamwebsitedeveloper.com/semantic-code-concept-practices.html/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<h2>What the Heck is Semantic Code?</h2><p>“Semantic Code” &#8211; sounds familiar right? The buzz word among web development community. Even if you are not related to web development; I know so many SEO experts who are aware of optimized HTML coding structure. <strong>Semantic Code</strong> is nothing new. It’s the same old concept of writing good codes and concentrate on content structure. Making the content structured not only with css style but also within codes itself.</p><p>In an Example We can easily make a sentence Bold, Big and with different color using css, so that it looks like a Header within a placeholder. So a possible coding style can be like this:</p><pre>&lt;div class=”head”&gt;
  This is a header of this section!
&lt;/div&gt;</pre><p>This is absolutely a bad practice. Lets say if you have 2 more sub headers, what might be the worst scenario?</p><pre>&lt;div class=”head”&gt;
    This is a Main Header
&lt;div class=”subhead”&gt;
    This is the subheader
    &lt;p&gt;A paragraph&lt;/p&gt;
&lt;/div&gt;
&lt;div class=”subhead”&gt;
This is another subheader
&lt;p&gt;Another paragraph&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;</pre><p>I have seen codes written like this too. What’s wrong with this coding style? Sure it will work if you are fine with CSS and give them a good look. All you need is to get the class of each container and give necessary styling elements, browser will be happy to show the website as you want to! But is that should be the way of doing this?</p><div><p>Lets have a look at the following coding style</p><pre>&lt;div class=”content” role=”main”&gt;

&lt;h1&gt;This is the Title&lt;/h1&gt;

&lt;h2&gt;This is the first Header&lt;/h2&gt;

&lt;p&gt;A paragraph&lt;/p&gt;

&lt;h2&gt;Another Sub Heading&lt;/h2&gt;

&lt;p&gt;This is another Paragraph&lt;/p&gt;

&lt;/div&gt;</pre><h2>Why Semantic?</h2><p>Less codes, well formatted and most important of all <strong>meaningful markup</strong>. Your Browsers will render your site properly, also Search Engines will get the idea of which to mark as important content! There are lot’s of other area we can cover on it’s benefits and trade offs. Lets go through them step by step.</p><h3>Better loading time</h3><p>Clean coding structure helps <strong>browsers</strong> to load your site faster. Just image if you can somehow reduce the DOM elements for your <strong>HTML</strong> it means you are reducing the size of codes too! Let’s take a note from Yahoo Developer Network on Semantic Code..</p><blockquote><p>“ Are you using nested tables for layout purposes? Are you throwing in more &lt;div&gt;s only to fix layout issues? Maybe there&#8217;s a better and more semantically correct way to do your markup”</p></blockquote><p><cite><a title="Yahoo Developers Network" href="http://developer.yahoo.com/performance/rules.html">Yahoo Developers Network</a></cite><br /> We can see the benefits of well coded HTML right from IamWD blog. Though we have changed the old layout and adopted a <a title="Responsive web interface" href="http://www.iamwebsitedeveloper.com/responsive-user-interface.html/">responsive UI</a>; we are calling more request than before on .js and .css files. I can remember it took near about 6 seconds to load the whole website before. But it came down to 1.45 sec(avg) with our semantic coding approach. You can get an idea on performance result for semantic coding style held by <a title="Write good code." href="http://www.writegoodcode.com/" target="_blank">Dyn</a>.</p><h3>More Accessible:</h3><p>Giving your HTML appropriate markups increases accessibility. If you can manage to generalize the process you will find out the site is rendering well on any browsers. When you try to make layout on a certain web page; &lt;div&gt; or &lt;span&gt; is our friend. Sure we have to use it to give a structural view. Does it have any meaning? But if we use <strong>&lt;header&gt;</strong> for the heading of the page, <strong>&lt;aside&gt;</strong> for sidebar container, &lt;footer&gt; for footer section of the web page, &lt;nav&gt; for navigation and relatively p for paragraph,<strong> h1-h6</strong> for titles and sub titles; then it looks more understanding.</p><p><a href="http://www.iamwebsitedeveloper.com/wp-content/uploads/2011/10/WAVE-report-of-Blog-for-Web-Developers-I-am-Website-Developer.jpg"><img class="alignnone size-medium wp-image-746" title="WAVE report of Blog for Web Developers - I am Website Developer" src="http://www.iamwebsitedeveloper.com/wp-content/uploads/2011/10/WAVE-report-of-Blog-for-Web-Developers-I-am-Website-Developer-300x208.jpg" alt="HTML Outlining" width="300" height="208" /></a></p><p>We tried to run an experiment with IamWD website on <a title="Web Accessibility Check" href="http://wave.webaim.org/report?url=http%3A%2F%2Fwww.iamwebsitedeveloper.com&amp;js=2">WAVE</a>, to see how the website is performing in terms of accessibility. After the test we get the result as expected. The website is well outlined in h1 and h2 tags. Hense, it has few unsolved issues. You will see down on the bottom of the screenshot below; it has outlined sidebar headers. Someone can argue (Even I will be arguing) that sidebars can be given less priority comparing to the main contents. In that such case sidebar can be nested within a main parent tags followed by sub tags as separate instances. Then we could easily define another h2 tag and define all the sidebar sections starting with h3. When we will be doing prototyping of the website these macro level decisions becoming more concentrated. While you are doing structural design process or laying out the website; we must ensure what will be the outlining of a web page?</p><p><a href="http://www.iamwebsitedeveloper.com/wp-content/uploads/2011/10/WAVE-report-of-Blog-for-Web-Developers-I-am-Website-Developer-2.jpg"><img class="alignnone size-medium wp-image-747" title="WAVE report of Blog for Web Developers - I am Website Developer 2" src="http://www.iamwebsitedeveloper.com/wp-content/uploads/2011/10/WAVE-report-of-Blog-for-Web-Developers-I-am-Website-Developer-2-300x255.jpg" alt="Semantic  Code HTML outlining Layout" width="300" height="255" /></a></p><p>Semantic code always gives an extra benefits to screen readers. Semantic coded website are well accessible and gives structured view on text-only browsers without any problem. Even our ancient mobiles can access that!</p><h3>SEO Friendly:</h3><p>The way semantic markup is used throughout a site, including h1, h2, and h3 tags, helps us to understand the priorities of a site’s content. Which tags are relatively more important for Search Engines? h1-h6,Anchor Texts,&lt;strong&gt;,&lt;p&gt; are the general HTML tags we always use. How about new HTML5 tags? They sounds more understandable, aren&#8217;t they? We know which placeholder is holding what. Like I said before using right tags in right place help search engine robots to understand the importance of a site contents. Apart from keyword analysis; content structure is the most influential for search engine ranking.</p><p><a title="Rich snippets (microdata, microformats, and RDFa)" href="http://www.google.com/support/webmasters/bin/answer.py?answer=99170" target="_blank">Microformats, Resource Description Framework &#8211; in &#8211; atributes (FDFa)</a>  or Microformats were proposed in different events on past and still it’s a growing practices. Google are using all three forms of structured metadata to find the semantic content within webpages mentioned above.</p><p>Let’s have a look how Google is using meta tags to get semantic values within a page? <a title="re=&quot;canonical&quot; Semantic website Microdata Microformats" href="http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html" target="_blank">rel=”canonical”</a>  &#8211; acts as a hint for duplicate contents. rel=”next” or rel=”prev” to indicate relation between paginated links. <a title="Authorship" href=" http://googlewebmastercentral.blogspot.com/2011/06/authorship-markup-and-web-search.html">rel=”author”</a> &#8211; Authorship of you website. Your social profile will be shown along with your site search result.</p><p>By using schema attributes along with properties within your site layout you are telling your search engine the specific type of your content. It is not only valid for SEO. Many smart devices now supports these tag to render the site device compatible.</p><h2>More information on Semantic Code practices</h2><p>Here are few resources where you will get more detailed information on Semantic Code. <a title="A blog on microformats" href="http://microformatique.com/?p=108">Microformatique</a> &#8211; a blog on microformats. Please also do follow Part1 and Part2 on that page. Specification on HTML microdata mechanism can be found on <a title="HTML Microdata" href="http://dev.w3.org/html5/md-LC/">W3C</a>. Dont forget to follow <a title="Webmaster Central Blog" href="http://googlewebmastercentral.blogspot.com/2011/09/pagination-with-relnext-and-relprev.html" target="_blank">Google Webmaster CEntral Blog</a>. They keep posting about any new attribute changes for their SE mechanism. I will be writing more about the <a title="Schema" href="http://schema.org/docs/gs.html" target="_blank">schema</a> and microformat uses in upcoming post. Till then let me know how you are taking semantic approaches? What types of conflicts or suggestion you are finding out? I will be waiting for your comments. If you like this post then dont forget to bookmark this page on social media. We also have a new <a title="I am Website Developer on Facebook" href="http://facebook.com/iamwebsitedeveloper">Facebook fan page</a>. Hope we will see you there.</p></div><div style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://www.iamwebsitedeveloper.com/semantic-code-concept-practices.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Search Engine Optimization:Basic Information</title><link>http://www.iamwebsitedeveloper.com/search-engine-optimization/search-engine-optimization-basic-information.html</link> <comments>http://www.iamwebsitedeveloper.com/search-engine-optimization/search-engine-optimization-basic-information.html#comments</comments> <pubDate>Fri, 18 Mar 2011 11:02:09 +0000</pubDate> <dc:creator>Sayed Hoque</dc:creator> <category><![CDATA[SEO]]></category><guid isPermaLink="false">http://www.iamwebsitedeveloper.com/?p=683</guid> <description><![CDATA[Search Engine Optimization:Basic Information Search Engine Optimization is shortly known as SEO that uses for appearing among the top listing on SERP. There are three ways ranking our pages: White Hat,Black Hat and Gray Hat. We will discuss about White Hat methods all over this article on Search Engine Optimization. To optimize a web page  Internally,There are some criteria which are shown below: Choosing Domain Name Each and every web site has its own domain name which is unique. The Domain name represents our website. We have to bear in mind that Domain name should not be long. Domain name is &#8230; <a href="http://www.iamwebsitedeveloper.com/search-engine-optimization/search-engine-optimization-basic-information.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<h1>Search Engine Optimization:Basic Information</h1><p><strong>Search Engine Optimization</strong> is shortly known as <strong>SEO</strong> that uses for appearing among the top listing on <a title="Search Engine Results Page" href="http://en.wikipedia.org/wiki/Search_engine_results_page" target="_blank">SERP</a>. There are three ways ranking our pages: White Hat,Black Hat and Gray Hat. We will discuss about White Hat methods all over this article on Search Engine Optimization.</p><p><a href="http://www.iamwebsitedeveloper.com/wp-content/uploads/2011/03/Search-Engine-Optimisation.gif"><img class="size-medium wp-image-684 alignnone" title="Search Engine Optimisation" src="http://www.iamwebsitedeveloper.com/wp-content/uploads/2011/03/Search-Engine-Optimisation-264x300.gif" alt="Search Engine Optimisation" width="264" height="300" /></a></p><p>To <strong><em>optimize</em></strong> a web page  Internally,There are some criteria which are shown below:</p><h2>Choosing Domain Name</h2><p>Each and every web site has its own <em>domain name</em> which is unique. The <strong><em>Domain name</em></strong> represents our website. We have to bear in mind that <em>Domain name</em> should not be long. Domain name is also considered as a keyword.</p><p><a href="http://www.iamwebsitedeveloper.com/wp-content/uploads/2011/03/Domain-Name.jpeg"><img class="alignnone size-full wp-image-689" title="Domain Name" src="http://www.iamwebsitedeveloper.com/wp-content/uploads/2011/03/Domain-Name.jpeg" alt="Domain Name" width="259" height="194" /></a></p><h2>Using Meta Tag</h2><p><strong>Search engine</strong> doesn&#8217;t see as we see a web page .They only can see the code and it is very important to have a clean code. <strong>Meta tags</strong> are part of our web pages code and they have great importance. <strong>Meta tags</strong> have thee parts, We are going to discuss those one by one:</p><p><a href="http://www.iamwebsitedeveloper.com/wp-content/uploads/2011/03/Meta-Tags.jpg"><img class="alignnone size-medium wp-image-686" title="Meta Tags" src="http://www.iamwebsitedeveloper.com/wp-content/uploads/2011/03/Meta-Tags-300x217.jpg" alt="Meta Tags" width="300" height="217" /></a></p><ul><li><h3>Title Tag</h3></li></ul><p>We must include our <em>keyword phrases</em> in the <strong>Title Tag</strong> and we should set the Title at the top of the page.<br /> <strong>The code for Meta Title</strong>:<em>&lt;title&gt;HERE IS OUR TILTE&lt;/title&gt;</em></p><ul><li><h3>Description Tag</h3></li></ul><p>The <strong> Description Tag</strong> does not have any effect on <strong>SEO</strong> and Ranking. We should use Description to make people click on our website. <em>Description Tag</em> is actually say what our site is in short. Description should not be long than 200 words.<br /> <strong>The code for </strong><strong>Meta </strong><strong>Description </strong>:<em>&lt;meta name=”description” content=”THIS IS OUR DESCRIPTION” /&gt;</em></p><ul><li><h3>Keyword Tag</h3></li></ul><p>Actually, The <strong>Keyword Tags</strong> have no effect on our On-page <em>SEO</em> and Ranking also. We have to use <em>keyword tag</em> to tell Search Engine for what keywords to Rank over web page. Keyword should not be more than 10 words.<br /> <strong>The code for </strong><strong>Meta</strong><strong> Keyword</strong>:&lt;<em>meta name=”keywords” content=”keyword1,keyword2,&#8230;.” /&gt;</em></p><h2>Introducing Heading Tag</h2><p>Placing our keyword phrases into the <strong>Heading Tag</strong> is another thing we should do that will <em>optimize</em> our On-page <em>SEO</em>. <strong>H1 tag</strong> is most important and we should also try to include our <em>keyword phrases</em> into our <strong>H1</strong> and H3 tag Headings within our post.</p><p><a href="http://www.iamwebsitedeveloper.com/wp-content/uploads/2011/03/Head-Subheads.gif"><img class="alignnone size-full wp-image-690" title="Head &amp; Subheads" src="http://www.iamwebsitedeveloper.com/wp-content/uploads/2011/03/Head-Subheads.gif" alt="Head &amp; Subheads" width="300" height="217" /></a></p><h2>Utilizing Page Content</h2><p>Large content is much better than short content. We have to use keywords in our body content. We must keep in mind,density of a keyword should not be more than 3-5%. <strong>Page content</strong>s should have Bold,Italic,Underline on our keyword phrase. We will use all 3 but don’t overdo it and will try to use them once in every 100 words.</p><p><a href="http://www.iamwebsitedeveloper.com/wp-content/uploads/2011/03/Page-Content.png"><img class="alignnone size-medium wp-image-691" title="Page Content" src="http://www.iamwebsitedeveloper.com/wp-content/uploads/2011/03/Page-Content-300x240.png" alt="Page Content" width="300" height="240" /></a></p><h2>placing Internal-Linking</h2><p>For SEO, <strong>Internal-Linking</strong> is very important. We can build Internal-Linking by using anchor text.<br /> <strong>The code for Internal-Linking</strong>:<em>&lt;a herf=”http://domainname.com”&gt;Domain Name&lt;/a&gt;</em></p><p><a href="http://www.iamwebsitedeveloper.com/wp-content/uploads/2011/03/Internal-Linking.png"><img class="alignnone size-medium wp-image-692" title="Internal Linking" src="http://www.iamwebsitedeveloper.com/wp-content/uploads/2011/03/Internal-Linking-300x184.png" alt="Internal Linking" width="300" height="184" /></a></p><h2>Applying Image Alt Tag</h2><p><strong><a title="Web Crawler" href="http://en.wikipedia.org/wiki/Web_crawler" target="_blank"><em>Search Engine bot</em></a></strong> can&#8217;t read any image. To overcome this problem we have to use alt tag.<br /> <strong>The code for Image alt tags</strong>:<em>&lt;img src=”IMAGE FILE PATH” alt=”IMAGE NAME” /&gt;</em></p><p><a href="http://www.iamwebsitedeveloper.com/wp-content/uploads/2011/03/Image-Alt-Tag.jpg"><img class="alignnone size-medium wp-image-693" title="Image Alt Tag" src="http://www.iamwebsitedeveloper.com/wp-content/uploads/2011/03/Image-Alt-Tag-300x202.jpg" alt="Image Alt Tag" width="300" height="202" /></a></p><p>Frankly speaking, i am not an Expert in Search Engine Optimization and still learning. I shared some of my knowledge with you. If you have any query about the topics you can post and also can share your Expertise knowledge with us in our comments section.</p><div style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://www.iamwebsitedeveloper.com/search-engine-optimization/search-engine-optimization-basic-information.html/feed</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>Optimize your posts for search engines on wordpress</title><link>http://www.iamwebsitedeveloper.com/search-engine-optimization/optmize-your-posts-for-search-engines-on-wordpress.html</link> <comments>http://www.iamwebsitedeveloper.com/search-engine-optimization/optmize-your-posts-for-search-engines-on-wordpress.html#comments</comments> <pubDate>Tue, 23 Nov 2010 04:17:25 +0000</pubDate> <dc:creator>Evan Shajed</dc:creator> <category><![CDATA[SEO]]></category> <category><![CDATA[wordpress]]></category><guid isPermaLink="false">http://www.iamwebsitedeveloper.com/?p=661</guid> <description><![CDATA[It takes time to rank your website on major search engines like Google, Yahoo or Bing. I am not talking about page rank that is offered by Google or Alexa. Ranking on search engines depends on so many different matrix. Organic, Links, in page hit of traffic, referrals and more different types. In many cases it is quite hard for people to make their web pages optimized; who doesn&#8217;t deal with professional SEO services. Hence, there are few general rules that I always follow to &#8220;optimize posts for search engines on wordpress&#8220;. I am going to elaborate few of the &#8230; <a href="http://www.iamwebsitedeveloper.com/search-engine-optimization/optmize-your-posts-for-search-engines-on-wordpress.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>It takes time to rank your website on major search engines like Google, Yahoo or Bing. I am not talking about page rank that is offered by Google or Alexa. Ranking on search engines depends on so many different matrix. Organic, Links, in page hit of traffic, referrals and more different types. In many cases it is quite hard for people to make their web pages optimized; who doesn&#8217;t deal with <strong>professional SEO services</strong>. Hence, there are few general rules that I always follow to <strong>&#8220;optimize posts for search engines on wordpress</strong>&#8220;. I am going to elaborate few of the these techniques below :</p><p>[Related reading: <a href="../web-article/speed-up-wordpress-blog.html">Speed up wordpress blog by reducing external request</a> ]</p><p><a href="http://www.iamwebsitedeveloper.com/search-engine-optimization/optmize-your-posts-for-search-engines-on-wordpress.html/attachment/seo-wordpress-plugins" rel="attachment wp-att-663"><img class="alignnone size-medium wp-image-663" title="seo-wordpress-plugins" src="http://www.iamwebsitedeveloper.com/wp-content/uploads/2010/11/seo-wordpress-plugins-300x231.gif" alt="seo-wordpress-plugins" width="300" height="231" /></a></p><h3 id="internal-source-marker_0.25304372007160825">Choose perfect heading for your article:</h3><p>This is in-fact the most important of all. Let me give you a small example. Type this phrase on google “optimize posts for search engines on wordpress”. You will see near about 447,000 results found. use these key words separately on <a href="http://www.google.com/trends">Google Trends</a>. You will see the relevance of each keywords. Here the data is scaled based on the average search traffic of the term you’ve entered. So if you can insure to have perfect heading with defined keywords searched by major traffic then your chance to get hits increases a lot.</p><h3 id="internal-source-marker_0.25304372007160825">Use your title within your posts:</h3><p>Have you seen this posts already used the title twice? Which means when Google will scan the post it will get more relevance with the title. Try to insert your title phrases you keywords technically so that your search engine hits get a rise.</p><h3>Be consistent on heading:</h3><p>Be very consistent while using headings within your posts. If you give your title a tag &lt;h1&gt; then don&#8217;t use it again within your post. It is just like writing a thesis or published article. We always keep relevancy on heading there. Like If the title is &lt;h1&gt; then a section heading will be within &lt;h2&gt; and if a section has sub heading they will go with &lt;h3&gt;.</p><h3>Bold your keywords, give them some weight:</h3><p>Have you seen I am using bold on this post? If you have a clear look you will see I only bold those words which are relevant to this post topic. It helps robot to get <strong>determine proper keywords</strong>. because you are matching your giving <strong>keywords</strong> given on meta tags.</p><h3>Choose proper keywords:</h3><p>While choosing your keywords for your meta tag on &lt;head&gt; section try to insert keywords taken from your written posts. Especially those which are marked as bold. In example for this post: keywords should be ‘<strong>optimize wordpress</strong>’, ‘<strong>posts for search engine</strong>’,’<strong>SEO</strong>’,’perfect heading’,’<strong>keywords</strong>’ etc.</p><h3>Final Touch</h3><p>I am not a SEO guru, but a blog writer and website developer I have to use few of these techniques. It works for me. I have seen many of my posts gets higher ranking by using these simple steps. Hope it will work for you if you can use them properly. I would like to thank <a title="Mr. Asif Anwar" href="http://www.facebook.com/asifanwarpathik" target="_blank">Mr. Asif Anwar</a>, one of the pioneer on online marketing specialist from Bangladesh;  who gave me initial ideas about these simple steps when i was in London. Now its your turn for discussion. Please reply using our social comments options.</p><div style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://www.iamwebsitedeveloper.com/search-engine-optimization/optmize-your-posts-for-search-engines-on-wordpress.html/feed</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Optimized wordpress header : Cleanup unwanted element</title><link>http://www.iamwebsitedeveloper.com/search-engine-optimization/optimized-wordpress-header-cleanup-unwanted-element.html</link> <comments>http://www.iamwebsitedeveloper.com/search-engine-optimization/optimized-wordpress-header-cleanup-unwanted-element.html#comments</comments> <pubDate>Wed, 09 Dec 2009 06:17:30 +0000</pubDate> <dc:creator>Evan Shajed</dc:creator> <category><![CDATA[Design]]></category> <category><![CDATA[SEO]]></category> <category><![CDATA[wordpress]]></category><guid isPermaLink="false">http://www.iamwebsitedeveloper.com/?p=133</guid> <description><![CDATA[As a new blogger I am going through lots of usability and optimization difficulty with my current site theme. I always follow source file how dose it really look like? Whether it is optimized or not? If it is properly formatted? How my template is effecting by plug-ins? I just tried some new search on how to optimize or remove unwanted elements from header file? I really liked three post. Bellow are the three Links from which I have taken references for this post: Removing wp_head() elements (rel=’start’, etc.) Cleaning up wp_head Remove unwanted WordPress header elements I found these &#8230; <a href="http://www.iamwebsitedeveloper.com/search-engine-optimization/optimized-wordpress-header-cleanup-unwanted-element.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>As a new blogger I am going through lots of usability and optimization difficulty with my current site theme. I always follow source file how dose it really look like? Whether it is optimized or not? If it is properly formatted? How my template is effecting by plug-ins?</p><p>I just tried some new search on how to optimize or remove unwanted elements from header file? I really liked three post. Bellow are the three Links from which I have taken references for this post:</p><ul><li><a href="http://rjpargeter.com/2009/09/removing-wordpress-wp_head-elements/">Removing wp_head() elements (rel=’start’, etc.)</a></li><li><a href="http://wordpress.org/support/topic/331711">Cleaning up wp_head</a></li><li><a href="http://falcon1986.wordpress.com/2009/07/15/remove-unwanted-wordpress-header-elements/">Remove unwanted WordPress header elements</a></li></ul><p><a href="http://www.iamwebsitedeveloper.com/wp-content/uploads/2009/12/wordpress.jpg"><img class="alignnone size-full wp-image-135" title="wordpress" src="http://www.iamwebsitedeveloper.com/wp-content/uploads/2009/12/wordpress.jpg" alt="wordpress" width="500" height="333" /></a></p><p>I found these post really helpful and like to share some of my understandings with you:</p><h5>Problem with wordpress wp_head()</h5><p>wp_head() is a action hook for plugins which is used in HTML &lt;head&gt; tag in wordpress <strong>header.php</strong> file. It is used so that plugins can include their additional functionalities within &lt;head&gt; tag if necessary. Now the problem with this wp_head() is that it do have some of it&#8217;s own element itself which you can find in view-source page of your template. Have a look:<br /> [code lang="html"]<link rel="alternate" type="application/rss+xml" title="Ponte en forma. Deporte, salud, nutrición y preparación física. Menecesitas.com &amp;amp;amp;amp;amp;amp;raquo; ¿Es mejor el hielo o el calor? Comments Feed" href="http://www.menecesitas.com/2009/08/26/%c2%bfes-mejor-el-hielo-o-el-calor/feed/" /><script type='text/javascript' src='http://www.menecesitas.com/wp-includes/js/comment-reply.js?ver=20090102'></script><br /><script type='text/javascript' src='http://www.menecesitas.com/wp-includes/js/jquery/jquery.js?ver=1.3.2'></script><br /><script type='text/javascript' src='http://www.menecesitas.com/wp-content/themes/fusion/js/fusion.js?ver=2.8.4'></script></p><link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.menecesitas.com/xmlrpc.php?rsd" /><link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://www.menecesitas.com/wp-includes/wlwmanifest.xml" /><link rel='index' title='Ponte en forma. Deporte, salud, nutrición y preparación física. Menecesitas.com' href='http://www.menecesitas.com' /><link rel='start' title='No juegues con tu salud, invierte en ella' href='http://www.menecesitas.com/2009/02/27/no-juegues-con-tu-salud-invierte-en-ella/' /><link rel='prev' title='Dieta baja en grasas y azúcares para los excesos del verano' href='http://www.menecesitas.com/2009/08/25/dieta-baja-en-grasas-y-azucares-para-los-excesos-del-verano/' /><link rel='next' title='Prepara tu primer triatlón' href='http://www.menecesitas.com/2009/08/27/prepara-tu-primer-triatlon/' /><meta name="generator" content="WordPress 2.8.4" /> [/code]</p><p>The tag :</p><p>[code lang="html"]<link rel="alternate" type="application/rss+xml" title="Ponte en forma. Deporte, salud, nutrición y preparación física. Menecesitas.com » ¿Es mejor el hielo o el calor? Comments Feed" href="http://www.menecesitas.com/2009/08/26/%c2%bfes-mejor-el-hielo-o-el-calor/feed/" />[/code] is unnecessary if you do use different rss feed element like<a title="Feed Burner" href="http://www.feedburner.com"> Feed Burner</a> in your blog. Moreover it conflicts the original title tags as well. In some cases few social networking services like &#8220;<a href="http://www.stumbleupon.com">StumbleUpon</a>&#8221; get confused which title it should follow!</p><h5>How to remove?</h5><p>Remember removing the wp_head() element is simply designers choice. It is up to them. If you really want to use core Jquery link given by wordpress, want to write your blog using Windows Live writer then you should not remove these elements. One simple solution might be just remove the wp_head() from your header.php file. In that case it may hamper your template because  these Action hooker helps your template to work smoothly. What we can do is, to remove each single element inserting few codes in your <strong>function.php</strong> file.</p><p>Open your <strong>function.php</strong> from your Editor from wordpress admin or with notepad from your local PC. Now add following codes according to your interest. I have removed all of them because I already had substitutes for my template and most of them were useless for me.</p><h4>Remove the links to the extra feeds such as category feeds</h4><p>[code lang="php"]remove_action( 'wp_head', 'feed_links_extra', 3 );[/code]</p><h4>Remove links to the general feeds: Post and Comment Feed</h4><p>[code lang="php"]remove_action( 'wp_head', 'feed_links', 2 );[/code]</p><h4>Remove the link  EditURI link</h4><p>[code lang="php"]remove_action( 'wp_head', 'rsd_link');[/code]</p><h4>Remove  Windows Live Writer manifest file</h4><p>[code lang="php"]remove_action( 'wp_head', 'wlwmanifest_link');[/code]</p><h4>Remove Index Link</h4><p>[code lang="php"]remove_action( 'wp_head', 'index_rel_link');[/code]</p><h4>Remove wordpress Generator</h4><p>[code lang="php"]remove_action( 'wp_head', 'wp_generator');[/code]</p><p>** please be aware removing this link means you might have problem while upgrading your wordpress automatically form your admin dashboard.</p><h4>Remove Start, Prev and current post link</h4><p>[code lang="php"]remove_action( 'wp_head', 'parent_post_rel_link');remove_action( 'wp_head', 'start_post_rel_link');remove_action( 'wp_head', 'adjacent_posts_rel_link');[/code]</p><h4>Remove Additional Jquery Link</h4><p>If you include all your jquery script source manually in your &lt;header&gt; tag in that case self included jquery reference is an excess for you. We do have on function <strong>wp_deregister_script(&#8216;jquery&#8217;) </strong>, But the we cant include this one in function.php file. It is because it inherit code wordpress admin panel jquery functionality. In that case (Thanks to Falcon to notify us) we just need to open our header.php file and include the code just above wp_head(), as follow:</p><p>[code lang="php"]wp_deregister_script('jquery');wp_head();[/code]</p><p>Thats all the basic wp_head() element you may want to remove to keep your &lt;head&gt; tag clear. Though some plug-ins will contradict with their own generated script like JavaScript or style sheets in that case you have to go more deeper. You just need to open that plug-ins main php file and try to find [code lang="php"]add_action('wp_head', 'plugin_function_here');[/code] after you do know the name of the plug-ins function just go back to your function.php file and include this code: [code lang="php"]remove_action('wp_head', 'plugin_function_here');[/code]And it will work fine.</p><p>Hope this discussion may help you guys. Please let me know if I missed something.</p><div style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://www.iamwebsitedeveloper.com/search-engine-optimization/optimized-wordpress-header-cleanup-unwanted-element.html/feed</wfw:commentRss> <slash:comments>12</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic (User agent is rejected)
Database Caching 4/7 queries in 0.029 seconds using disk: basic
Object Caching 669/669 objects using disk: basic

Served from: iamwebsitedeveloper.com @ 2012-02-05 21:41:54 -->
