<?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>Search Engine Optimization Blog - SEM News &#38; Opinion - David Ogletree &#187; web design</title>
	<atom:link href="http://www.ogletreeseo.com/category/web-design/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ogletreeseo.com</link>
	<description>If you think it&#039;s expensive to hire a professional to do the job, wait until you hire an amateur - Red Adair</description>
	<lastBuildDate>Sun, 27 Feb 2011 20:47:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Show different content for PPC users with PHP</title>
		<link>http://www.ogletreeseo.com/326.html</link>
		<comments>http://www.ogletreeseo.com/326.html#comments</comments>
		<pubDate>Mon, 28 Dec 2009 18:39:09 +0000</pubDate>
		<dc:creator>ogletree</dc:creator>
				<category><![CDATA[Adwords]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.ogletreeseo.com/?p=326</guid>
		<description><![CDATA[I just recently created a new site for a client and he decided he wanted to do PPC. I created a landing page for him. I still wanted the users to be able to see the rest of the site but I wanted to show a specific phone number to PPC visitors. I created some [...]]]></description>
			<content:encoded><![CDATA[<p>I just recently created a new site for a client and he decided he wanted to do PPC.  I created a landing page for him.  I still wanted the users to be able to see the rest of the site but I wanted to show a specific phone number to PPC visitors.  I created some PHP code that gives a 10 year cookie to anybody who hits my PPC landing page.  On  every other page in my site I put in some code that checks for that cookie and gives then a PPC phone number if they find that cookie. </p>
<p>Code for PPC landing page. Must be very first thing on page.</p>
<p><code>&lt;?php<br />
setcookie(&quot;ppc&quot;, &quot;this works&quot;, time()+60*60*24*365*10);<br />
?&gt;</code></p>
<p>Code for every other page.</p>
<p><code>&lt;?php<br />
if (isset($_COOKIE[&quot;ppc&quot;]))<br />
&nbsp;&nbsp;&nbsp;&nbsp;echo &#039;ppc info&#039;;<br />
else<br />
&nbsp;&nbsp;&nbsp;&nbsp;echo &#039;non ppc info&#039;;<br />
?&gt;</code></p>
<p>You can use that code to display a different logo or image with phone number in it or special text.  If you have your phone number all over the place I would put your phone numbers in different include files so that you can change them easily.</p>
<p>Code for include</p>
<p><code>&lt;?php<br />
if (isset($_COOKIE[&quot;ppc&quot;]))<br />
&nbsp;&nbsp;&nbsp;&nbsp;include &#039;ppc-phone.inc&#039;;<br />
else<br />
&nbsp;&nbsp;&nbsp;&nbsp;include &#039;phone.inc&#039;;<br />
?&gt;</code></p>
<div class="simpletags">Technorati Tags: <a href="http://technorati.com/tag/ppc" rel="tag">ppc</a>, <a href="http://technorati.com/tag/php" rel="tag"> php</a>, <a href="http://technorati.com/tag/adwords" rel="tag"> adwords</a>, <a href="http://technorati.com/tag/SEM" rel="tag"> SEM</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ogletreeseo.com/326.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Top ten CSS articles</title>
		<link>http://www.ogletreeseo.com/312.html</link>
		<comments>http://www.ogletreeseo.com/312.html#comments</comments>
		<pubDate>Thu, 06 Aug 2009 21:25:37 +0000</pubDate>
		<dc:creator>ogletree</dc:creator>
				<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.ogletreeseo.com/?p=312</guid>
		<description><![CDATA[I&#8217;m sure this is not the very top ten CSS articles but the top ten that I have found. 53 CSS-Techniques You Couldn’t Live Without How to make sexy buttons with CSS Learn to slice your templates into fully valid XHTML and CSS web pages Powerful CSS-Techniques For Effective Coding 25 Code Snippets for Web [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m sure this is not the very top ten CSS articles but the top ten that I have found.</p>
<ol>
<li><a href="http://www.smashingmagazine.com/2007/01/19/53-css-techniques-you-couldnt-live-without/">53 CSS-Techniques You Couldn’t Live Without</a></li>
<li><a href="http://www.oscaralexander.com/tutorials/how-to-make-sexy-buttons-with-css.html">How to make sexy buttons with CSS</a></li>
<li><a href="http://www.csslicingguide.com/">Learn to slice your templates into fully valid XHTML and CSS web pages</a></li>
<li><a href="http://www.smashingmagazine.com/2008/02/21/powerful-css-techniques-for-effective-coding/">Powerful CSS-Techniques For Effective Coding</a></li>
<li><a href="http://tutorialblog.org/25-code-snippets-for-web-designers-part1/">25 Code Snippets for Web Designers (Part1)</a></li>
<li><a href="http://sixrevisions.com/resources/cheat_sheets_web_developer/">Cheat Sheets for Front-end Web Developers</a></li>
<li><a href="http://blog.jm3.net/2007/03/16/the-only-ten-things-to-know-about-css/">(The Only) Ten Things To Know About CSS</a></li>
<li><a href="http://www.noupe.com/css/using-css-to-fix-anything-20-common-bugs-and-fixes.html">Using CSS to Fix Anything: 20+ Common Bugs and Fixes</a></li>
<li><a href="http://joplan.com/digg/div_site/">The RIGHT way to convert your Photoshop design to XHTML and CSS Layout</a></li>
<li><a href="http://net.tutsplus.com/articles/web-roundups/are-you-making-these-10-css-mistakes/">Are You Making These 10 CSS Mistakes?</a></li>
</ol>
<div class="simpletags">Technorati Tags: <a href="http://technorati.com/tag/css" rel="tag">css</a>, <a href="http://technorati.com/tag/web+design" rel="tag"> web design</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ogletreeseo.com/312.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Web Page load time is more important than you think</title>
		<link>http://www.ogletreeseo.com/282.html</link>
		<comments>http://www.ogletreeseo.com/282.html#comments</comments>
		<pubDate>Thu, 18 Jun 2009 17:30:37 +0000</pubDate>
		<dc:creator>ogletree</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[Website Marketing]]></category>

		<guid isPermaLink="false">http://www.ogletreeseo.com/?p=282</guid>
		<description><![CDATA[Load times are very important especially during this recession.  Many people are switching to dial up or switching to lower speed broadband to save money.]]></description>
			<content:encoded><![CDATA[<p>I know I covered <a href="http://www.ogletreeseo.com/218.html">web page size</a> a few times but I thought a few more things to say.  Web page Load times are very important especially during this recession.  Many people are switching to dial up or switching to lower speed broadband to save money.  <a href="[url=]">AT&#038;T offers a 750k service for $20 a month now</a>.  Even if that were not the case I know everybody has dealt with <a href="http://www.google.com/#hl=en&#038;q=slow+internet+connection&#038;aq=0&#038;oq=slow+internet+co&#038;aqi=g10&#038;fp=Yxcf45uQ1Fc">slow web page load times</a> on their expensive high speed connections.  If you have a cable modem you are sharing an Internet connection with your whole street probably.  Not to mention many people share an Internet connection in their home.  If you live with somebody that plays games and/or downloads movies and music you have seen slow web page load times.  Even if Google analytics is showing you 5% dial up users that does not mean you don’t have to worry about slow web page load times.  </p>
<p>There are many things that cause slow web page load times.  Many people think all they have to do to lower web page load times is get rid of images or make them smaller.  There is a lot more you can do.  The number of items that your page loads adds to slow web page load times.  If your webpage has 30 images 2 CSS files, 4 javascript files that is 36 things that have to load.  Each time a new item is loaded that ads to a longer web page load time.  Consider using <a href="http://css-tricks.com/css-sprites/">CSS Sprites</a> and combing images or code that don’t need to be in several files.  Also you don’t need to load all js and css for every page give specific css and js files to each section that needs them.  At the very least pick your top five busiest pages and set them up so they load only what they need and nothing else. Another thing that can slow down web page load time are nested tables.  I have seen webpages with 120 nested tables before.  A table will not display until all of the HTML for it has loaded.  </p>
<p>The problem is that many websites are built on top of some CMS or shopping cart.  It may be impossible for some people to make these changes.  The advice I give is that if your website is doing well and making you money it is worth the investment to redo the site so that it loads faster.  If your just starting out or already invested a lot into a website it may not be worth the extra expense.  Slow web page load times will not kill your site I&#8217;m just talking about how to make your site better.  If your running a business you should always be looking for little ways to squeeze out more profit.  I mentioned in a <a href="http://www.ogletreeseo.com/218.html">previous post</a> on this subject that Google Maps reduced their page size by 30% and traffic went up 30%.  I have also read that you have anywhere from 3 to 5 seconds to convince people to not to hit the back button.  If your convince content does not load very fast you will lose sales.</p>
<div class="simpletags">Technorati Tags: <a href="http://technorati.com/tag/webpage+load+time" rel="tag">webpage load time</a>, <a href="http://technorati.com/tag/page+size" rel="tag"> page size</a>, <a href="http://technorati.com/tag/google" rel="tag"> google</a>, <a href="http://technorati.com/tag/web+page+load+time" rel="tag"> web page load time</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ogletreeseo.com/282.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Do you have a 404 strategy?</title>
		<link>http://www.ogletreeseo.com/228.html</link>
		<comments>http://www.ogletreeseo.com/228.html#comments</comments>
		<pubDate>Mon, 18 May 2009 01:54:35 +0000</pubDate>
		<dc:creator>ogletree</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[Website Marketing]]></category>

		<guid isPermaLink="false">http://www.ogletreeseo.com/?p=228</guid>
		<description><![CDATA[Do you have a 404 strategy? Do you know what a 404 is? First off lets describe what a 404 is just in case you don’t know. When somebody comes to your website using a URL that does not exist by default your server will just send the user a 404 error which shows your [...]]]></description>
			<content:encoded><![CDATA[<p>Do you have a 404 strategy?  Do you know what a 404 is? First off lets describe what a 404 is just in case you don’t know.  When somebody comes to your website using a URL that does not exist by default your server will just send the user a 404 error which shows your visitor a white page with huge letters that say “NOT FOUND”.  Most the time the person just hits the back button and moves on. The answer to the other question should be obvious.  </p>
<p>I’m not going to get into the technical side of how to create a 404 page there are lots of <a href="http://www.google.com/#hl=en&#038;q=create+a+custom+404+page&#038;fp=-dx2DTn7Pl4">blog posts and articles</a> already out there.  I’m going to talk about your strategy.  What is your goal?  Do you want to entertain, solve the problem, or act like nothing happened?</p>
<p>Here is a list of strategies that people use and the pros and cons of each.</p>
<p>1.	Redirect all 404 traffic to the front page.  This only slightly better than doing nothing.  This confuses some people.  They clicked on a specific link and they end up at your front page that may have nothing to do with what they clicked on.<br />
2.	Create a template page of your website and put a page not found message on that.  With this method at least now they know that something went wrong but still does not help the person.  They still can’t find what they are looking for.<br />
3.	Create a custom 404 page with some logic that tries to guess what the person is looking for.  I would also put a search box on this page as well.  If part of the URL is correct like the folder you can have a specific 404 landing page with a list of things they might be looking for.  Try to help the visitor find what they need.<br />
4.	Create some gimmick like a funny video, cartoon, or game.  This can get you some attention and might get you some viral attention.  Here are some <a href="http://www.google.com/#hl=en&#038;q=google+analytics+and+404+pages&#038;fp=-dx2DTn7Pl4">examples</a>.</p>
<p>Another benefit to using a custom 404 page is that you can put your analytics code on it.  If you don’t have a custom 404 page it will not show up in Google Analytics.  You need to modify the tracking code on your 404 page so don’t just use the normal footer.  <a href="http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&#038;answer=86927">Here is a link</a> to how to modify that code.  It is very important to monitor your 404 errors.  You can find where people have linked to you incorrectly.  You can send them a message to fix it or 301 redirect it to the correct page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ogletreeseo.com/228.html/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>IIS Flaw Causes Google duplicate content</title>
		<link>http://www.ogletreeseo.com/184.html</link>
		<comments>http://www.ogletreeseo.com/184.html#comments</comments>
		<pubDate>Fri, 03 Aug 2007 19:10:12 +0000</pubDate>
		<dc:creator>ogletree</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Other Search Engines]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.ogletreeseo.com/184.html</guid>
		<description><![CDATA[I have a new site that our company is working on. I noticed that in google all of a sudden we have all of our pages listed in Google with very weird things added to our URLs. http://www.mysite.com/(A(XobqNFPtxwEkAAAAMzk3ZTU 4NzQtZGFjZS00OGUxLWExYzYtZDBiYjc1Mzg1N2YwP7fq1em0HKYJ5 vYMP8lm4NCf3241))/subdirectory/Default.aspx I found out that this works on any IIS server. Even on www.microsoft.com. I have [...]]]></description>
			<content:encoded><![CDATA[<p>I have a new site that our company is working on.  I noticed that in google all of a sudden we have all of our pages listed in Google with very weird things added to our URLs.  </p>
<blockquote><p>http://www.mysite.com/(A(XobqNFPtxwEkAAAAMzk3ZTU<br />
4NzQtZGFjZS00OGUxLWExYzYtZDBiYjc1Mzg1N2YwP7fq1em0HKYJ5<br />
vYMP8lm4NCf3241))/subdirectory/Default.aspx</p></blockquote>
<p>I found out that this works on any IIS server.   Even on www.microsoft.com.  I have no idea what this is.  I do know it is a bad thing for SEO and any site hosted on IIS needs to address this.  This goes back to what I say about site architecture.  Your site needs to have a URL policy set up and enforced.  Nobody can go to any page unless that URL is already known to the site owner.  This means no page can be access from 2 or more differnt urls.  The site owner needs to redirect any rogue URL to the correct one and 404 anything you can&#8217;t predict.  What this does is create duplicate content that the search engines do not like and can even hurt a sites rankings.</p>
<p><span id="more-184"></span></p>
<p>From my testing I found that it follows rules.  (A(this-is_a-test)  The capital A can be any capital letter but will not work with lower case letters. You can put that inbetween any 2 forward slashes in a URL on IIS. Here are some tests using www.microsoft.com</p>
<style type="text/css">
table.ogletree {
        width: 95%;
	margin: 1.2em 20px 1.2em 20px;
	padding-top: 0.1em 20px 0.1em 20px;
	border-top: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
	background-color: transparent;
	background-image: url(/wp-content/themes/ocadia144/images/commentalt.gif);
	background-repeat: repeat-y;
	background-attachment: scroll;
	background-x-position: 0%;
	background-y-position: 0%;
	font-size: 0.9em;
}</p>
<p>table.ogletree td {
	border: none
	margin: 5px;
	padding: 5px;
}
</style>
<table class="ogletree" >
<tr valign="top">
<td>
<b>Works</b></p>
<p><a href="http://www.microsoft.com/en/(A(asdfa-123))/us/Default.aspx">(A(asdfa-123))</a></p>
<p><a href="http://www.microsoft.com/en/(A(asdfa-sdf))/us/Default.aspx">(A(asdfa-sdf))</a></p>
<p><a href="http://www.microsoft.com/en/(C(asdfasdf))/us/Default.aspx">(C(asdfasdf))</a></p>
<p><a href="http://www.microsoft.com/en/(A(asdfA_123))/us/Default.aspx">(A(asdfA_123))</a>
		</td>
<td>
<b>Does not work</b></p>
<p><a href="http://www.microsoft.com/en/(c(asdfasdf))/us/Default.aspx">(c(asdfasdf))</a><br />
</p>
<p><a href="http://www.microsoft.com/en/(())/us/Default.aspx">(())</a><br />
</p>
<p><a href="http://www.microsoft.com/en/(Z()a)/us/Default.aspx">(Z()a)</a><br />
</p>
<p><a href="http://www.microsoft.com/en/(A(#$%))/us/Default.aspx">(A(#$%))</a><br />
</p>
<p><a href="http://www.microsoft.com/en/(1(asdfasdf))/us/Default.aspx">(1(asdfasdf))</a><br />
</p>
<p><a href="http://www.microsoft.com/en/((A(asdfa-sdf)))/us/Default.aspx">((A(asdfa-sdf)))</a>
		</td>
</tr>
</table>
<p>You can do this on any IIS website from what I can see.  I even got it to work on myspace.</p>
<blockquote><p><a href="http://www.myspace.com/(A(asdfa-123))/Modules/Search/Pages/Search.aspx?t=208,&#038;q=related:www.microsoft.com/default.aspx">http://www.myspace.com/(A(asdfa-123))/Modules/Search/Pages/Search.<br />
aspx?t=208,&#038;q=related:www.microsoft.com/default.aspx</a></p></blockquote>
<div class="simpletags">Technorati Tags: <a href="http://technorati.com/tag/microsoft" rel="tag">microsoft</a>, <a href="http://technorati.com/tag/IIS+vulnerability" rel="tag"> IIS vulnerability</a>, <a href="http://technorati.com/tag/Google" rel="tag"> Google </a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ogletreeseo.com/184.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Why is CSS still not widely used for page layout</title>
		<link>http://www.ogletreeseo.com/140.html</link>
		<comments>http://www.ogletreeseo.com/140.html#comments</comments>
		<pubDate>Wed, 14 Feb 2007 03:26:31 +0000</pubDate>
		<dc:creator>ogletree</dc:creator>
				<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.ogletreeseo.com/140.html</guid>
		<description><![CDATA[Why are so many web designers/developers still using tables? I see new website designs all the time and when I turn off CSS in Firefox very little changes. Most designers seem to think CSS is there to replace the font tag or make header tags look better. CSS1 has been around since 1996 and CSS2 [...]]]></description>
			<content:encoded><![CDATA[<p>Why are so many web designers/developers still using tables?  I see new website designs all the time and when I turn off CSS in Firefox very little changes.  Most designers seem to think CSS is there to replace the font tag or make header tags look better.  CSS1 has been around since 1996 and CSS2 has been around since 1998.  Tables were never intended by the creators of HTML to control the layout of a web page. </p>
<p>Using tables to control the layout of a page shows a lack of professionalism.  It also makes things a lot harder when you have to do a redesign or have to make changes.  Using lots of tables makes very ugly code.  When you use CSS your writers can very easily make changes and additions to the website.  There is no reason the source code for a website should look like a C program.  A non-web designer can write an entire website and hand it over to a designer and the designer will not have to make hardly any changes to the copy with CSS.  </p>
<p>There are many excuses why people don’t use pure CSS.  All of them come out of the fact that people are lazy and stuck in the past.  The biggest excuse is that CSS is hard because IE does not follow the rules.  The rules that IE don’t follow are known and well documented and easy to avoid.  Those who don’t get with it and learn CSS will be left behind and struggling to find jobs like Pascal programmers or Windows NT server administrators.  </p>
<div class="simpletags">Technorati Tags: <a href="http://technorati.com/tag/css" rel="tag">css</a>, <a href="http://technorati.com/tag/css1" rel="tag"> css1</a>, <a href="http://technorati.com/tag/css2" rel="tag"> css2</a>, <a href="http://technorati.com/tag/web+design" rel="tag"> web design</a>, <a href="http://technorati.com/tag/web+development" rel="tag"> web development</a>, <a href="http://technorati.com/tag/IE" rel="tag"> IE</a>, <a href="http://technorati.com/tag/web+standards" rel="tag"> web standards</a>, <a href="http://technorati.com/tag/tables+design" rel="tag"> tables design</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ogletreeseo.com/140.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

