<?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>[Re]Encoded.com &#187; SEO</title>
	<atom:link href="http://www.reencoded.com/category/seo/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.reencoded.com</link>
	<description>Web Design and Development Tips, Tutorials and [Re]lated [Re]sources</description>
	<lastBuildDate>Tue, 24 Jan 2012 20:23:49 +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>Take your SEO to a new level.</title>
		<link>http://www.reencoded.com/2010/06/22/take-your-seo-to-a-new-level/</link>
		<comments>http://www.reencoded.com/2010/06/22/take-your-seo-to-a-new-level/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 13:12:44 +0000</pubDate>
		<dc:creator>McKenna Julilette</dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[adsense keywords]]></category>
		<category><![CDATA[keyword research]]></category>
		<category><![CDATA[keyword tools]]></category>
		<category><![CDATA[market samurai]]></category>
		<category><![CDATA[seo keywords]]></category>
		<category><![CDATA[seo tools]]></category>

		<guid isPermaLink="false">http://www.reencoded.com/?p=6906</guid>
		<description><![CDATA[Tired of walking the hard path with your internet marketing? Do you want better results, higher rankings, more earnings while spending less time trying to get there?  We are happy to share with you valuable information that could completely change how you do your internet marking.  Interested? Keep reading, you won&#8217;t regret it! What we&#8217;d like [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://marketsamurai.reencoded.com"><img class="size-full wp-image-7021" title="marketsam" src="http://reencoded.s3.amazonaws.com/wp-content/uploads/2010/06/marketsam.png"  alt="marketsam" width="550" height="90" / rel="nofollow"></a></p>
<h2>Tired of walking the hard path with your internet marketing?</h2>
<p>Do you want better results, higher rankings, more earnings while spending less time trying to get there?  We are happy to share with you valuable information that could completely change how you do your internet marking.  Interested? Keep reading, you won&#8217;t regret it!</p>
<p>What we&#8217;d like to share with you, is our review of what one of the best (definitely the best out of what we have tried) S<a href="http://marketsamurai.reencoded.com/"  rel="nofollow">EO keyword analysis tools</a> out there, &#8211; <strong>Market Samurai</strong>.</p>
<p><span id="more-6906"></span></p>
<p>Many SEO experts have remained extremely excited about this software ever since the program launched and so are we!</p>
<p>Market Samurai is without doubt one of the most advanced keyword research tools available. It digs up in-depth results from the major search engines like no other tool out there. The program has a very unique mechanism that gives you not only keyword terms, but the level of competition, specific competitor sites to analyze and potential niches to go into. On top of this there&#8217;s a monetize module in the tool that helps you to <strong>earn money</strong> through affiliate sales from your Market Samurai keywords.</p>
<p>Keyword research can be very time-consuming work, and no matter how good you are at it, there&#8217;s always a lot of guessing and luck involved; this could be referred to as the &#8220;SEO-intuition&#8221;.  Keyword suggestions from Google can be good, but nowhere near as specific and focused as those of Market Samurai; not only that but Market Samurai is easy to use.  All you have to do is insert your desired keyword or niche and begin the program to generate highly-focused keywords and information.</p>
<p>The tool provides lots of keywords for you, and the list can be easily altered to fit your liking.  If that wasn&#8217;t enough, the program gives you information related to every single keyword in your list!  For example; number of <strong>daily searches</strong> on that word (Google), <strong>search trends</strong> for the keyword on Google, <strong>competition </strong>ads on AdWords, SEO Value and much more.</p>
<p>These things can be extremely powerful in helping you succeed.  As you probably know, one of the reasons it is so difficult to succeed is that most keywords are either overcrowded by competition or too much time is spent on keywords that get low search volume.  This tool can immediately help you and make sure you don&#8217;t make those mistakes!</p>
<p>Market Samurai has the power of <strong>extracting valuable keywords</strong> for you, which will allow you to immediately see which of the keywords have huge potential.  Most importantly, it can help you discover successful keywords that have either been missed by the competition or under-valued by other SEOs- giving you valuable hits and all the possibilities that offers.</p>
<p>Finally there&#8217;s a tool out there that can serve anyone, not only those who are SEO-experts. You can pick up High-Traffic, High-Profit and Low-Competition Keywords easier than ever possible &#8211; with less work than before.</p>
<p>Imagine all the time you get freed to work on other aspects of your business with <a href="http://marketsamurai.reencoded.com/"  rel="nofollow">Market Samurai</a> doing what was once such a time-consuming part of your schedule. And the tool does the work better than you can do it yourself.</p>
<p>The tool tells you:</p>
<ul>
<li> Which markets you should target/which ones to avoid</li>
<li> Keywords to focus on (and which ones not to)</li>
<li> Topics and material to discover and include with your niche</li>
<li> Where to find the best backlinks</li>
<li>Who your competition is</li>
</ul>
<p>and a whole lot more.</p>
<p>Look at this list, here are the 8 modules in which Market Samurai can offer you great help in your online marketing:</p>
<ol>
<li>1. Keyword research</li>
<li>2. SEO competition</li>
<li>3. <strong>Finding content</strong></li>
<li>4. Promotion (link-building)</li>
<li>5. Publish content (you can publish directly from the tool)</li>
<li>6. Monetization</li>
<li>7. Help with AdWords</li>
<li>8. Find Content/Publish Content</li>
</ol>
<p>All of these are included for everyone, and yet another great thing is that there aren&#8217;t any monthly or annual fees.  The program has a one-time fee, and you can keep earning from using it for years and years to come. We should probably tell you some reasons to why you shouldn&#8217;t be interested in it, but that&#8217;s quite hard to be honest.</p>
<p>The one-time fee compared to the number of hours you usually spend doing this work yourself speaks for itself.  If you can afford spending valuable time optimizing keywords on your own, you can afford getting Market Samurai, at least that&#8217;s our opinion.  We use Market Samurai on a daily basis and perhaps you can to; try it today.  It was worth it for us.</p>
<h2>Market Samurai Bonus</h2>
<p><span style="text-decoration: underline;">Undoubtedly one of the most exciting features of Market Samura</span>i: Market Samurai will actually find content related to your keyword to use for promotional efforts.  That&#8217;s right, find articles, related content and blog posts related to your specific keyword.  The program will even allow you to publish content on the web, linking back to your site.  Check it out!</p>
<p style="text-align: center;"><a href="http://marketsamurai.reencoded.com/"  rel="nofollow">Find out more!</a></p>
<script type="text/javascript">(function() {var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];s.type = 'text/javascript';s.async = true;s.src = 'http://widgets.digg.com/buttons.js';s1.parentNode.insertBefore(s, s1);})();</script><a href="http://digg.com/submit?url=http%3A%2F%2Fwww.reencoded.com%2F2010%2F06%2F22%2Ftake-your-seo-to-a-new-level%2F"class="DiggThisButton DiggCompact"   rel="nofollow"></a>]]></content:encoded>
			<wfw:commentRss>http://www.reencoded.com/2010/06/22/take-your-seo-to-a-new-level/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Las Vegas SEO Training Workshops in Las Vegas, June 28- July 2nd</title>
		<link>http://www.reencoded.com/2010/05/13/las-vegas-seo-training-workshops-in-las-vegas-june-28-july-2nd/</link>
		<comments>http://www.reencoded.com/2010/05/13/las-vegas-seo-training-workshops-in-las-vegas-june-28-july-2nd/#comments</comments>
		<pubDate>Thu, 13 May 2010 20:05:35 +0000</pubDate>
		<dc:creator>McKenna Julilette</dc:creator>
				<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://www.reencoded.com/?p=6048</guid>
		<description><![CDATA[Workshops SEO Training From Search Engine Academy; Las Vegas  June 28- July 2nd * Joe Sugarman Speaks at June Las Vegas SEO Training Workshop * New Topics * 2-day Essentials Search Engine Optimization Workshop * 3-day Advanced Search Engine Optimization Workshop * 5-day Comprehensive Search Engine Optimization Workshop * SEO Certification Sign Up Today! SEO Training [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste"><strong>Workshops SEO Training From Search Engine Academy; Las Vegas  June 28- July 2nd</strong></div>
<div id="_mcePaste">* Joe Sugarman Speaks at June Las Vegas SEO Training Workshop</div>
<div id="_mcePaste">* New Topics</div>
<div id="_mcePaste">* 2-day Essentials Search Engine Optimization Workshop</div>
<div id="_mcePaste">* 3-day Advanced Search Engine Optimization Workshop</div>
<div id="_mcePaste">* 5-day Comprehensive Search Engine Optimization Workshop</div>
<div id="_mcePaste">* SEO Certification</div>
<div></div>
<div><strong><a href="http://www.seotrainingsw.com?AFFID=32539">Sign Up Today!</a></strong></div>
<div></div>
<div><a href="http://www.reencoded.com/wp-content/uploads/2010/05/roy-vegas-promo.jpg" ><img class="alignleft size-medium wp-image-6049" title="roy-vegas-promo" src="http://www.reencoded.com/wp-content/uploads/2010/05/roy-vegas-promo-300x227.jpg" alt="" width="300" height="227" /></a></div>
<div id="_mcePaste">SEO Training SW offers 2, 3 and 5-day SEO training courses. The 2-day Essentials SEO training course offers students strategies and tactics to get your website ranked appropriately and quickly.</div>
<div></div>
<div></div>
<div>The 3-day Advanced SEO training program gives you additional strategies and tactics employed by top SEM agencies nationwide. Finally the 5-day Comprehensive SEO training program offers you everything you need to know to get your website listed in the search engines and most importantly, market your website successfully to your visitors once they arrive.</div>
<p><span id="more-6048"></span></p>
<div>Special Guest at our <a href="http://www.seotrainingsw.com?AFFID=32539">June Las Vegas Workshop</a>: Joe Sugarman</div>
<div id="_mcePaste">Listen and learn from a legendary advertising and marketing legend! Joe Sugarman, builder of the BluBlocker Sunglasses empire, will be our special guest during the June SEO Training Workshop. He’ll share some of his most valuable secrets with you, so you can apply them to your online success!</div>
<div></div>
<div></div>
<div>During a recent SEO Workshop in Phoenix, Joe spoke to the students who attended our five day workshop and presented his talk that normally pays him thousands of dollars per appearance.</div>
<div>Hear from the most famous advertising copywriter himself and the author of the best selling classic “Triggers.” Joe will explain what the most important item is in your website copy is, how to create the slippery slide of customers and how to embed psychological triggers in your copy. Don’t miss this once in a lifetime opportunity!</div>
<div></div>
<div></div>
<div><strong>New Topics for 2010!</strong></div>
<div id="_mcePaste">New – – One of “Radar” Roy’s most popular classes has been updated for 2010: How to optimize your Google Local Search account(s) for your companies website(s). Roy will walk you through how he creates and optimizes his clients’ and his own local search listings. Learn why video, coupons, and citations are of such high importance in ranking in the local search results and how to optimize your images, videos and campaign for high traffic and conversions.</div>
<div></div>
<div></div>
<div id="_mcePaste">Prior students who have attended Roy’s one week training class have commented that this single two hour segment on local search was worth the entire tuition of the one week workshop in that it enabled them to immediately start creating their own local search consulting business.</div>
<div></div>
<div></div>
<div id="_mcePaste">New – – YouTube is the second most popular search engine in the world, and is also owned by Google. Do you know how to optimize your videos for SEO and get them on the Search Engine Results Pages of Google? Way back in 1999, Roy had one of the first e-commerce websites that utilized the power of video to create a tribe of loyal followers. Roy will provide you with the skills you need to create your own videos using a low cost video camera, how to use video editing software and how to optimize your videos so they show up in Google’s Universal search listings.</div>
<div></div>
<div></div>
<div id="_mcePaste">New – Keyword Research and SEO Tools – Once you take this segment of our Workshop, you will understand why Roy says: ; “Looking at Google with a fresh pair of ‘Google Eyes,’ you will learn everything you need to know on how to properly market your website and identify your keywords for organic and PPC. Plus, you’ll learn how to optimize your written copy to utilize “Natural Language Processing.”</div>
<div></div>
<div></div>
<div id="_mcePaste">You will be walked through tips and tricks utilizing Google’s Keyword Tool, the Wonder Wheel, Google Insight for Search. You will also learn how to use other subscription paid keyword tools including Market Samurai, Word Tracker and SpyFu.</div>
<div></div>
<div><a href="http://www.seotrainingsw.com?AFFID=32539">SEO Training Workshop</a></div>
<script type="text/javascript">(function() {var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];s.type = 'text/javascript';s.async = true;s.src = 'http://widgets.digg.com/buttons.js';s1.parentNode.insertBefore(s, s1);})();</script><a href="http://digg.com/submit?url=http%3A%2F%2Fwww.reencoded.com%2F2010%2F05%2F13%2Flas-vegas-seo-training-workshops-in-las-vegas-june-28-july-2nd%2F"class="DiggThisButton DiggCompact"   rel="nofollow"></a>]]></content:encoded>
			<wfw:commentRss>http://www.reencoded.com/2010/05/13/las-vegas-seo-training-workshops-in-las-vegas-june-28-july-2nd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Imposing SEO on your site</title>
		<link>http://www.reencoded.com/2010/01/27/imposing-seo-on-your-site/</link>
		<comments>http://www.reencoded.com/2010/01/27/imposing-seo-on-your-site/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 18:19:55 +0000</pubDate>
		<dc:creator>McKenna Julilette</dc:creator>
				<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://www.reencoded.com/?p=4850</guid>
		<description><![CDATA[When your site is up and running, it’s all good but if you don&#8217;t have any traffic, all your efforts will be in vain. There are many free and paid ways to drive traffic to your site and one of the best is through SEO (Search Engine Optimization). Quality Content Makes or Breaks Your SEO [...]]]></description>
			<content:encoded><![CDATA[<p>When your site is up and running, it’s all good but if you don&#8217;t have any traffic, all your efforts will be in vain. There are many free and paid ways to drive traffic to your site and one of the best is through SEO (Search Engine Optimization).</p>
<p><img class="alignnone size-full wp-image-4853" title="imposing_seo_on_your_site" src="http://www.reencoded.com/wp-content/uploads/2010/01/imposing_seo_on_your_site1.jpg" alt="imposing SEO on your site" width="550" height="282" /></p>
<h4>Quality Content Makes or Breaks Your SEO Efforts</h4>
<p>For SEO, quality content is the first and crucial step. If you don&#8217;t have quality content, you can try pumping up your traffic with SEO tricks but this will never bring you the desired results. Therefore, before you start with SEO tips and tricks, make sure that you can regularly provide high quality content.<br />
<span id="more-4850"></span></p>
<h4>Choose a Reliable Web Hosting</h4>
<p>Reliable web hosting is one more thing you should consider before your start with SEO. If your web hosting is not reliable and your site is frequently down, spiders will have trouble indexing it and visitors won&#8217;t be able to browse your site. <a href="http://www.webhostingsearch.com/reliable-web-hosting.php"title="reliable web hosting"   target="_blank" rel="nofollow">Reliable web hosting</a> is vital to keep you on top.</p>
<h4>SEO Starts With the Title Tag</h4>
<p>The Title tag is very important both for your human visitors and for search engines. The Title tag should be both keyword-rich and informative, which is not as easy as it sounds.</p>
<h4>Headings Come After the Title</h4>
<p>Headings, also known as subheads, are also a place where every keyword counts a lot. Headings, such as H2, H3, H4, H5, and H6 structurize your text, make it more readable and if they contain your keywords, this usually makes your page rank higher for the particular keywords.</p>
<h4>Keywords in URLs Also Matter</h4>
<p>In addition to the Title tag and the headings, one other place where keywords weigh a lot is the URL. The URL includes not only your domain name (i.e. reencoded.com) but also any other filenames (i.e. http://www.reencoded.com/2009/03/23/29-web-design-blogs-you-must-follow/).</p>
<h4>Keywords in the Text</h4>
<p>Keywords in the body text of your page are also important and if you have good keyword density (but no keyword stuffing), this will boost your rankings a lot. Among the many keyword tools Google Adwords Keyword Tool is the most reliable. You can include not only major keywords, which generally are more competitive but also minor keywords, for which there is less competition.</p>
<h4>Clean Up Unnecessary Code</h4>
<p>Search engines read not the text of your page but its code. This is why you should remove any junk from your code because this not only slows down your pages but also can drag you down in search results.</p>
<h4>Don&#8217;t Leave the Alt Attributes of Images and Videos Empty</h4>
<p>For search engines, images and videos are not text and they can&#8217;t be indexed directly. However, images and videos have an Alt attribute, where you can enter a keyword-rich description and get the image/video indexed.</p>
<h4>Meta Descriptions Still Count</h4>
<p>There were times when meta descriptions were the most important SEO tool but search engines got smarter and now they don&#8217;t rely on your Meta descriptions that much. Still, the text you enter as a meta description shows in search results and based on it users will decide if they want to visit your site or not. This is why you should add some meaningful, keyword-rich text in your descriptions.</p>
<h4>Flash Is Not Good For SEO</h4>
<p>Flash is one of the worst SEO disasters. You might have hard times discussing the issue with your designer because it is true that from a design point of view Flash sites are great but for SEO they are a nightmare. Still, you can use Flash but always provide a detailed HTML version of the Flash page or video.</p>
<h4>&#8220;No Archive&#8221; and &#8220;No Index&#8221; Tags Are Useful</h4>
<p>It is great that you have a lot of contents but not everything must be indexed. For instance, if you have pages that could be considered duplicate content, or simply pages you wouldn&#8217;t like to see in search results, use the “No Index” tag. Similarly, use the “No Archive” tag for pages, which don&#8217;t need archiving.</p>
<h4>Don&#8217;t Forget About Social Media Marketing</h4>
<p>Social media, such as social networking sites and social bookmarking sites, can not only drive traffic directly but you can use them to get backlinks &#8211; one of the most precious commodities in SEO.</p>
<p>Basically, these are the most important SEO rules to follow. Apply these rules and you will notice how much more traffic your site will get.</p>
<script type="text/javascript">(function() {var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];s.type = 'text/javascript';s.async = true;s.src = 'http://widgets.digg.com/buttons.js';s1.parentNode.insertBefore(s, s1);})();</script><a href="http://digg.com/submit?url=http%3A%2F%2Fwww.reencoded.com%2F2010%2F01%2F27%2Fimposing-seo-on-your-site%2F"class="DiggThisButton DiggCompact"   rel="nofollow"></a>]]></content:encoded>
			<wfw:commentRss>http://www.reencoded.com/2010/01/27/imposing-seo-on-your-site/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>The 7 Top SEO Tactics You&#8217;ll Ever Learn.</title>
		<link>http://www.reencoded.com/2008/09/18/the-7-top-seo-tactics-youll-ever-learn/</link>
		<comments>http://www.reencoded.com/2008/09/18/the-7-top-seo-tactics-youll-ever-learn/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 05:31:44 +0000</pubDate>
		<dc:creator>Anders Haig</dc:creator>
				<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://www.reencoded.com/?p=406</guid>
		<description><![CDATA[As a current owner of a website, I have discovered its not as easy as people make it seem. Its a common misconception to think that creating a site is easy. You need to make sure that your layout is easy to understand and friendly to the user. The interface colors and placement of items [...]]]></description>
			<content:encoded><![CDATA[<p>As a current owner of a website, I have discovered its not as easy as people make it seem. Its a common misconception to think that creating a site is easy. You need to make sure that your layout is easy to understand and friendly to the user. The interface colors and placement of items is highly important. The more important the information the farther to the top of the page it should be, the less important information should be placed lower on the sites pages. Some of these tips are no-brainers, others may be new to you. Either way, you should always keep them on your mind when developing a website.<span id="more-406"></span></p>
<p><strong>Site Navigation:</strong>Navigation should be simple. The less Javascript and Flash, the better. Although Google is beginning to learn how to crawl flash, it&#8217;s still not as good as text. Link all your pages together. Most of the pages should be accessible from your homepage. Do not use frames under any circumstance. All frames are bad. Avoid linking with images if possible.</p>
<p><strong>Meta tags: </strong>Use &lt;Description&gt; and &lt;Keywords&gt; Metatags. Metatags do not have as much effect today with Google, but other search engines still rely on them heavily and they always help your ranking. Remember that what you use for a description will often be used as the search results description so write it well. The &lt;Keywords&gt; Metatag allows for you to input as many keywords as you want, however, 20 is a good number to aim for. Do not use keywords that are not found on your page.</p>
<p><strong>Inbound links: </strong><span>Although inbound links remain largely out of your control, they are a great asset to you website. Links from similar websites are some of the most valuable as well as high PR links and e.du and .gov links. Do your best to avoid links from link farms and avoid linking to such websites. If you have any control over it, have different anchor text for your inbound links.</span></p>
<p><strong>Unique content:</strong> <span>Content is king. Content is the most important part of your website. If you have good content, visitors will return often to see what is new. They will spread the word about your site. Search engines can recognize unique content and they highly favor sites with original information.</span></p>
<p><strong>Domain Expiration Date:</strong> <span>Extending your domain&#8217;s expiration date can be a great thing for your website. It&#8217;s one way of telling search engines that you plan to stick around and aren&#8217;t a fly by night site. Expiration date does not have a huge effect on SEO but between 2 similar sites, the one with the later expiration will show up first in results.</span></p>
<p><strong>Keyword Density: </strong>Too many keywords in your text and search engines view it as spamming. It also takes away from your content if you are specifically trying to stuff it with keywords. No one wants to read an article that uses “X Brand Hot dogs” in every sentence. Then again, if you have to few keywords in your text, it is difficult for search engines to decipher what it is about and which keywords to index it as. As a general rule, try to stay between 3%-6% keyword density.</p>
<script type="text/javascript">(function() {var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];s.type = 'text/javascript';s.async = true;s.src = 'http://widgets.digg.com/buttons.js';s1.parentNode.insertBefore(s, s1);})();</script><a href="http://digg.com/submit?url=http%3A%2F%2Fwww.reencoded.com%2F2008%2F09%2F18%2Fthe-7-top-seo-tactics-youll-ever-learn%2F"class="DiggThisButton DiggCompact"   rel="nofollow"></a>]]></content:encoded>
			<wfw:commentRss>http://www.reencoded.com/2008/09/18/the-7-top-seo-tactics-youll-ever-learn/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Creating Usable, Search Engine Friendly URLs</title>
		<link>http://www.reencoded.com/2008/08/10/creating-usable-search-engine-friendly-urls/</link>
		<comments>http://www.reencoded.com/2008/08/10/creating-usable-search-engine-friendly-urls/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 06:51:48 +0000</pubDate>
		<dc:creator>Guest</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[.htaccess tutorial]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[mod_rewrite tutorial]]></category>
		<category><![CDATA[Search Engine Friendly URLs]]></category>
		<category><![CDATA[SEO URLs]]></category>
		<category><![CDATA[URL Rewrite]]></category>

		<guid isPermaLink="false">http://reencoded.com/?p=233</guid>
		<description><![CDATA[There are many reasons to use mod_rewrite to create informative, useful URLs for your website. Most dynamic websites use some form of PHP or ASP to pull the data from the database and often times use that data in the URL as a string. This is not only a potential security flaw, it also gives [...]]]></description>
			<content:encoded><![CDATA[<p>There are many reasons to use mod_rewrite to create informative, useful URLs for your website.  Most dynamic websites use some form of PHP or ASP to pull the data from the database and often times use that data in the URL as a string.  This is not only a potential security flaw, it also gives the user and search engine alike a very uninformative destination for your website.</p>
<p>Rather than have your page selling a baseball bat as http://www.mywebsite.com/product.php?id=32 that would take you to sales page for the bat, it makes much more sense to have that URL be http://www.mywebsite.com/bats/louisville-slugger-cobra.html.  While both of these URLs might take you to the same page, the user will know exactly what the page has on it when going through his history or if he emails it to himself or writes it down.<span id="more-233"></span></p>
<p>As for its affect on Search Engine Optimization, URL rewriting is a key component.  Not only do all major search engines take into account the keywords in the URL, it also creates totally unque URLs for all the pages on your site which will be much more likely to be mined by the search engines.  In addition, using SEO friendly URLs take all the &amp; and the = out of the URL which can trip up some search engines and peoples links, which could cause people who&#8217;d like to link to your article to be unable to because your URL strings mess with their outbound link code.</p>
<p>If those reasons aren&#8217;t enough, the security risk putting your variables and code for the world to see makes it much more likely for a front-end attack on your website.  They can see how you use naming conventions, what type of data is in your database, and could theoretically know that certain pages are inserting certain information using GETS.  All in all, it&#8217;s just bad form.</p>
<p>Enough about WHY you should use nice URLs, now here&#8217;s the basics on HOW!</p>
<p><strong></strong>First, we must create or edit the .htaccess file and starting it with the command <strong>RewriteEngine On</strong> in your web root.  This will turn the RewriteEngine on for your entire site.</p>
<p><strong></strong>We then Add Rewrite Rules.  There are many very basic rewrite rules and some very complex rewrite rules. Here&#8217;s the basics on how it works and a very basic example.</p>
<p class="code"><code> <strong><span class="searchword">Rewrite</span>Engine</strong> on<br />
<strong><span class="searchword">Rewrite</span>Rule</strong> <strong>^</strong>old\.html<strong>$</strong> new.html </code></p>
<p>Though this is the simplest example possible, it may throw a few people off. The structure of the ‘old’ <span class="searchword">URL</span> is the only difficult part in this <code><span class="searchword">Rewrite</span>Rule</code>. There are three special characters in there.</p>
<ul class="wellspaced">
<li>The caret, <code>^</code>, signifies the <strong>start of an <span class="searchword">URL</span></strong>, under the current directory. This directory is whatever directory the .htaccess file is in. You’ll start almost all matches with a caret.</li>
<li>The dollar sign, <code>$</code>, signifies the <strong>end of the string to be matched</strong>. You should add this in to stop your rules matching the first part of longer <span class="searchword">URL</span>s.</li>
<li>The period or dot before the file extension is a special character in regular expressions, and would mean something special if we didn’t <strong>escape it with the backslash</strong>, which tells Apache to treat it as a normal character.</li>
</ul>
<p>Basically, that rewrite rule will take old.html and take them instantly to new.html without them having to do anything.  While it&#8217;s never recommended to move pages, this is very helpful if you need to.</p>
<p>Sometimes you <em>do</em> want your readers to know a redirect has occurred, and can do this by forcing a new <abbr class="help" title="[ HyperText Transfer Protocol ] - The protocol designed for the Internet, to send webpages">HTTP</abbr> request for the new page. This will make the browser load up the new page as if it was the page originally requested, and the location bar will change to show the <span class="searchword">URL</span> of the new page. All you need to do is turn on the <code>[R]</code> flag, by appending it to the rule:</p>
<p class="code"><code> <strong><span class="searchword">Rewrite</span>Rule</strong> <strong>^</strong>old\.html<strong>$</strong> new.html <strong>[R]</strong></code></p>
<p class="code">This is especially useful if you want bookmarkers to start using the new page.  Also, this is a very important idea to remember as we go deeper into the mod_rewrite, as we will use the flagging to rewrite URLs using regular expressions.</p>
<p class="code">If you are a true coder, you have used Regular Expressions numerous times on many levels.  They are basically the meat of all coding, and they are very important in creating our SEO friendly URLs.  If you haven&#8217;t ever used Regular Experessions, this might not make a ton of sense, but you still should be able to find and use examples to help you solve even the most tricky URL rewrite solutions.</p>
<p class="code">Lets look at our above bat example.  We will first start very basic.</p>
<p class="code">So we have a script that when we use the URL http://www.mysite.com/products.php?id=32 it takes us to the ID 32, which happens to be our Louisville Slugger Cobra Bat.  We want to make that a little cleaner and safer.</p>
<p class="code"><code><strong><span class="searchword">Rewrite</span>Rule</strong> <strong>^</strong>products/([0-9][0-9])/<strong>$</strong> /product.php?id=$1 </code></p>
<p class="code">If we just add this one line of code under RewriteEngine On, it will now automatically take us to that page when we type www.mysite.com/products/32/.  This is the most basic of rewrite rules and should help you see how regular expressions can be used.</p>
<p>This will match any <span class="searchword">URL</span>s that start with ‘products/’, followed by any two digits, followed by a forward slash. For example, this rule will match an <span class="searchword">URL</span> like products/12/ or products/99/, and redirect it to the PHP page.</p>
<p>The parts in square brackets are called <em>ranges</em>. In this case we’re allowing anything in the range 0-9, which is any digit. Other ranges would be <code>[A-Z]</code>, which is any uppercase letter; <code>[a-z]</code>, any lowercase letter; and <code>[A-Za-z]</code>, any letter in either case.</p>
<p>Now, for a bit more complex example.</p>
<p>RewriteRule ^([_A-Za-z0-9-]+)/([_A-Za-z0-9-]+)/?$ /product.php?name=$2 [NC,L]</p>
<p>This code would add the category name with &#8211; between words, then a / then the product name with &#8211; between words, replacing spaces.  This one simple line turns www.mysite.com/products.php?name=bats+Louisville Slugger Cobra into http://www.mysite.com/bats/Louisville-Slugger-Cobra/.</p>
<p>You should be able to go through both the RewriteRule and the URLs and see how and why this works, especially using what we learned above about the special symbols.</p>
<p>Going through it quickly, the co</p>
<p>As a final example, I show you a quick error handling nugget.</p>
<p>ErrorDocument 404 /index.php</p>
<p>That will send any 404 errors to your index.php page, leaving the URL in tact.  If you add a [R] at the end, it will browser redirect them and take them to the index.php page.  This is true for all error codes.  This is a great way to keep all traffic, even if they mess something up!</p>
<p>There are tons of uses for rewrite rules and much that can be done to help create safe, secure, optimized websites that are helpful for the user at the same time!</p>
<script type="text/javascript">(function() {var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];s.type = 'text/javascript';s.async = true;s.src = 'http://widgets.digg.com/buttons.js';s1.parentNode.insertBefore(s, s1);})();</script><a href="http://digg.com/submit?url=http%3A%2F%2Fwww.reencoded.com%2F2008%2F08%2F10%2Fcreating-usable-search-engine-friendly-urls%2F"class="DiggThisButton DiggCompact"   rel="nofollow"></a>]]></content:encoded>
			<wfw:commentRss>http://www.reencoded.com/2008/08/10/creating-usable-search-engine-friendly-urls/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

