<?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>That Smith &#187; Advice</title>
	<atom:link href="http://thatsmith.com/category/advice/feed" rel="self" type="application/rss+xml" />
	<link>http://thatsmith.com</link>
	<description></description>
	<lastBuildDate>Fri, 02 Jul 2010 01:00:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<image>
  <link>http://thatsmith.com</link>
  <url>http://thatsmith.com/favicon.ico</url>
  <title>That Smith</title>
</image>
		<item>
		<title>Wichita Domain Names pt. 6</title>
		<link>http://thatsmith.com/2009/03/wichita-domain-names-pt-6</link>
		<comments>http://thatsmith.com/2009/03/wichita-domain-names-pt-6#comments</comments>
		<pubDate>Tue, 03 Mar 2009 16:12:36 +0000</pubDate>
		<dc:creator>Chad</dc:creator>
				<category><![CDATA[Available Domain Names]]></category>
		<category><![CDATA[internet marketing]]></category>
		<category><![CDATA[keyword optimization]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[small business]]></category>
		<category><![CDATA[wichita]]></category>

		<guid isPermaLink="false">http://thatsmith.com/?p=655</guid>
		<description><![CDATA[As many of you already know, a quality domain name can go a long way in bringing relevant traffic to your website, and a good local domain name is no different when your goal is to serve the local market. Up until this point, I have shared 125 available domain names from my list of [...]]]></description>
			<content:encoded><![CDATA[<p>As many of you already know, a <a title="Google Search" rel="nofollow" href="http://www.google.com/search?q=cider+beer&amp;pws=0">quality domain name</a> can go <a title="Google Search" rel="nofollow" href="http://www.google.com/search?q=old+laundry&amp;pws=0">a long way</a> in bringing <a title="Google Search" rel="nofollow" href="http://www.google.com/search?q=open+analytics&amp;pws=0">relevant traffic</a> to your website, and a <a title="Google Search" rel="nofollow" href="http://www.google.com/search?q=wichita+paper&amp;pws=0">good local domain name</a> is <a title="Google Search" rel="nofollow" href="http://www.google.com/search?q=wichita+coffee&amp;pws=0">no different</a> when your goal is to <a title="Google Search" rel="nofollow" href="http://www.google.com/search?q=wichita+blogs&amp;pws=0">serve the local market</a>.</p>
<p>Up until this point, I have shared 125 available domain names from my list of 300+ that are excellent candidates to be used by local small businesses. See  names <a href="/2008/08/available-wichita-domains/">1-25</a>, <a href="/2008/08/more-wichita-domains/">26-50</a>, <a href="/2008/09/25-more-wichita-domains/">51-75</a>, <a href="/2008/09/another-list-of-wichita-domains/">76-100</a>, and <a href="/2009/02/wichita-domain-names-pt-5/">100-125</a>. This list covers numbers 126-150.</p>
<p><img class="size-full wp-image-656" src="http://thatsmith.com/files/2009/03/wichita-domain-names-6.png" alt="Wichita Domain Names" width="291" height="601" /></p>
<p>If your small business is new to the local web, welcome.  You should know there are tons of good options out there for registering a .com, usually for around $7/yr, and countless places willing to host your website &#8211; ad free &#8211; starting around $4/month.  (Read: Don&#8217;t be suckered into high prices.)</p>
<p>If you have questions about registering a domain at the lowest cost, or setting one up for e-mail, <a title="Mktg Dept - Freelance Marketing &amp; SEO in Wichita, KS" href="http://mktgdept.com/">Mktg Dept</a> and a handful of other local webbies are always willing to meet over a cup of <a title="Wichita Coffee" href="http://wichitacoffee.com/">Wichita coffee</a>. <img src='http://thatsmith.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span style="color: #999999"><em>Disclaimer: Please do not register a Wichita domain name only to attempt to resell it. My studies show that most people in Wichita are NOT willing to pay extra for a name that is already taken.</em></span></p>
<hr />
<p><small>&copy; <a href="http://thatsmith.com">That Smith</a>, 2009. |
<a href="http://thatsmith.com/2009/03/wichita-domain-names-pt-6">Permalink</a> |
<a href="http://thatsmith.com/2009/03/wichita-domain-names-pt-6#comments">One comment</a><br/>
Post tags: <a href="http://thatsmith.com/tag/available-domain-names" rel="tag">Available Domain Names</a>, <a href="http://thatsmith.com/tag/internet-marketing" rel="tag">internet marketing</a>, <a href="http://thatsmith.com/tag/keyword-optimization" rel="tag">keyword optimization</a>, <a href="http://thatsmith.com/tag/seo" rel="tag">SEO</a>, <a href="http://thatsmith.com/tag/small-business" rel="tag">small business</a>, <a href="http://thatsmith.com/tag/wichita" rel="tag">wichita</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://thatsmith.com/2009/03/wichita-domain-names-pt-6/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Wichita Domain Names pt. 5</title>
		<link>http://thatsmith.com/2009/02/wichita-domain-names-pt-5</link>
		<comments>http://thatsmith.com/2009/02/wichita-domain-names-pt-5#comments</comments>
		<pubDate>Thu, 12 Feb 2009 05:42:01 +0000</pubDate>
		<dc:creator>Chad</dc:creator>
				<category><![CDATA[Available Domain Names]]></category>
		<category><![CDATA[internet marketing]]></category>
		<category><![CDATA[keyword optimization]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[small business]]></category>
		<category><![CDATA[wichita]]></category>

		<guid isPermaLink="false">http://thatsmith.com/?p=644</guid>
		<description><![CDATA[Several months ago I published a series of lists containing domain names (.com's) I felt would benefit local businesses.  100 names were shared in all from of a list I came up with late last Summer.]]></description>
			<content:encoded><![CDATA[<p>Several months ago I published a series of lists containing domain names (.com&#8217;s) I felt would benefit local businesses.  100 names were shared in all from of a list I came up with late last Summer.  Since then, many have been registered by local small businesses, but I stopped publishing them so I could focus on the <a title="That Smith Projects" href="http://thatsmith.com/category/projects/">other projects</a>.</p>
<p>I was recently reminded of the lists and someone asked that I share more, so here are Available Wichita Domains 101 &#8211; 125.</p>
<p>I ask that you only register one if you plan to use it.  Buying one in hopes of making a profit will just waste your time, because people in Wichita <strong>will not</strong> pay for a name that&#8217;s taken.  If you have questions about registering a domain at the lowest cost, or setting one up for e-mail, <a title="Mktg Dept - Freelance Marketing &amp; SEO in Wichita, KS" href="http://mktgdept.com/">Mktg Dept</a> is always willing to help.</p>
<p>If you find this list helpful, be sure to check available Wichita domains <a href="/2008/08/available-wichita-domains/">1-25</a>, <a href="/2008/08/more-wichita-domains/">26-50</a>, <a href="/2008/09/25-more-wichita-domains/">51-75</a>, and <a href="/2008/09/another-list-of-wichita-domains/">76-100</a> for more.</p>
<p><a href="http://thatsmith.com/files/2009/02/wichita-domains-5.png"><img class="size-full wp-image-645" src="http://thatsmith.com/files/2009/02/wichita-domains-5.png" alt="Wichita Domains Pt. 5" width="335" height="601" /></a></p>
<p>Let me know if you are looking for a particular domain name for Wichita, because I have a list of soon to be available names, and a few for sale as well.</p>
<hr />
<p><small>&copy; <a href="http://thatsmith.com">That Smith</a>, 2009. |
<a href="http://thatsmith.com/2009/02/wichita-domain-names-pt-5">Permalink</a> |
<a href="http://thatsmith.com/2009/02/wichita-domain-names-pt-5#comments">No comment</a><br/>
Post tags: <a href="http://thatsmith.com/tag/available-domain-names" rel="tag">Available Domain Names</a>, <a href="http://thatsmith.com/tag/internet-marketing" rel="tag">internet marketing</a>, <a href="http://thatsmith.com/tag/keyword-optimization" rel="tag">keyword optimization</a>, <a href="http://thatsmith.com/tag/seo" rel="tag">SEO</a>, <a href="http://thatsmith.com/tag/small-business" rel="tag">small business</a>, <a href="http://thatsmith.com/tag/wichita" rel="tag">wichita</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://thatsmith.com/2009/02/wichita-domain-names-pt-5/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to make a simple tracking image with PHP</title>
		<link>http://thatsmith.com/2008/11/how-to-make-tracking-images-with-php</link>
		<comments>http://thatsmith.com/2008/11/how-to-make-tracking-images-with-php#comments</comments>
		<pubDate>Mon, 24 Nov 2008 22:10:18 +0000</pubDate>
		<dc:creator>Chad</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Analytics]]></category>
		<category><![CDATA[hidden images]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[open source analytics]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SQLite]]></category>
		<category><![CDATA[tracking]]></category>

		<guid isPermaLink="false">http://thatsmith.com/?p=593</guid>
		<description><![CDATA[I have been doing a lot of tracking recently, whether it be in e-mails, on social networks, web sites, or even on message boards, and I figured I might as well share one of the methods I use to track visitors using as little code as possible. This tutorial will teach you how to track [...]]]></description>
			<content:encoded><![CDATA[<p>I have been doing a lot of tracking recently, whether it be in e-mails, on social networks, web sites, or even on message boards, and I figured I might as well share one of the methods I use to track visitors using as little code as possible.</p>
<p>This tutorial will teach you how to track visitors using simple PHP. If combined with JavaScript as done with <a title="Open Analytics" href="http://openanalytics.org/">Open Analytics</a> or an e-commerce platform as done on <a title="Drop Cart" href="http://dropcart.com/">Drop Cart</a>, you can track a whole lot more.</p>
<p><strong>Step 1: Figure out what you want to track</strong></p>
<p>[ ] IP Address<br />
[ ] City &amp; State<br />
[ ] Web Browser<br />
[ ] Operating System<br />
[ ] JavaScript Capabilities<br />
[ ] Cookie Capabilities<br />
[ ] Page Visited<br />
[ ] &#8230;</p>
<p><strong>Step 2: Figure out what your server can handle</strong></p>
<p>[ ] GD/GD2<br />
[ ] MySql<br />
[ ] SQLite<br />
[ ] Browscap</p>
<p>If you have GD installed:</p>
<blockquote><p>$im=imagecreatetruecolor(1,1);imagecolortransparent($im,imagecolorallocate($im,0,0,0));header(&#8216;Content-type: image/png&#8217;);imagepng($im);imagedestroy($im);</p></blockquote>
<p>Otherwise:</p>
<blockquote><p>header(&#8216;Content-type: image/png&#8217;);echo gzinflate(base64_decode(&#8217;6wzwc+flkuJiYGDg9fRwCQLSjCDMwQQkJ5QH3wNSbCVBfs<br />
EMYJC3jH0ikOLxdHEMqZiTnJCQAOSxMDB+E7cIBcl7uvq5rHNKaAIA&#8217;));</p></blockquote>
<p><strong>Step 3: Do the tracking</strong></p>
<blockquote><p>This part&#8217;s up to you. Decide how you want to save or send the data you track (MySQL,SQLite,E-Mail,Text Message) and do it.</p></blockquote>
<p>Here&#8217;s an example of how you might track e-mail receipts using a hidden image:</p>
<p>This method uses SQLite3 and PDO so they will have to be enabled in php.ini</p>
<p><strong>The .htaccess file:</strong></p>
<blockquote><p>RewriteEngine On<br />
RewriteBase /</p>
<p>RewriteRule ^([A-z0-9]{6})\.png$ /tracker.php?id=$1 [L]</p></blockquote>
<p><strong>The database:</strong></p>
<blockquote><p>CREATE TABLE &#8220;hits&#8221; (&#8220;id&#8221; TEXT, &#8220;ip&#8221; TEXT, &#8220;page&#8221; TEXT, &#8220;timestamp&#8221; INTEGER)</p></blockquote>
<p><strong>The PHP file:</strong></p>
<blockquote><p>&lt;?php<br />
header(&#8216;Content-type: image/png&#8217;);echo gzinflate(base64_decode(&#8217;6wzwc+flkuJiYGDg9fRwCQLSjCDMwQQkJ5QH3wNSbCVBfs<br />
EMYJC3jH0ikOLxdHEMqZiTnJCQAOSxMDB+E7cIBcl7uvq5rHNKaAIA&#8217;));<br />
$db=new PDO(&#8216;sqlite:&#8217;.dirname(dirname(__FILE__)).&#8217;/openanalytics.sqlite&#8217;);<br />
$db-&gt;prepare(&#8220;INSERT INTO hits (id,ip,page,timestamp) VALUES (?,?,?,?)&#8221;)-&gt;execute(array($_GET['id'],$_SERVER['REMOTE_ADDR'],<br />
$_SERVER['HTTP_REFERER'],time()));<br />
?&gt;</p></blockquote>
<p><strong>The e-mail:</strong></p>
<blockquote><p>Hi Mom!<br />
&lt;img src=&#8221;http://openanalytics.org/AbCd56.png&#8221; alt=&#8221;Open Analytics&#8221; height=&#8221;1&#8243; width=&#8221;1&#8243; /&gt;</p></blockquote>
<p>And there you have it.  A simple application that will tell you every time your mom opens your message.  Whenever you want to track a new message just make up a new 6 character filename and use the code again.</p>
<hr />
<p><small>&copy; <a href="http://thatsmith.com">That Smith</a>, 2008. |
<a href="http://thatsmith.com/2008/11/how-to-make-tracking-images-with-php">Permalink</a> |
<a href="http://thatsmith.com/2008/11/how-to-make-tracking-images-with-php#comments">5 comments</a><br/>
Post tags: <a href="http://thatsmith.com/tag/analytics" rel="tag">Analytics</a>, <a href="http://thatsmith.com/tag/hidden-images" rel="tag">hidden images</a>, <a href="http://thatsmith.com/tag/open-source" rel="tag">open source</a>, <a href="http://thatsmith.com/tag/open-source-analytics" rel="tag">open source analytics</a>, <a href="http://thatsmith.com/tag/php" rel="tag">PHP</a>, <a href="http://thatsmith.com/tag/sqlite" rel="tag">SQLite</a>, <a href="http://thatsmith.com/tag/tracking" rel="tag">tracking</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://thatsmith.com/2008/11/how-to-make-tracking-images-with-php/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Valuable SEO tips for WordPress</title>
		<link>http://thatsmith.com/2008/11/wordpress-seo-tips</link>
		<comments>http://thatsmith.com/2008/11/wordpress-seo-tips#comments</comments>
		<pubDate>Thu, 13 Nov 2008 19:43:22 +0000</pubDate>
		<dc:creator>Chad</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[robots.txt]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://thatsmith.com/?p=582</guid>
		<description><![CDATA[A few months back I came up with a list of important SEO tips for WordPress, but someone else beat me to the punch. I&#8217;ve been sitting on the list since, but decided to share it today because it&#8217;s obvious differences. Many of the tips are already well known, and can be found in one [...]]]></description>
			<content:encoded><![CDATA[<p>A few months back I came up with a list of important SEO tips for WordPress, but someone else beat me to the punch. I&#8217;ve been sitting on the list since, but decided to share it today because it&#8217;s obvious differences.</p>
<p>Many of the tips are already well known, and can be found in one form or another on copy-and-paste-job blogs, but I am going to go a step further and explain why each tip is important, and what would happen to your blog if you don&#8217;t follow it.</p>
<p>The common themes among today&#8217;s tips are the incorporation of keywords and stopping duplicate content.</p>
<h3>1) Allow Search Engines</h3>
<p>Allowing search engines into your blog is a no-brainer, but many people who are just starting with WordPress forget about this traffic blocker.  This is typically set when you install WordPress:</p>
<p><a href="http://thatsmith.com/files/2008/11/allow-search-engines.png"><img class="size-full wp-image-584" src="http://thatsmith.com/files/2008/11/allow-search-engines.png" alt="Allow Search Engines" width="460" height="227" /></a></p>
<p>And can be changed in the Privacy section of your WordPress settings:</p>
<p><a href="http://thatsmith.com/files/2008/11/privacy-settings.png"><img class="size-full wp-image-583" src="http://thatsmith.com/files/2008/11/privacy-settings.png" alt="Privacy Settings" width="500" height="117" /></a></p>
<p>If you do not allow them <strong>your site will not be listed in search engines</strong>.</p>
<h3>2) Customize Permalinks</h3>
<p>Permalinks is another word for the URL of your blog post. When you first set up WordPress these show up in the form of:</p>
<p>http://thatsmith.com/?p=582</p>
<p>Which doesn&#8217;t tell visitors much about the post. If you just installed WordPress, the second thing you should do is go to Permalinks under WordPress settings and change the structure of the permalinks to something friendlier:</p>
<p><a href="http://thatsmith.com/files/2008/11/change-permalinks.png"><img class="size-full wp-image-585" src="http://thatsmith.com/files/2008/11/change-permalinks.png" alt="Change Permalinks" width="500" height="133" /></a></p>
<p>This will give you addresses in the form of</p>
<p>http://thatsmith.com/2008/11/wordpress-seo-tips/</p>
<p>Which is better on the eye, includes keywords, and tells the visitor and potential visitor what the post is about. Not changing the structure of your permalinks won&#8217;t hurt you any (unless you follow tip #4), but it will not help your chances of increasing traffic either.</p>
<h3>3) Optimize your page titles</h3>
<p>The third thing you should do is edit your theme to optimize your page titles.  The default theme always places the title of your blog first, which is ok if you only care about ranking well for your blog name, but does nothing to help you rank for other terms.</p>
<blockquote><p>&lt;title&gt;&lt;?php bloginfo(&#8216;name&#8217;); ?&gt; &lt;?php if ( is_single() ) { ?&gt; &amp;raquo; Blog Archive &lt;?php } ?&gt; &lt;?php wp_title(); ?&gt;&lt;/title&gt;</p></blockquote>
<ul>
<li>WordPress Blog</li>
<li>WordPress Blog » Blog Archive » Hello world!</li>
<li>WordPress Blog » About</li>
</ul>
<p>Change the title of all your pages in one fell swoop by replacing the title above in header.php with:</p>
<blockquote><p>&lt;title&gt;&lt;?php wp_title(&#8221;); if ( is_home() ) { bloginfo(&#8216;name&#8217;); ?&gt; &#8211; &lt;?php bloginfo(&#8216;description&#8217;); } if (is_archive()) { ?&gt; archive&lt;?php } elseif (is_search()) { ?&gt; Search for &lt;?php echo $s; } if ( !(is_404()) &amp;&amp; (is_search()) or (is_single()) or (is_page()) or (function_exists(&#8216;is_tag&#8217;) and is_tag()) or (is_archive()) ) { if (!(is_page())) { ?&gt; -&lt;?php } ?&gt; &lt;?php bloginfo(&#8216;name&#8217;); } ?&gt;&lt;/title&gt;</p></blockquote>
<p>Your page titles will now appear as:</p>
<ul>
<li>WordPress Blog &#8211; Just another WordPress weblog</li>
<li>Hello world! &#8211; WordPress Blog</li>
<li>About WordPress Blog</li>
</ul>
<h3>4) Optimize your robots.txt</h3>
<p>WordPress doesn&#8217;t ship with a robots.txt file.  The reason we want one is to eliminate duplicate content in search engines.  If you don&#8217;t know what duplciate content is or why it&#8217;s bad, look it up.  In short, duplicate content is when your post shows up in more than one place.</p>
<p>If I post &#8220;Hello World&#8221;, that post is visible on the index, under /2008/11/hello-world/, /category/uncategoried/, /2008/, /2008/11/, /tag/hello-world/ (if set), plus not to mention /?p=1, /?cat=1, and so on.  This means my one post has to compete with itself in search engines <em>at least</em> 5 times unless I do something about it.  This is where robots.txt and meta tags come in.</p>
<p>Create a new file in Notepad named robots.txt and paste the following:</p>
<blockquote><p>User-agent: *<br />
Disallow: /cgi-bin<br />
Disallow: /wp-admin<br />
Disallow: /wp-includes<br />
Disallow: /wp-content/mu-plugins<br />
Disallow: /wp-content/plugins<br />
Disallow: /wp-content/cache<br />
Disallow: /wp-content/themes<br />
Disallow: /trackback<br />
Disallow: /feed<br />
Disallow: /comments<br />
Disallow: /category/*/*<br />
Disallow: /tag/*/*<br />
Disallow: */trackback<br />
Disallow: */feed<br />
Disallow: */comments<br />
Disallow: /*?*<br />
Disallow: /*?<br />
Allow: /wp-content/uploads<br />
Allow: /files</p>
<p># Google Image<br />
User-agent: Googlebot-Image<br />
Disallow:<br />
Allow: /*</p>
<p># Google AdSense<br />
User-agent: Mediapartners-Google*<br />
Disallow:<br />
Allow: /*</p>
<p># Internet Archiver Wayback Machine<br />
User-agent: ia_archiver<br />
Disallow: /</p>
<p># digg mirror<br />
User-agent: duggmirror<br />
Disallow: /</p></blockquote>
<p>Now, upload it so it&#8217;s visible at yourdomain.com/robots.txt</p>
<p>This file tells search engines <strong>do not index</strong> addresses in the form of above.  If you did not change your permalinks in Tip 2 then <strong>everything</strong> is blocked by <em>Disallow: /*?*</em>, so you should probably go change them now.</p>
<p><a href="http://thatsmith.com/files/2008/11/check-robots-txt.png"><img class="size-full wp-image-586" src="http://thatsmith.com/files/2008/11/check-robots-txt.png" alt="Check robots.txt" width="500" height="148" /></a></p>
<p>Again to express the importance of robots.txt, if you write a post about something you really want to rank for, such as &#8220;WordPress SEO tips&#8221;, <strong>you will not rank well if you do not follow this tip</strong> because your one post is visible and will be indexed at more than one address.</p>
<h3>5) Add robot meta tags</h3>
<p>Robots.txt files are good because they tell search engines not to look at those pages, but as you see in the picture above, they do not block everything.  Pages such as /2008/, /2008/11/, /page/2/, /search/hello-world/, and so on are still crawled and indexed.  This is where Meta Tags come in.</p>
<p>Just before &lt;/head&gt; in your header.php file add:</p>
<blockquote><p>&lt;?php if((is_single()||is_page()||(is_home()&amp;&amp;!is_paged()))&amp;&amp;!is_attachment()) { ?&gt;<br />
&lt;meta name=&#8221;googlebot&#8221; content=&#8221;index,follow&#8221; /&gt;<br />
&lt;meta name=&#8221;robots&#8221; content=&#8221;all,index,follow&#8221; /&gt;<br />
&lt;meta name=&#8221;msnbot&#8221; content=&#8221;all,index,follow&#8221; /&gt;<br />
&lt;?php } else { ?&gt;<br />
&lt;meta name=&#8221;googlebot&#8221; content=&#8221;noindex,noarchive,follow&#8221; /&gt;<br />
&lt;meta name=&#8221;robots&#8221; content=&#8221;noindex,follow&#8221; /&gt;<br />
&lt;meta name=&#8221;msnbot&#8221; content=&#8221;noindex,follow&#8221; /&gt;<br />
&lt;?php } ?&gt;</p></blockquote>
<p>This is similar to what&#8217;s been posted on other WordPress SEO tips, but has two important differences.</p>
<p>First, attachment pages are no longer indexed.  This is important because if you have a keyword-rich post at /wordpress-seo-tips/ and a popular attachment, you do not want /wordpress-seo-tips/attachment-page/ competing with your post.</p>
<p>I forgot about the attachment pages when I posted my <a href="http://thatsmith.com/2008/06/grandcentral-addon-for-firefox/">GrandCentral Firefox Addon</a> and ended up getting a large chunk of traffic directly to <a href="http://thatsmith.com/2008/06/grandcentral-addon-for-firefox/grandcentral-firefox-addon/">one of the images</a>.</p>
<p>Second, index pages (/page/2/, /page/3/, &#8230;) are not indexed.  This reduces the amount of duplicate content even further.</p>
<h3>6) Plan your post titles</h3>
<p>When writing quality content, or just simply rambling, a well formed post title can go a long way.  The post title ends up being both a header tag in the page and the page title, which is what shows up to possible visitors in search engines.</p>
<p>Use descriptive titles that include strong keywords, but also keep it short so potential visitors will take time to read it.  Problogger has always done a good job of providing tips on <a href="http://www.problogger.net/archives/2008/08/20/how-to-craft-post-titles-that-draw-readers-into-your-blog/">how to write good post titles</a> as well as a <a href="http://www.problogger.net/archives/2008/08/24/show-off-your-title-creation-skills-rework-these-post-headlines/">workshop</a>. When I write post titles and page slugs I also try to put myself in the shoes of potential visitors and think about what they might search for.  This technique hasn&#8217;t failed me yet.</p>
<h3>7) Don&#8217;t skip the slugs</h3>
<p>Page slugs are equally as important as a good page title. As we all know, there are 2-3 parts that make up every search result in Google. 1) the page title, 2) the meta description or page snipplet (optional), and 3) the page URL.</p>
<p><a href="http://thatsmith.com/files/2008/11/page-slug.png"><img class="size-full wp-image-587" src="http://thatsmith.com/files/2008/11/page-slug.png" alt="Page Slug" width="500" height="65" /></a></p>
<p>This image reminds me I should probably set a META description for my <a href="http://thatsmith.com/2008/09/javascript-seo-mistakes/">JavaScript SEO tips</a> post.</p>
<p>The page slug is used to set the address of the page and is also seen in search engines.  This gives you a second chance to assign keywords to your posts, and again should be descriprive of what the page contains.  I typically use my second choice for the page title as my page slug.</p>
<h3>Bonus Tips:</h3>
<p><strong> <img src='http://thatsmith.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> Use the <a href="http://wordpress.org/extend/plugins/all-in-one-seo-pack/">All in One SEO Pack</a> to generate meta keywords and descriptions</strong></p>
<p><strong>9) Use the <a href="http://wordpress.org/extend/plugins/google-sitemap-generator/">Sitemap Generator plugin</a> to create a sitemap</strong></p>
<p><strong>10) Optimize your image filenames</strong></p>
<p>On <a href="http://beerdad.com/">BEER dad</a> I get a <strong>ton</strong> of traffic because the images in my posts. A lot of it comes from carefully selecting alt descriptions, but the bulk is because I always give good-descriptive-names-to-each.jpg. Image filenames are just like page slugs and should be given careful consideration because they also show up as part of the search result.</p>
<hr />
<p><small>&copy; <a href="http://thatsmith.com">That Smith</a>, 2008. |
<a href="http://thatsmith.com/2008/11/wordpress-seo-tips">Permalink</a> |
<a href="http://thatsmith.com/2008/11/wordpress-seo-tips#comments">One comment</a><br/>
Post tags: <a href="http://thatsmith.com/tag/advice" rel="tag">Advice</a>, <a href="http://thatsmith.com/tag/robotstxt" rel="tag">robots.txt</a>, <a href="http://thatsmith.com/tag/seo" rel="tag">SEO</a>, <a href="http://thatsmith.com/tag/tips" rel="tag">tips</a>, <a href="http://thatsmith.com/tag/wordpress" rel="tag">Wordpress</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://thatsmith.com/2008/11/wordpress-seo-tips/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to switch an existing site to friendly URLs</title>
		<link>http://thatsmith.com/2008/10/search-friendly-urls</link>
		<comments>http://thatsmith.com/2008/10/search-friendly-urls#comments</comments>
		<pubDate>Sat, 04 Oct 2008 02:02:05 +0000</pubDate>
		<dc:creator>Chad</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[friendly URL's]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://thatsmith.com/?p=572</guid>
		<description><![CDATA[Update: In mid 2009 I made a free service to do this for you. Check out SearchFriendlyURLs.com. About a month ago I had the privilege of getting to switch a client&#8217;s existing site of 500+ nasty looking .cfm&#8217;s to 510 prettier, search engine friendly URLs. The real trick was doing so while still keeping their [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update:</strong> In mid 2009 I made a free service to do this for you. Check out <a title="Search Friendly URLs" href="http://searchfriendlyurls.com/">SearchFriendlyURLs.com</a>.</p>
<p>About a month ago I had the privilege of getting to switch a client&#8217;s existing site of 500+ nasty looking .cfm&#8217;s to 510 prettier, search engine friendly URLs.</p>
<p>The real trick was doing so while still keeping their current ranks in tact, because their existing pages already ranked well in search engines and had a ton of incoming links.  I also wasn&#8217;t being paid to rewrite each and every page.</p>
<p>There are plenty of tutorials available that explain how make pages with search friendly URLs, but from what I found not one covered how to do it if you do not want to change your existing pages.</p>
<p>This tutorial covers a trick I learned that will allow you to permanently redirect your old URLs to new, friendlier ones, and have those still load the same existing file at the old, ugly URL.</p>
<p>Essentially what this tutorial does is show you how to:</p>
<ol>
<li>Make your existing URLs permanently redirect to new search friendly URLs</li>
<li>Make each new pretty URL redirect back to the same ugly URL page</li>
<li>Make each page load&#8230; keeping the new friendly URL</li>
</ol>
<p>It&#8217;s not hard to make a new site with search engine friendly URLs, because with new sites the ugly URLs that run the pages are never seen.  Therefore you don&#8217;t have to worry about what happens when someone types one in.  Because of this, it&#8217;s a good idea to always start a new site with pretty URLs.</p>
<p>With existing sites however, it&#8217;s important to make sure all URLs are accounted for, otherwise the ranks you had on the old URLs will be lost and you will be penalized for duplicate content.</p>
<p>What you have to do in this case is tell the old URLs to point to the new URLs, and then the new URLs where the file is that needs to be loaded.  If your old URL also happens to be the name of the file (as was the case with this client) you are typically out of luck and have to rename all of the files (unless you know me).</p>
<p>Here is an example of my trick:</p>
<blockquote>
<pre>RewriteEngine On
RewriteBase /

# Force no-www preference
RewriteCond %{HTTP_HOST} !^thatsmith\.com$
RewriteRule ^(.*) http://thatsmith.com/$1 [R=301,L]

# Force www preference
#RewriteCond %{HTTP_HOST} !^www\.thatsmith\.com$
#RewriteRule ^(.*) http://www.thatsmith.com/$1 [R=301,L]

# Fix never-ending redirects
RewriteCond %{ENV:REDIRECT_STATUS} 200
RewriteRule .* - [L]

# Make the ugly addresses look pretty
RewriteRule ^index\.html$ / [R=301,L]
RewriteRule ^ugly\.html$ /pretty/ [R=301,L]

# Make the dynamic addresses pretty too
RewriteCond %{QUERY_STRING} ^id=1$
RewriteRule ^products\.php$ /wheat-beer/? [R=301,L]
RewriteCond %{QUERY_STRING} ^id=2$
RewriteRule ^products\.php$ /coffee-beer/? [R=301,L]
RewriteCond %{QUERY_STRING} ^id=3$
RewriteRule ^products\.php$ /beer/seasonal/? [R=301,L]

# Make the pretty addresses load the same content
RewriteRule ^pretty/$ /ugly.html [L]
RewriteRule ^wheat-beer/$ /products.php?id=1 [L]
RewriteRule ^coffee-beer/$ /products.php?id=2 [L]
RewriteRule ^beer/seasonal/$ /products.php?id=3 [L]

# Add the trailing slash if missing
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+[^/])$ /$1/ [R=301,L]</pre>
</blockquote>
<p>There&#8217;s a lot of money in SEO and being able to quickly give existing sites search friendly URLs. Because of this I&#8217;m not going to go into great detail of how the .htaccess file works, but I will point out the important parts.  I will leave learning mod_rewrite and regular expressions as well as unpaid troubleshooting up to you.</p>
<p>If you know what a .htaccess file does then you will recognize that the top of it turns the Apache rewrite engine on and declares the base directory.  The second and third part is strictly for good SEO and forces either yourdomain.com or www.yourdomain.com.  All SEO&#8217;s should know that under no circumstance should the same content load at more than one address.</p>
<p>The fourth section is what keeps the script from never-ending redirects.  Without this block telling the server to stop redirecting, your server will keep redirecting from old URL to new to old and so on. Firefox will eventually give you the &#8220;redirecting in a way that will never complete&#8221; error if you forget this step.</p>
<p>Fifth, the old static pages are permanently redirect to the new friendly URLs, and sixth, the dynamic pages are as well.  These will need to be tweaked when passing more than one parameter.</p>
<p>Seventh, the server is told to go back to the file at the ugly URL to load the content, but no redirect header is sent so the address will not change.  Then finally the server is told to add the trailing slash if someone forgot to type it in.</p>
<p>My <a title="Friendly URLs demonstration" href="http://demos.mktgdept.com/friendly-urls/index.html">friendly URLs demonstration</a> contains this .htaccess file to show this method actually works.  Notice the links are all in the form of the older URL&#8217;s but when visited or indexed they will show the pretty URLs.</p>
<p>By switching the URLs of my client&#8217;s site to ones containing relevant keywords I was able to move them several places in search engines for nearly all their products. They now have a PR 5 although there is still a lot more that can be done to their site.</p>
<hr />
<p><small>&copy; <a href="http://thatsmith.com">That Smith</a>, 2008. |
<a href="http://thatsmith.com/2008/10/search-friendly-urls">Permalink</a> |
<a href="http://thatsmith.com/2008/10/search-friendly-urls#comments">3 comments</a><br/>
Post tags: <a href="http://thatsmith.com/tag/advice" rel="tag">Advice</a>, <a href="http://thatsmith.com/tag/friendly-urls" rel="tag">friendly URL's</a>, <a href="http://thatsmith.com/tag/mod_rewrite" rel="tag">mod_rewrite</a>, <a href="http://thatsmith.com/tag/seo" rel="tag">SEO</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://thatsmith.com/2008/10/search-friendly-urls/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Dynamically Load and Run JavaScript from JavaScript</title>
		<link>http://thatsmith.com/2008/09/dynamically-load-javascript</link>
		<comments>http://thatsmith.com/2008/09/dynamically-load-javascript#comments</comments>
		<pubDate>Thu, 25 Sep 2008 03:06:26 +0000</pubDate>
		<dc:creator>Chad</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[how to's]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://thatsmith.com/?p=559</guid>
		<description><![CDATA[How to load and run additional external JavaScripts from one JavaScript file.]]></description>
			<content:encoded><![CDATA[<p>I usually only post How-to&#8217;s after I find a way to do something that has been vexing me for a while.  This is another one of those tutorials.</p>
<p>Recently I was working on a new web service that requires users to add a line of JavaScript to their website, and from there the service loads all the other necessary files and automatically does its thing after the page loads.</p>
<p>The problem I ran into was I wanted to make it so I only have to give them <em>one</em> line of code, and so it would run automatically <em>withou</em>t any click or action on their part. Essentially, I needed one script that would both load the other scripts <em>and</em> run them automatically once everything was ready.</p>
<p>If you know anything about JavaScript, then you have probably already found that this is near impossible.  Reason being, you can do one or the other from a single block of JavaScript, but not both.  Browsers also act differently, so one method doesn&#8217;t always work on all browsers.</p>
<p>For example, let&#8217;s say we want to load jQuery and then use it to show a hidden element.  To do this normally we would use:</p>
<blockquote><p>&lt;script type=&#8221;text/javascript&#8221; src=&#8221;http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js&#8221;&gt;&lt;/script&gt;</p></blockquote>
<p>Followed by:</p>
<blockquote><p>&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
$(&#8220;#showme&#8221;).show();<br />
&lt;/script&gt;</p></blockquote>
<p>Of course this means we have to add more than one line of code.  What I wanted was more along the lines of:</p>
<blockquote><p>&lt;script type=&#8221;text/javascript&#8221; src=&#8221;http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js&#8221;&gt;&lt;/script&gt;<br />
&lt;script type=&#8221;text/javascript&#8221; src=&#8221;run.js&#8221;&gt;&lt;/script&gt;</p></blockquote>
<p>Except in a single block of script.</p>
<p>I will save you the trouble of explaining the trials and errors I went through and why external JavaScript libraries cannot be loaded and run from a single script block, and will instead show you the <strong>cross-browser solution</strong> I came up to make:</p>
<blockquote><p>&lt;script type=&#8221;text/javascript&#8221; src=&#8221;init.js&#8221;&gt;&lt;/script&gt;</p></blockquote>
<p>Dynamically load multiple external scripts and then run them once everything is ready, without onload, onclick, or another unwanted method after the page loads.</p>
<p>You can see a demonstration of my solution at <a title="Dynamically Load and Run JavaScript Demonstration" href="http://demos.mktgdept.com/load-javascript-from-javascript/">Dynamically Load and Run JavaScript Demonstration</a>.</p>
<p>My solution is to call the above line of script which contains:</p>
<blockquote><p>var scripts=[];<br />
scripts.push(&#8216;http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js&#8217;);<br />
scripts.push(&#8216;jquery-thickbox.js&#8217;);<br />
scripts.push(&#8216;run.js&#8217;);<br />
for(src in scripts)<br />
document.writeln(&#8216;&lt;scri&#8217;+'pt src=&#8221;&#8216;+scripts[src]+&#8217;&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/sc&#8217;+'ript&gt;&#8217;)</p></blockquote>
<p>Or the minified version:</p>
<blockquote><p>(function(scripts,src){for(src in scripts)document.writeln(&#8216;&lt;scri&#8217;+'pt src=&#8221;&#8216;+scripts[src]+&#8217;&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/sc&#8217;+'ript&gt;&#8217;)})(['http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js','jquery-thickbox.js','run.js']);</p></blockquote>
<p>What this does is add three new script elements to the document while the page loads, each able to call functions declared in those before it because it&#8217;s inside a seperate &lt;script&gt; block.</p>
<p>This solution has been tested in various versions of Firefox, Opera, and Internet Explorer, and has been updated to work with Chrome and Safari as well.</p>
<p>My older version which relied on document.createElement occasionally failed in Webkit because the browser continued to run embedded scripts before those dynamically added in DOM.  This update should work better. <img src='http://thatsmith.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Feel free to use either version above to dynamically load additional external scripts from one javascript file.</p>
<hr />
<p><small>&copy; <a href="http://thatsmith.com">That Smith</a>, 2008. |
<a href="http://thatsmith.com/2008/09/dynamically-load-javascript">Permalink</a> |
<a href="http://thatsmith.com/2008/09/dynamically-load-javascript#comments">2 comments</a><br/>
Post tags: <a href="http://thatsmith.com/tag/how-tos" rel="tag">how to's</a>, <a href="http://thatsmith.com/tag/javascript" rel="tag">JavaScript</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://thatsmith.com/2008/09/dynamically-load-javascript/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to change your birthday on the NEW Facebook</title>
		<link>http://thatsmith.com/2008/09/how-to-change-your-birthday-on-the-new-facebook</link>
		<comments>http://thatsmith.com/2008/09/how-to-change-your-birthday-on-the-new-facebook#comments</comments>
		<pubDate>Tue, 23 Sep 2008 02:08:47 +0000</pubDate>
		<dc:creator>Chad</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[how to change your birthday on facebook]]></category>
		<category><![CDATA[how to's]]></category>

		<guid isPermaLink="false">http://thatsmith.com/?p=544</guid>
		<description><![CDATA[This is an update to my old post which still get&#8217;s tons of traffic. Lots of dumb people can&#8217;t figure this birthday thing out I guess. Here&#8217;s a nice animation to show you how to change your birthday on the NEW Facebook. Directions for the visually impaired: Click Profile to go to your profile. Click [...]]]></description>
			<content:encoded><![CDATA[<p>This is an update to my <a title="How to change your birthday on Facebook" href="http://thatsmith.com/2007/09/how-to-change-your-birthday-on-facebook/">old post</a> which still get&#8217;s tons of traffic.  Lots of <span style="text-decoration: line-through">dumb</span> people can&#8217;t figure this birthday thing out I guess.  Here&#8217;s a nice animation to show you how to change your birthday on the NEW Facebook.</p>
<p><img class="size-full wp-image-542" src="http://thatsmith.com/files/2008/09/new-facebook.gif" alt="How to change your birthday on the new facebook" width="600" height="485" /></p>
<p><strong>Directions for the visually impaired:</strong></p>
<ol>
<li>Click <strong>Profile </strong>to go to your profile.</li>
<li>Click the <strong>Info </strong>tab.</li>
<li>Click the Edit button which appears when you hover <strong>Basic Information</strong>.</li>
<li><strong>Change your birthday</strong>.</li>
<li>Press <strong>Save</strong>.</li>
</ol>
<hr />
<p><small>&copy; <a href="http://thatsmith.com">That Smith</a>, 2008. |
<a href="http://thatsmith.com/2008/09/how-to-change-your-birthday-on-the-new-facebook">Permalink</a> |
<a href="http://thatsmith.com/2008/09/how-to-change-your-birthday-on-the-new-facebook#comments">15 comments</a><br/>
Post tags: <a href="http://thatsmith.com/tag/how-to-change-your-birthday-on-facebook" rel="tag">how to change your birthday on facebook</a>, <a href="http://thatsmith.com/tag/how-tos" rel="tag">how to's</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://thatsmith.com/2008/09/how-to-change-your-birthday-on-the-new-facebook/feed</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Available Wichita Domains (76 &#8211; 100)</title>
		<link>http://thatsmith.com/2008/09/another-list-of-wichita-domains</link>
		<comments>http://thatsmith.com/2008/09/another-list-of-wichita-domains#comments</comments>
		<pubDate>Thu, 18 Sep 2008 22:13:21 +0000</pubDate>
		<dc:creator>Chad</dc:creator>
				<category><![CDATA[Available Domain Names]]></category>
		<category><![CDATA[internet marketing]]></category>
		<category><![CDATA[keyword optimization]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[small business]]></category>
		<category><![CDATA[wichita]]></category>

		<guid isPermaLink="false">http://thatsmith.com/?p=535</guid>
		<description><![CDATA[Over the past month I have been sharing my list of available domain names for Wichita. This is the 4th installment of the list, which covers available domains perfect for small businesses and entrepreneurs in Wichita. This list covers domain names 76 &#8211; 100 of 300. If you find this list helpful, also be sure [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past month I have been sharing my list of available domain names for Wichita.  This is the 4th installment of the list, which covers available domains perfect for small businesses and entrepreneurs in Wichita.</p>
<p>This list covers domain names 76 &#8211; 100 of 300.  If you find this list helpful, also be sure to check available Wichita domains <a href="http://thatsmith.com/2008/08/available-wichita-domains/">1-25</a>, <a href="http://thatsmith.com/2008/08/more-wichita-domains/">26-50</a>, and <a href="http://thatsmith.com/2008/09/25-more-wichita-domains/">51-75</a>.</p>
<p>Each of these domains were available at the time of writing this list and can be purchased for $6.95 / year from GoDaddy using the promo code <em>OYH3</em>.</p>
<p>As always, I urge you to only register these domains if you or someone you know will use them, because regional domains such as these have essentially no resell value.  Buying them in hopes of becoming rich is pointless.</p>
<p>I also ask that you do not repost these lists without my consent.</p>
<p><img class="size-full wp-image-536" src="http://thatsmith.com/files/2008/09/more-wichita-domains.png" alt="More Wichita Domains" width="337" height="581" /></p>
<p><strong>SEO Tip:</strong></p>
<p>Each of my lists also includes a free SEO tip.  I promised this one would be less technical, and it is.</p>
<p>As you know, the goal of search engine optimization is to give your site the best ranking possible in search engines in hopes of bringing in more traffic and therefore more revenue.</p>
<p>One of the most important things that goes into search engine rankings, and sometimes the only thing running through the mind of a potential visitor, is the title of the page they are about to click.</p>
<p>The title of your page is what search engines use as the link potential visitors see when searching.  If your title is not descriptive or irrelevant you will have a hard time ranking in search engines, and if it&#8217;s misleading or poorly worded potential visitors may be weary of clicking.</p>
<p>A good rule of thumb is to <strong>use the title of your page (or blog post) to describe your content</strong>, using keywords you feel visitors will understand and potentially use when searching for your content.  There is no set formula one should use when coming up with a good page name, my point is to simply consider it when writing your content.</p>
<p>If your pages currently have titles such as &#8220;HOME&#8221;, &#8220;PRODUCTS&#8221;, &#8220;CONTACT&#8221;, &#8220;LINKS&#8221;, and &#8220;ABOUT&#8221;, try changing them to something more descriptive and see how it effects your search traffic.</p>
<p>Another thing to consider when titling your pages is <strong>where you place your site or company name</strong>.  A lot of small businesses tend to place their company name or website address first, before the page title.  This is good if you care more about ranking for your company name than the content of each page, but usually this is not the case.</p>
<p>A well known company will have no problem ranking for their own name.</p>
<p>Instead of titling your page, for <strong>example:</strong> That Smith &#8211; Available Domain Names, change it around so potential visitors see what the page is about first. <strong>Optimized example:</strong> Available Wichita Domains at That Smith.  This will also help your rankings in cases where the full title of the page is not displayed.</p>
<p>Carefully choosing your page titles along with the placement of keywords and your site name can go a long way when optimizing your website, but there are plenty of other things to consider.</p>
<p>For further information on optimizing your small business website, wait until the next installment of my list or <a href="mailto:&#x63;&#104;&#x61;&#100;&#64;&#119;&#105;&#x63;&#x68;&#x69;&#116;&#97;&#x2e;&#x63;&#x63;">contact me</a> and ask about my SEO qualifications.</p>
<hr />
<p><small>&copy; <a href="http://thatsmith.com">That Smith</a>, 2008. |
<a href="http://thatsmith.com/2008/09/another-list-of-wichita-domains">Permalink</a> |
<a href="http://thatsmith.com/2008/09/another-list-of-wichita-domains#comments">No comment</a><br/>
Post tags: <a href="http://thatsmith.com/tag/available-domain-names" rel="tag">Available Domain Names</a>, <a href="http://thatsmith.com/tag/internet-marketing" rel="tag">internet marketing</a>, <a href="http://thatsmith.com/tag/keyword-optimization" rel="tag">keyword optimization</a>, <a href="http://thatsmith.com/tag/seo" rel="tag">SEO</a>, <a href="http://thatsmith.com/tag/small-business" rel="tag">small business</a>, <a href="http://thatsmith.com/tag/wichita" rel="tag">wichita</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://thatsmith.com/2008/09/another-list-of-wichita-domains/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Common SEO mistakes when writing JavaScript</title>
		<link>http://thatsmith.com/2008/09/javascript-seo-mistakes</link>
		<comments>http://thatsmith.com/2008/09/javascript-seo-mistakes#comments</comments>
		<pubDate>Wed, 17 Sep 2008 22:05:17 +0000</pubDate>
		<dc:creator>Chad</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://thatsmith.com/?p=526</guid>
		<description><![CDATA[A lot of companies I have been working with are not necessarily ones you think would have huge internet marketing budgets, and many don&#8217;t. However SEO is equally important for them, if not more important than a bigger company or one in a larger industry. The other day I was working on a client&#8217;s page [...]]]></description>
			<content:encoded><![CDATA[<p>A lot of companies I have been working with are not necessarily ones you think would have huge internet marketing budgets, and many don&#8217;t. However SEO is equally important for them, if not more important than a bigger company or one in a larger industry.</p>
<p>The other day I was working on a client&#8217;s page to bring them into the 21st century by redirecting their existing URLs to SEO friendly ones, and in doing so I had to update much of the source written by their designer to make their relative URLs actually work (&#8216;page.cfm&#8217; -&gt; &#8216;/page.cfm&#8217;).</p>
<p>This particular project didn&#8217;t require doing anything more than updating the addresses, but while glancing at his JavaScript I noticed several mistakes he made that went against the optimization of the page. Lucky for me this usually means more work.</p>
<p>My experience tells me the majority people who work(ed) on my clients&#8217; sites know nothing about SEO and little about JavaScript.  The older the page the more mistakes I find. The following are common SEO mistakes unfamiliar people make when writing JavaScript.</p>
<h3>Making a popup</h3>
<p><strong>Code used:</strong></p>
<blockquote><p>&lt;a href=&#8221;#&#8221; onClick=&#8221;popUp(&#8230;);&#8221;&gt;&#8230;&lt;/a&gt;<br />
&lt;a href=&#8221;js:popUp(&#8230;);&#8221;&gt;&#8230;&lt;/a&gt;<br />
&lt;img src=&#8221;thumbnail.jpg&#8221; onClick=&#8221;showImage(&#8230;);&#8221;&gt;</p></blockquote>
<p><strong>Mistake:</strong></p>
<p>The SEO problem with the above samples of code is that nothing useful is given to search engines when they crawl the page.</p>
<p>popUp() and ShowImage() are functions defined elsewhere in the page, but where the SEO comes in is the link. Robots don&#8217;t read JavaScript, and none of the lines above tell the search engine what is being loaded. Therefore the popped up page or image is never indexed.</p>
<p><strong>This is what could be done to solve this:</strong></p>
<blockquote><p>&lt;a href=&#8221;/page-to-be-popped-up&#8221; onClick=&#8221;popUp(&#8230;); return false;&#8221;&gt;&#8230;&lt;/a&gt;<br />
&lt;a href=&#8221;/page-to-be-popped-up&#8221; onClick=&#8221;popUp(&#8230;); return false;&#8221;&gt;&#8230;&lt;/a&gt;<br />
&lt;a href=&#8221;/fullsize-image.jpg&#8221; onClick=&#8221;showImage(&#8230;); return false;&#8221;&gt;&lt;img src=&#8221;/thumbnail.jpg&#8221; alt=&#8221;&#8230;&#8221; /&gt;&lt;/a&gt;</p></blockquote>
<p>Robots completely ignore the onClick portion which makes the first set of examples useless, however by adding a link to the item popped up we make it so robots and visitors that block JavaScript still end up where we want them.</p>
<p>Adding return false; makes it so the actual link isn&#8217;t loaded for everyone else.</p>
<p><strong>A simple function I have used is:</strong></p>
<blockquote><p>&lt;script tyle=&#8221;text/javascript&#8221;&gt;<br />
function popUp(el) {<br />
window.open(el.href);<br />
return false;<br />
};<br />
&lt;/script&gt;</p>
<p>&lt;a href=&#8221;/page-to-be-popped-up&#8221; onClick=&#8221;popUp(this);&#8221;&gt;&#8230;&lt;/a&gt;</p></blockquote>
<p>This ensures my link or image is still loaded and indexed when JavaScript is blocked.</p>
<h3>Navigation</h3>
<p><strong>Code used:</strong></p>
<blockquote><p>&lt;a href=&#8221;#&#8221; onClick=&#8221;jumpTo(&#8216;&#8230;&#8217;);&#8221;&gt;&#8230;&lt;/a&gt;<br />
&lt;a href=&#8221;js:location.href=&#8217;&#8230;&#8217;;&#8221;&gt;&#8230;&lt;/a&gt;<br />
&lt;img src=&#8221;&#8230;&#8221; onClick=&#8221;location.href=&#8217;&#8230;&#8217;;&#8221;&gt;</p></blockquote>
<p><strong>Mistake:</strong></p>
<p>Here we see the same kind of issue as before, but this one tends to be more common. A modern reason why someone would write a link like this could be to run a tracking script before sending someone to the new page.  I especially see this a lot on industrial sites where one of my client&#8217;s advertises.</p>
<p>The problem with this is the page linked is not accessible to search engines and older browsers, and the link is not counted when ranking the final page.</p>
<p><strong>To resolve this try this code:</strong></p>
<blockquote><p>&lt;a href=&#8221;/local-page.php&#8221; onClick=&#8221;jumpTo(this.href); return false;&#8221;&gt;&#8230;&lt;/a&gt;<br />
&lt;a href=&#8221;http://other.site/some-page.html&#8221; onClick=&#8221;trackIt(this.href);&#8221;&gt;&#8230;&lt;/a&gt;</p></blockquote>
<p>Again, we&#8217;re doing the same thing we did in the popup example, but with a simple link.</p>
<p>This is a funny thing to do, but I&#8217;ve seen it done on pages where the designer wanted an alert to popup before sending the visitor to the next page.  When doing this, always take robots and alternative browsers into consideration.</p>
<p><strong>An example I use</strong> tells Google Analytics to track the link to one of my other domains as an internal link:</p>
<blockquote><p>&lt;a href=&#8221;http://thatsmith.net/&#8221; onClick=&#8221;pageTracker._link(this.href); return false;&#8221;&gt;&#8230;&lt;/a&gt;</p></blockquote>
<h3>Adding new content</h3>
<p><strong>Code used:</strong></p>
<blockquote><p>document.write(&#8216;&#8230;&#8217;);<br />
document.createElement(&#8216;&#8230;&#8217;);<br />
document.getElementById(&#8216;&#8230;&#8217;).innerHTML=&#8221;;</p></blockquote>
<p><strong>Mistake:</strong></p>
<p>The last SEO mistake people make using JavaScript is a tough one to overcome, but needs to be considered if search engine optimization or accessibility is important.  When using JavaScript to add new content you need to consider these two things:</p>
<ol>
<li>Is the dynamic content important enough it should be indexed?</li>
<li>Do you want non-JavaScript browsers have access to it?</li>
</ol>
<p>If you said yes to either question then JavaScript may not be the best way to deliver the new content.  Depending on what it is, there are a few ways to ensure everyone sees it.</p>
<p><strong>Solution:</strong></p>
<p>Instead of using document.write or createElement, place the content in a div, span, or tag it otherwise with an ID and use JavaScript to hide it <em>after</em> the page has loaded. Then, when you want the content to be displayed use more JavaScript to make it appear. jQuery is good at this, so is display=&#8217;block&#8217;.</p>
<p>This ensures the content is still visible to search engines and old browsers, and makes it appear on demand to everyone else.  Search engines do penalize for hidden content, but usually only when you fail to provide a method to display it.  I have sliding content on multiple pages and have never been punished.</p>
<p>If you are using innerHTML to simply switch what is displayed, and don&#8217;t require AJAX to do so, you can achieve the same thing with an accordion or hidden div.  This also ensures the content is visible to search engines even if they can&#8217;t click to display it.</p>
<p><strong>If you have questions</strong> you are welcome to <a href="mailto:chad@nospam.me">contact me</a>.  I suggest you all try navigating your site while JavaScript is disabled to see if you&#8217;ve made any mistakes (use the <a href="http://chrispederick.com/work/web-developer/">Web Developer addon for Firefox</a> to disable it).</p>
<p><strong>Short version of this post:</strong> remember to provide a way for robots to access your content.</p>
<hr />
<p><small>&copy; <a href="http://thatsmith.com">That Smith</a>, 2008. |
<a href="http://thatsmith.com/2008/09/javascript-seo-mistakes">Permalink</a> |
<a href="http://thatsmith.com/2008/09/javascript-seo-mistakes#comments">3 comments</a><br/>
Post tags: <a href="http://thatsmith.com/tag/advice" rel="tag">Advice</a>, <a href="http://thatsmith.com/tag/javascript" rel="tag">JavaScript</a>, <a href="http://thatsmith.com/tag/seo" rel="tag">SEO</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://thatsmith.com/2008/09/javascript-seo-mistakes/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>25 more available Wichita domains</title>
		<link>http://thatsmith.com/2008/09/25-more-wichita-domains</link>
		<comments>http://thatsmith.com/2008/09/25-more-wichita-domains#comments</comments>
		<pubDate>Wed, 10 Sep 2008 18:38:19 +0000</pubDate>
		<dc:creator>Chad</dc:creator>
				<category><![CDATA[Available Domain Names]]></category>
		<category><![CDATA[internet marketing]]></category>
		<category><![CDATA[non-canonical URL's]]></category>
		<category><![CDATA[seo optimization]]></category>
		<category><![CDATA[wichita]]></category>

		<guid isPermaLink="false">http://thatsmith.com/?p=491</guid>
		<description><![CDATA[Here is my third list of available domain names for Wichita. This list contains 51 &#8211; 75 of 300 excellent names I found that are perfect for Wichita businesses and entrepreneurs. If this is your first time viewing my lists, be sure to check out available domain names 1 &#8211; 25 and Wichita names 26 [...]]]></description>
			<content:encoded><![CDATA[<p>Here is my third list of available domain names for Wichita.  This list contains 51 &#8211; 75 of 300 excellent names I found that are perfect for Wichita businesses and entrepreneurs.</p>
<p>If this is your first time viewing my lists, be sure to check out <a href="http://thatsmith.com/2008/08/available-wichita-domains/">available domain names 1 &#8211; 25</a> and <a href="http://thatsmith.com/2008/08/more-wichita-domains/">Wichita names 26 &#8211; 50</a>.</p>
<p>Also included on those lists are SEO and internet marketing tips for small businesses, a disclaimer that explains why you should only register these names if you intend to use them, and a code you can use to register them for $6.95/year.</p>
<p><a href="http://thatsmith.com/files/2008/09/available-wichita-domains.png"><img class="size-full wp-image-492" src="http://thatsmith.com/files/2008/09/available-wichita-domains.png" alt="Available Wichita Domains" width="274" height="511" /></a></p>
<p>My last internet marketing tip covered how to add your new website to search engines and included an SEO tip on only allowing each page to have one unique address.  That tip highlighted the importance of not pointing multiple domains to the same pages, which is what my employer did in the past.</p>
<p><strong>SEO Tip:</strong></p>
<p>Equally important is making sure your pages load with either www or no-www (www.thatsmith.com or thatsmith.com), and not both.  This is essential for good internet marketing because search engines will count them as unique addresses and will split your ranking between the two pages.</p>
<p>To resolve this, you need to decide if you want your pages to be seen at www.yourdomain.com/page or just yourdomain.com/page.  If you are using Apache Web Server, create a text document in your root folder named <strong>.htaccess</strong> containing one of the following:</p>
<p><strong>To force no-www -</strong></p>
<blockquote>
<pre>&lt;IfModule mod_rewrite.c&gt;
	RewriteEngine On
	RewriteBase /

	RewriteCond %{SERVER_PORT} !^443$
	RewriteCond %{HTTP_HOST} !^thatsmith\.com$
	RewriteRule ^(.*) http://thatsmith.com/$1 [R=301,L]

	RewriteCond %{SERVER_PORT} ^443$
	RewriteCond %{HTTP_HOST} !^thatsmith\.com$
	RewriteRule ^(.*) https://thatsmith.com/$1 [R=301,L]
&lt;/IfModule&gt;</pre>
</blockquote>
<p><strong>To force www -</strong></p>
<blockquote>
<pre>&lt;IfModule mod_rewrite.c&gt;
	RewriteEngine On
	RewriteBase /

	RewriteCond %{SERVER_PORT} !^443$
	RewriteCond %{HTTP_HOST} !^www\.thatsmith\.com$
	RewriteRule ^(.*) http://www.thatsmith.com/$1 [R=301,L]

	RewriteCond %{SERVER_PORT} ^443$
	RewriteCond %{HTTP_HOST} !^www\.thatsmith\.com$
	RewriteRule ^(.*) https://www.thatsmith.com/$1 [R=301,L]
&lt;/IfModule&gt;</pre>
</blockquote>
<p>Of course be sure to replace thatsmith with your domain name, otherwise all your pages and incoming links will send your visitors to me.</p>
<p>The code above does several things, first it tells your web server (Apache) to turn on the rewrite module if it exists.  It then asks if the page is being requested through a regular (http) or secure (https) connection, and checks to see if the domain is in the form you decided on (www vs no-www).</p>
<p>If the domain requested doesn&#8217;t match, or doesn&#8217;t include your www preference, it tells the browser or search engine the page they are looking for <strong>moved permanently</strong> and gives them the new address.</p>
<p>This transitions the visitor seamlessly to the new address and informs the search engine to display and rank the page according to your preference.</p>
<p>When the same pages load on multiple domains and subdomains you have an issue with non-canonical URL&#8217;s.  This degrades your ranking in search engines.  You can check your site for non-canonical URL&#8217;s by typing yourdomain.com and www.yourdomain.com and seeing if the page loaded is the same, but addresses are different.</p>
<p>The above is just one way to fix this issue, but doesn&#8217;t solve the issue of when http and https addresses point to the same page.  I will share more on that in a few weeks, and a less technical internet marketing tip next time.</p>
<hr />
<p><small>&copy; <a href="http://thatsmith.com">That Smith</a>, 2008. |
<a href="http://thatsmith.com/2008/09/25-more-wichita-domains">Permalink</a> |
<a href="http://thatsmith.com/2008/09/25-more-wichita-domains#comments">2 comments</a><br/>
Post tags: <a href="http://thatsmith.com/tag/available-domain-names" rel="tag">Available Domain Names</a>, <a href="http://thatsmith.com/tag/internet-marketing" rel="tag">internet marketing</a>, <a href="http://thatsmith.com/tag/non-canonical-urls" rel="tag">non-canonical URL's</a>, <a href="http://thatsmith.com/tag/seo-optimization" rel="tag">seo optimization</a>, <a href="http://thatsmith.com/tag/wichita" rel="tag">wichita</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://thatsmith.com/2008/09/25-more-wichita-domains/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
