<?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>Eric Pender &#187; Canonicalization</title>
	<atom:link href="http://www.ericpender.com/blog/category/seo/canonicalization/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ericpender.com</link>
	<description>Internet Law Student &#124; Eric Pender &#124; EricPender.com</description>
	<lastBuildDate>Thu, 23 Jun 2011 21:08:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Tabs and SEO: Things You Need to Consider</title>
		<link>http://www.ericpender.com/blog/tabs-and-seo</link>
		<comments>http://www.ericpender.com/blog/tabs-and-seo#comments</comments>
		<pubDate>Sun, 08 Mar 2009 19:33:06 +0000</pubDate>
		<dc:creator>Eric Pender</dc:creator>
				<category><![CDATA[Canonicalization]]></category>
		<category><![CDATA[Duplicate Content]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Site Architecture]]></category>

		<guid isPermaLink="false">http://www.ericpender.com/?p=229</guid>
		<description><![CDATA[I really like the use of tabs to present content to users.  I think it&#8217;s a great way to take advantage of limited screen real estate on a web page.  However, there are some important things you need to consider for SEO if you are going to use tabs to present content to a visitor. [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I really like the use of tabs to present content to users.  I think it&#8217;s a great way to take advantage of limited screen real estate on a web page.  However, there are some important things you need to consider for SEO if you are going to use tabs to present content to a visitor.</p>
<h2><strong>How Focused is your Content?</strong></h2>
<p>That is the first very important question you need to ask yourself.  In most cases, if you are considering using tabs, each tab will likely be presenting content that is substantially unique.  If each tab is presenting content that really has the ability to stand on it&#8217;s own with regard to search engine ranking, then you want to make sure that you design the architecture of the page so that search engines can rank each instance of content individually.  Otherwise, you run the risk of diluting your ability to rank for <em>anything</em> if you don&#8217;t present the content to the search engines individually.</p>
<p>On the other hand, perhaps the content within each tab is focused on one specific topic.  In a case like this, you will want to present the content so that the search engines read all of the content as a singular source.</p>
<h2><strong>Presenting Each Tab Individually</strong></h2>
<p>In the majority of cases, this will be how you will need to present tabbed content.  Otherwise, you will run the risk of diluting your page to the point that you won&#8217;t have a strong chance of ranking for your targeted phrases.</p>
<h3>Individual Pages</h3>
<p>There are a couple of ways to present the content in this case.  Perhaps the easiest way is to program individual pages, where each page shows the selected &#8220;tab&#8221; as being on top and displaying content.</p>
<p>This method allows the content to exist on individual URLs, meaning that the search engines can index, and rank, each page individually.  It also means that each page of &#8220;tabbed&#8221; content can be deep linked to.</p>
<p>There are a lot of negative implications that need to be considered with this method.  The first is that when a tab is clicked, an entire new page must load, potentially making the user experience worse.  Also, as is often the case, you may have content on the pages that are identical outside of the tabbed content, such as an introductory paragraph.  Remember that if your tabbed content is relatively minimal, the search engines may index your pages and identify them as being duplicate content.</p>
<h3>Javascript and URL Parameters</h3>
<p>Another solution that can be faster from a user experience perspective is to use unobtrusive JavaScript to show and hide each tab.  In this scenario, the HTML content is contained within the page source code, while the JavaScript is called in from an external file.  This means that the JavaScript can execute for the user to enhance the site functionality, while users without JavaScript (including search engines) will still be able to see the HTML content.  You will also want to call the JavaScript function so that it offers a static link that passes a URL parameter (i.e. www.ericpender.com/blog/example?foo=2) as opposed to a URL fragment (i.e. www.ericpender.com/blog/example#foo=2).  This is because search engines typically ignore anything after the #, but will follow anything after a ?.  By using a URL parameter, the search engines will see each instance of tabbed content as a new page, even though from a user perspective the entire page will not be reloading.</p>
<h2><strong>Presenting Each Tab Collectively</strong></h2>
<p>Although not as likely, you may come across a situation where you want to present information in tabs, but you want all of the content in the tabs to be presented as one singular document to the search engines.</p>
<h3>JavaScript with Fragments</h3>
<p>This method is identical with the JavaScript method listed above except for one very important component.  Instead of using a static link when calling the JavaScript, you will use the URL fragment instead.  The user experience is the same, but the search engines will truncate anything after the # in the URL, so that it will view all of the tabbed content as existing on a single page.</p>
<h3>Link rel=&#8221;canonical&#8221;</h3>
<p>So far, we have covered different ways to present tabbed content to users, ways for that tabbed content to be deep linked to from other pages, and ways for the content to be viewed as a different pages within the search engines as well as being a singular page.  However, that still leaves us with one scenario.</p>
<p>Let&#8217;s say you want to use JavaScript to present tabbed content to a user.  You also want the search engines to spider the tabbed content as a single document (not as many individual pages).  Your programmers used the URL ? parameter instead of the # fragment so that the tabs could be deep linked.  The problem, however, is that because of the ? parameter, the each URL will be recognized as a new page.</p>
<p>The solution in this case is to use the link rel=&#8221;canonical&#8221; element.  This allows for the ability of the tabs to be deep linked, while telling the search engines that each of the URLs are actually duplicates of the URL without the parameter.</p>
<p>Tabbed content is a great way to present content to users, and can be very effective for SEO when done correctly.  Remember to ask yourself if each instance of tabbed content can stand on it&#8217;s own, and then employ the correct method of programming depending on the answer.</p>
<h4>Additional resources:</h4>
<ul>
<li><a href="http://tonyadam.com/blog/ajax-and-non-javascript-experiences-for-seo-friendly-websites">AJAX and Non-JavaScript Experiences for SEO friendly websites</a></li>
<li><a href="http://googlewebmastercentral.blogspot.com/2007/11/spiders-view-of-web-20.html">A spider&#8217;s view of Web 2.0</a></li>
<li><a href="http://domscripting.com/presentations/xtech2006/">Hijax: Progressive Enhancement with Ajax</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.ericpender.com/blog/tabs-and-seo/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

