<?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>Web Design Talk &#187; SEO</title>
	<atom:link href="http://www.web-design-talk.co.uk/category/seo/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.web-design-talk.co.uk</link>
	<description>Web Design &#38; Development Blog</description>
	<lastBuildDate>Wed, 28 Jul 2010 21:50:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>W3C Validation and SEO Benefits &#8211; My Opinion</title>
		<link>http://www.web-design-talk.co.uk/214/w3c-validation-seo-benefits-my-opinion/</link>
		<comments>http://www.web-design-talk.co.uk/214/w3c-validation-seo-benefits-my-opinion/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 21:40:23 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.web-design-talk.co.uk/?p=214</guid>
		<description><![CDATA[The link between full W3C Validation and it&#8217;s important upon SEO is commonly discussed topic and a huge taboo. This is the notion that  having a valid site according to the W3C Standards is either critical (or not) to your website&#8217;s SEO.The first thing to note that a site passing W3C Validation will have met [...]]]></description>
			<content:encoded><![CDATA[<p>The link between full W3C Validation and it&#8217;s important upon SEO is commonly discussed topic and a huge taboo. This is the notion that  having a valid site according to the <a href="http://www.w3.org/standards/">W3C Standards</a> is either critical (or not) to your website&#8217;s SEO.The first thing to note that a site passing W3C Validation will have met the following criteria: will not use depreciated tags and will not have syntax errors &#8211; essentially a syntax check.</p>
<p>I physically cringe when I hear quotes such as &#8216;valid xhtml will help your users&#8217;. Valid xhtml <strong>will not</strong> help your users, to help your users a site needs to adhere to web coding standards &#8211; this is an entirely different beast. The main difference here is the practice of seperating content from presentation, thus giving the content increased meaning. For example, a page using tables to layout the whole web page would not adhere to web coding standards because using tables for layout is semantically incorrect and requires a lot more code. Tables should be used for tabular data, simple. Another example is the use of paragraph and header tags. Visually they are very similar but have a very very different meaning sementically. However, yet again, semantically incorrect pages will pass validation. The main Google webpage doesn&#8217;t even validate (interestingly, Google does&#8217;t even quote html attributes in order to save on page size). In my opinion, as long this is the case W3C validation will be a none issue, SEO wise.</p>
<p>Understanding which semantic elements add value to the document will affect the onsite of a website and <strong>is</strong> an SEO ranking factor.I have read several artuicles that describe W3C validation and SEO as a match made in heaven, this simply isn&#8217;t the case, although web semantics and SEO are.</p>
<p>There are many websites (40% is a figure thrown around a lot) that do not validate, yet perform quite well in search engines as they have a range of high quality content. Take a quick example. I searched for a <strong>very</strong> competitive term &#8220;houses&#8221;. The number one result was rightmove.co.uk. Rightmove even has an authorative listing for that term too &#8211; SEO wise there can&#8217;t be too many issues here. Running that site through the validator throws up 33 errors and 22 warnings. &#8211; see <a href="http://validator.w3.org/check?uri=http%3A%2F%2Fwww.rightmove.co.uk%2F&amp;charset=%28detect+automatically%29&amp;doctype=Inline&amp;group=0">the result</a>. These are mainly smaller syntax errors that quite rightly, the developers of that site have ignored. There are endless examples where sites a lot worse appear at the top of the SERPs, even though they fail to validate and sometimes, don&#8217;t follow web standards at all.</p>
<p><span id="more-214"></span></p>
<p>There is also another camp that stresses that W3C validation is important for page presentation, in turn page presentation affects your reputation and thus your SEO (the number of people willing to backlink to you). Well again, here I&#8217;d quote the subtle difference between validation and semantics. YOu can also have a perfectly presented and formatted page that fails to validate.</p>
<p>The addictive, green &#8220;congratulations&#8221; message that appears is far too often used to lure unknowledgeable clients into a false sense of trust and can go a very long way into building trust between the SEO and client. As Google uses over 200 ranking factors when indexing your website, I find it very hard to believe that minor syntx errors play much role at all. Whenver I see SEO companies that associate &#8220;100% valid xHTML code&#8221; and SEO I run a mile. It&#8217;s clear they have little knowledge of SEO from this one ststement.</p>
<h2 style="border:none;margin-left:0;">Validator error severity</h2>
<p>My next hate is the severity of these errors are often mis-quoted. Don&#8217;t get me wrong, validating your website is good practice, but not critical for SEO. A random unclosed paragraph tag, or site that uses &#8216;b&#8217; tags instead of &#8216;strong&#8217; tags is of little worry to me. I can spend my time of much more important, valuable areas &#8211; at the end of the day this won&#8217;t effect your SEO or the way the page displays. However, when there are more serious  (or hard) errors iccur these could very well stop the page from rendering all together. The latter is of course an erro you<strong> should</strong> take note of and fix quickly. However, minor syntax errors are of little concern. At the end of the day, pages that have an expected layout and content that the bots can consume easily is my major concern. However, pages that validate fully don&#8217;t give you SEO benenfit at all, however nice it is to have.</p>
<h2 style="border:none;margin-left:0;">Full validation isn&#8217;t always possible</h2>
<p>Another point is that full validation isn&#8217;t always possible. For instance, getting your site to display correctly across the plethora of browsers available can cause validation errors. This brings me to another issue. At lot of people seem to assume that a page that doesn&#8217;t pass the W3C validation is badly coded. I&#8217;ll use the example of the Google home page here. This page doesn&#8217;t validate due to a numbers of reason including the numbers of browsing devices it needs to cater for and page size (saving them a lot of money). By the latter logic, Google is a badly made webpage, I think not. I&#8217;m really not going into this anymore as it infuriates me so much. There is a trend where someone checks a page through the validator, if it fails they instanyly make a judgement that the site is badly made.</p>
<p>To conclude, at the minute there really is no evidence to suggest that Google factors in the validity of your code. In time search engines use it as a ranking factor, simialr to how Google began to use loading speed as a minor ranking factor. Validating or not is NOT the same thing as serious HTML errors that hinder crawling and indexing &#8211; this is one huge SEO scam in my opinion and is pushed upon unsuspecting an unknowledgable clients. Furthermore, I&#8217;m yet to see a site built so badly that it has failed to be included in search engines.For me, quality, quthorative content will always be at the heart of SEO, not coding syntax.</p>
<p>I&#8217;m also not saying that W3C validation should be ignored. Tomorrow, Google could well decide that W3C validation is a must and a suddenly a major ranking factor. However, for the time being, is a bit of a none issue for me.</p>
<p>Is W3C validation good practice for web developers, definately. Is W3C validation a must for SEO, not right now. Are SEO and W3C validation highly linked right now, very unlikely.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.web-design-talk.co.uk/214/w3c-validation-seo-benefits-my-opinion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enhanced Visitor Event Tracking With Google Analytics and JQuery</title>
		<link>http://www.web-design-talk.co.uk/172/enhanced-visitor-event-tracking-with-google-analytics-and-jquery/</link>
		<comments>http://www.web-design-talk.co.uk/172/enhanced-visitor-event-tracking-with-google-analytics-and-jquery/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 19:59:44 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[JQuery]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[google analytics]]></category>

		<guid isPermaLink="false">http://www.web-design-talk.co.uk/?p=172</guid>
		<description><![CDATA[Google Analytics has fast become the industry standard to track a plethora of web based information about your website. Whilst being totally free and easy to setup, you are limited to tracking elements that physically render in the browser &#8211; so items such as PDF, ZIP and RSS feeds links are not tracked, this because [...]]]></description>
			<content:encoded><![CDATA[<p>Google Analytics has fast become the industry standard to track a plethora of web based information about your website. Whilst being totally free and easy to setup, you are limited to tracking elements that physically render in the browser &#8211; so items such as PDF, ZIP and RSS feeds links are not tracked, this because Google Analytics has a great reliance upon JavaScript. However, tracking such links can be achieved with a small amount of extra work.</p>
<p>Personally, I wasn&#8217;t aware you could track specific links with Analytics and only ever considored this when a client asked &#8216;why doesn&#8217;t Google show me the numbers of times my marketing report (<em>read: a PDF file</em>) has been clicked?&#8217; &#8211; a totally valid request that I wanted to investigate.</p>
<h3 style="font-size:12px;">Use JQuery to improve Google Analytics and track downloads, RSS, Email &amp; external links</h3>
<p>First things first, make sure you have a google Analytics account, the latest version of JQuery and the latest version of the analytics code running on your website <img src='http://www.web-design-talk.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>As with the majority of the JQuery magic, everything happens within the doc ready event listener &#8211; this will used to capture various clicks to select elements.</p>
<p><strong>Tracking Download Link Clicks (PDF, ZIPs etc.)</strong></p>
<pre class="brush: jscript;">
$(document).ready(function() {

	$(&quot;a[rel=download]&quot;).click( function() {
		var fileName = $(this).attr(&quot;href&quot;);
		pageTracker._trackPageview(fileName);
		return true;
	});

});
</pre>
<p>Then on every link you wish to track, simply add the rel attribute to your non HTML files as follows:</p>
<pre class="brush: xml;">
&lt;a href=&quot;myData.zip&quot; rel=&quot;download&quot;&gt;Download My ZIP Data File&lt;/a&gt;
</pre>
<p><strong>Tracking Downloads of Specifc File Types (E.g. PDF files)</strong></p>
<p>Using the dollar sign to match against links that end in .pdf (or any extension you wish to track).</p>
<pre class="brush: jscript;">
$(document).ready(function() {

	$(&quot;a[href$=pdf]&quot;).click( function() {
		var myPDF = &quot;/pdfDownloads/&quot; . $(this).attr(&quot;href&quot;);
		pageTracker._trackPageview(myPDF);
		return true;
	});

});
</pre>
<p>The /pdfDownloads/ is used to identify and seperate report data within Google Analytics.</p>
<p><strong>Tracking the click of a specific link such as an RSS feed</strong></p>
<p>Simply add an identifier to your RSS feed link (in this example the link was given an id of &#8216;rssFeed&#8217;): </p>
<pre class="brush: jscript;">
$(document).ready(function() {

	$(&quot;a#rssFeed&quot;).click( function() {
		pageTracker._trackEvent(&quot;RSS&quot;, &quot;RSS Subscriber Link Clicked&quot;);
		return true;
	});

});
</pre>
<p><strong>Tracking mailto: Link Clicks</strong></p>
<pre class="brush: jscript;">
$(document).ready(function() {

	$(&quot;a[href^=mailto:]&quot;).click( function() {
		pageTracker._trackEvent(&quot;Mail&quot;, &quot;User clicked on mailto link&quot;);
		return true;
	});

});
</pre>
<p><strong>Tidying up&#8230;.</strong></p>
<p>You should also disable the clicked element to prevent multiple event recording and provide feedback. To do this, simple add the following at the start of each piece of code &#8211; disbabling the element and changing the cursor to an egg timer (although you could display a small graphic to make things look prettier): </p>
<pre class="brush: jscript;">
$(this).css(&quot;cursor&quot;, &quot;wait&quot;);
$(this).attr(&quot;disabled&quot;, true);
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.web-design-talk.co.uk/172/enhanced-visitor-event-tracking-with-google-analytics-and-jquery/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Improve SEO Through Home Menu Anchor Text Optimisation</title>
		<link>http://www.web-design-talk.co.uk/145/improve-seo-through-home-menu-anchor-text-optimisation/</link>
		<comments>http://www.web-design-talk.co.uk/145/improve-seo-through-home-menu-anchor-text-optimisation/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 22:16:55 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.web-design-talk.co.uk/?p=145</guid>
		<description><![CDATA[It&#8217;s a widely known fact that link anchor text is rated YH2Z675VXTC5 highly by search engines and is often the deciding factor in your SERP position for competitive terms, mainly because it gives meaningful information to users (amongst others). Correct use of anchor text (on both inbound and outbound links) will give your page increased [...]]]></description>
			<content:encoded><![CDATA[<p><a title="SEO home menu anchor text" href="http://www.web-design-talk.co.uk/145/seo-home-menu-anchor-text/" target="_blank"><img class="alignright size-full wp-image-147" style="border: 0pt none;" title="seo menu anchor text home link" src="http://www.web-design-talk.co.uk/wp-content/uploads/2009/11/seo-anchor-text1.jpg" alt="seo-anchor-text" width="139" height="143" /></a>It&#8217;s a widely known fact that <a href="http://www.tamingthebeast.net/articles3/anchor-text-optimization.htm" target="_blank">link anchor text</a> is rated <span><strong>YH2Z675VXTC5 </strong></span>highly by search engines and is often the deciding factor in your SERP position for competitive terms, mainly because it gives meaningful information to users (amongst others). Correct use of anchor text (on both inbound and outbound links) will give your page increased meaning.</p>
<p>I&#8217;m sure you use this fact throughout your website while performing onsite SEO. Any tutorial will rightly tell you that keyword relevancy is of upmost importance here. However, a lot of the time you end up with a &#8216;Home&#8217; link on your menu, linking to your main page.</p>
<p>This is bad for SEO for a number reasons. Firstly, the anchor text &#8216;home&#8217; is very poor choice of word to use as it&#8217;s meaning is highly diluted nowadays. Now unless you have a site relating to homes, the keyword isn&#8217;t very useful at all, as we don&#8217;t want to rank highly for the term &#8216;home&#8217;. However, at the same time users are familiar with such a link and it makes sense to name such a link to your main page. The situation is worsened if your site is large with a great number of internal links. Imagine having a 100 page site, all with the anchor text &#8216;home&#8217; &#8211; this is a lot of inbound links telling search engines each page is related to &#8216;home&#8217;! Furthermore, the menu link&#8217;s are usually towards to the top of the page, giving them inscreased relevancy to search engines.</p>
<p>The solution is a compromise, use &#8216;home&#8217; along with you main keyword(s) &#8211; making sure to avoid obvious stop words like &#8216;and&#8217;. For example &#8216;Graphic Design Home&#8217;. Even better use your main keyword directly in the anchor text i.e. &#8216;Graphic Design&#8217;. This is quite a powerful and simple SEO trick that is easy to implement into your site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.web-design-talk.co.uk/145/improve-seo-through-home-menu-anchor-text-optimisation/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Tracking Twitter Performance Using Google Analytics</title>
		<link>http://www.web-design-talk.co.uk/138/tracking-twitter-performance-using-google-analytics/</link>
		<comments>http://www.web-design-talk.co.uk/138/tracking-twitter-performance-using-google-analytics/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 20:47:38 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[google analytics]]></category>

		<guid isPermaLink="false">http://www.web-design-talk.co.uk/?p=138</guid>
		<description><![CDATA[If you use the ever popular twitter there&#8217;s a high chance you&#8217;ll be linking to your company webiste or personal blog in your tweets or profile link. As the aim is use twitter as a marketing tool to drive traffic, you can use Google Analytics to track the link you placed the twitter profile &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>If you use the ever popular <a href="http://www.twitter.com" target="_blank">twitter</a> there&#8217;s a high chance you&#8217;ll be linking to your company webiste or personal blog in your tweets or profile link. As the aim is use twitter as a marketing tool to drive traffic, you can use Google Analytics to track the link you placed the twitter profile &#8211; just like an email campiagn or PPC advert</p>
<p>If you use Twitter as a marketing tool to drive traffic to your site then you should treat it in exactly the same way as you would a newsletter, a <acronym title="Pay Per Click">PPC</acronym> advert or a banner and track each Tweet’s performance beyond simple click data. How many visits do you get, how long do they stay on your site, how deep do they go, what is the bounce rate like and how much revenue do they generate?</p>
<p>The benefit to &#8216;tagging&#8217; this link is that Google Analytics will record more than use basic click data &#8211; you can record a whole host of advanced user data such as how they navigate your site and length of visit. By default Google will track such links, but traffic from services such as bit.ly will be dumped into the direct traffic area of Google Analytics. The steps to get the latter up and running are quite simple:</p>
<p>1: Go to <a title="URL Builder" href="http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&amp;answer=55578" target="_blank">Google&#8217;s URL builder</a> to generate an url . Enter the following information:</p>
<p><strong>Website URL</strong>: your website address<strong> </strong></p>
<p><strong>Campaign Source: </strong>enter a relevant source here to identify your campaign E.g. twitter</p>
<p><strong>Campaign Name: </strong>enter a name used to identify the campaign, this is used to identify the campaign in Google Anlytics E.g. twittertracking</p>
<p>2: Click generate URL and something similar to the following will be created: http://www.web-design-talk.co.uk/<strong>?utm_source=twitter&amp;utm_medium=social&amp;utm_campaign=twittertrack</strong></p>
<p><strong><br />
</strong></p>
<p>3: If posting to twitter you can paste this URL directly in the tweet box, as twitter will automatically shorten this url.</p>
<p>4: After approximately 24 hours data will appear in your analytics account. Simply navigate to Traffic Sources. If you&#8217;ve used the same terms to build the url as above you&#8217;ll see an entry called &#8216;twitter / social&#8217;. You can also view information by navigating to Traffic Sources &gt; Campaigns where you can click the campiagn name (&#8216;twittertrack&#8217; was used in he example above).</p>
<div id="attachment_139" class="wp-caption alignnone" style="width: 766px"><img class="size-full wp-image-139" title="tracking-twitter-traffic" src="http://www.web-design-talk.co.uk/wp-content/uploads/2009/11/tracking-twitter-traffic.jpg" alt="Google Analytics Once Tracking is Installed" width="756" height="507" /><p class="wp-caption-text">Google Analytics Once Tracking is Installed</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.web-design-talk.co.uk/138/tracking-twitter-performance-using-google-analytics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing Common W3C Validation Errors and SEO</title>
		<link>http://www.web-design-talk.co.uk/79/fixing-common-w3c-validation-errors-for-seo/</link>
		<comments>http://www.web-design-talk.co.uk/79/fixing-common-w3c-validation-errors-for-seo/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 18:21:00 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[xHTML Validation]]></category>
		<category><![CDATA[semantic code]]></category>
		<category><![CDATA[w3c validation]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://www.web-design-talk.co.uk/?p=79</guid>
		<description><![CDATA[Yet another thing to check when doing SEO is that your site validates via the w3c validation checker. A site that is xHTML valid will recieve more frequent search engine crawls and more importantly, longer crawl times. I won&#8217;t bore you with further details about why validation is a good thing (it&#8217;s a huge subject), [...]]]></description>
			<content:encoded><![CDATA[<p>Yet another thing to check when doing SEO is that your site validates via the <a title="w3c validator" href="http://validator.w3.org/" target="_blank">w3c validation checker</a>. A site that is xHTML valid will recieve more frequent search engine crawls and more importantly, longer crawl times. I won&#8217;t bore you with further details about why validation is a good thing (it&#8217;s a huge subject), but if you must there is a great article about the <a href="http://validator.w3.org/docs/why.html">subject right here</a>. Creating a site to an xHTML valid standard encourages better coding practice and more <a href="http://www.seoblogger.co.uk/serps/the-benefits-of-using-semantic-code.html">semantic coding</a> &#8211; making your site easier to crawl. You are also giving your site a betttr chance of displaying the same across multiple and future browsers.</p>
<p>Another less known theory is that spiders get full when crawling a page, semantic coding practice will allow for cleaner and more lightweight code. For instance, when crawling a badly coded page with lots of line styles and JavaScript (E.g. content not useful to a spider) the spider may become full too quickly and leave &#8211; missing you important content contained further on within the page.</p>
<p>Validating your site to at least xHTML Transaitional 1.0 (the test strict version, compared to xHTMl 1.0 Strict) is highly encouraged and is an area often ignored by developers. Below, I&#8217;ll quickly outline some of the common validation errors and how to easily fix them:</p>
<p><strong>cannot generate system identifier for general entity X </strong>- 99% of the time this relates to errors with entity references such as ampersands in URLs. E.g. having an url like product.php?id=2&amp;mode=view would result in this error as the &#8216;&amp;&#8217; wasn;t used within the url.</p>
<p><strong>required attribute “alt” not specified</strong> –  simply find the line number and add an alt tag for the image. The presence of an alt tag is required for both transitional and strict doc types.</p>
<p><strong>XML Parsing Error: Opening and ending tag mismatch</strong> &#8211; Depending on how organised you are when coding this fix can take a matter of seconds or a lot longer. It relates to unclosed block level tags, such as a table or div. One plus point is that fixing such an error often results in several validation errors being fixed at once.</p>
<p><span id="more-79"></span></p>
<p><strong>required attribute “TYPE” not specified</strong> &#8211; This relates to no type attribute being specified for things like script and style tags. Solution &#8211; use the type tag like this: <span lang="EN-GB">&lt;script type=”text/javascript” language=”javascript” src=”scripts.js”&gt;</span></p>
<p><strong>There is no attribute “HEIGHT” </strong>- xHTML does not allow for the presence of the height attributer. To resolve, add an inline style or better, specify the height within the css rule for that element.</p>
<p><strong>NET-enabling start-tag requires SHORTTAG YES </strong>or <strong>document type does not allow element “META” here &#8211; </strong>caused by incorrect use of short tags for the page&#8217;s doctype. For example if you have specified an HTML doctype then you use use &lt;br&gt; instead of &lt;br /&gt;.</p>
<p><strong>ID &#8216;someDivname&#8217; already defined &#8211; </strong>caused when you have used two dividers on the same page, with the same id. Solution, uses div class instead of div id if you need multiple dividers on one page.</p>
<p><strong>Missing a required sub element of HEAD </strong>- almost definately caused by missing xHTML required tags from the head section. E.g. have you included a title tag (required in <em>all </em>HTML documents.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.web-design-talk.co.uk/79/fixing-common-w3c-validation-errors-for-seo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>301 Redirects for SEO Using htaccess</title>
		<link>http://www.web-design-talk.co.uk/20/301-redirects-for-seo-using-htaccess/</link>
		<comments>http://www.web-design-talk.co.uk/20/301-redirects-for-seo-using-htaccess/#comments</comments>
		<pubDate>Sun, 12 Jul 2009 21:08:07 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Jquery Framework]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[useability]]></category>

		<guid isPermaLink="false">http://www.web-design-talk.co.uk/?p=20</guid>
		<description><![CDATA[Google treats www.website.com and website.com as two totally different websites. This is very bad for your (or even a client's) website as it may lead to duplicate content and different pageranks to those sites.  This is how Google "canonicalizes" the url and is very bad from an SEO standpoint.]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignleft" style="width: 130px"><img title="404 vs 301" src="http://www.web-design-talk.co.uk/images/404-vs-301-redirect.jpg" alt="301 Redirects Prevent 404 Errors" width="120" height="120" /><p class="wp-caption-text">301 Redirects Prevent 404 Errors</p></div>
<p>Google treats www.website.com and website.com as two totally different websites. This is very bad for your (or even a client&#8217;s) website as it may lead to duplicate content and different pageranks to those sites.  This is how Google &#8220;canonicalizes&#8221; the url and is very bad from an SEO standpoint.</p>
<p>In essence, a web server could return totally different results for each of those pages. I have also encountered the situation where clients have set their preferred domain in Google webmaster tools, have given out the opposite version for SEM and wonder why they don&#8217;t see results <img src='http://www.web-design-talk.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> You can easily check the above by using the &#8220;site:&#8221; operator in Google search. E.g. site:www.website.com and site:website.com</p>
<p>You can use &#8220;mod rewrite&#8221; rules as a powerful method for redirecting many URLs from one location to another.  This is a simple server level technique for handling redirects. The way people handle this canonicalization issue is purely a personal choice, although the below method can be altered for directing to the none www version of the url.</p>
<p>The .htaccess file is simply an ASCII file created with any normal text editor. You need to save the file as &#8216;.htaccess&#8217; (no filename, .htaccess is the extension!). Open you newly created .htaccess file in your favoured text editor and add the following lines of code, replacing domain.com with your domain:</p>
<pre class="brush: xml;">
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain.com
RewriteRule (.*) http://www.domain.com/$1 [R=301,L]</pre>
<p>Upload the .htaccess file to the root folder of your website and you&#8217;re done. All your traffic will be permanently redirected from a non-www version of your website to a www version of your website. To do the opposite (direct all traffic to the non www version use the below code in the .htaccess file):</p>
<pre class="brush: xml;">RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.domain.com
RewriteRule (.*) http://domain.com/$1 [R=301,L]
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.web-design-talk.co.uk/20/301-redirects-for-seo-using-htaccess/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
