<?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>searchengineland.com &#187; Jonathan Hochman</title>
	<atom:link href="http://searchengineland.com/author/jonathan-hochman/feed" rel="self" type="application/rss+xml" />
	<link>http://searchengineland.com</link>
	<description>Search Engine Land: Must Read News About Search Marketing &#38; Search Engines</description>
	<lastBuildDate>Mon, 23 Nov 2009 05:34:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How To Avoid Getting Your Search Rankings Trashed By Malware</title>
		<link>http://searchengineland.com/how-to-avoid-getting-your-search-rankings-trashed-by-malware-25199</link>
		<comments>http://searchengineland.com/how-to-avoid-getting-your-search-rankings-trashed-by-malware-25199#comments</comments>
		<pubDate>Fri, 04 Sep 2009 21:25:50 +0000</pubDate>
		<dc:creator>Jonathan Hochman</dc:creator>
				<category><![CDATA[Google: Security]]></category>
		<category><![CDATA[How To: SEO]]></category>
		<category><![CDATA[Search Features: Safety]]></category>

		<guid isPermaLink="false">http://searchengineland.com/?p=25199</guid>
		<description><![CDATA[As if SEOs don’t have enough things to worry about already, add malware to the list. Why does malware matter to SEOs? If the site you are working on gets infected, its search traffic will plummet. Search engines attempt to remove infected pages from their search results, or they label them with an ominous warning, [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsearchengineland.com%2Fhow-to-avoid-getting-your-search-rankings-trashed-by-malware-25199"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsearchengineland.com%2Fhow-to-avoid-getting-your-search-rankings-trashed-by-malware-25199" height="61" width="51" /></a></div><p>As if SEOs don’t have enough things to worry about already, add malware to the list. Why does malware matter to SEOs? If the site you are working on gets infected, its search traffic will plummet. Search engines attempt to remove infected pages from their search results, or they label them with an ominous warning, such as <em>This site may damage your computer</em>. </p>
<p>Back in 2008 <a href="http://googleonlinesecurity.blogspot.com/2008/02/all-your-iframe-are-point-to-us.html">Google reported</a> that malware infected pages had increased to more than 1% of all search results. Google posted a <a href="http://googleonlinesecurity.blogspot.com/2009/08/malware-statistics-update.html">malware statistics update</a> last week.  Malware infections have more than doubled since April 2009. Search results containing a url labeled as harmful have remained level in the range of 0.5% to 0.9%, an improvement. While the web as a whole has become more dangerous, Google’s been doing an even better job clearing their search results.</p>
<p>I know one reason why there’s been a dramatic rise in malware on the Web since April. A <a href="http://www.internetevolution.com/author.asp?section_id=732&amp;doc_id=180663&amp;">nasty malware attack</a> has been targeting web developers to steal their passwords. Stolen passwords are used by the bad guys to automatically deploy iframe injection attacks to innocent web page.</p>
<p>If you access web sites via File Transfer Protocol (FTP) or Secure File Transfer Protocol (SFTP), this attack is targeting you. All you need to do is browse an infected page using an insecure browser. Badware will be deployed to your machine, and it will find the files used by FileZilla, or possibly other FTP programs to store passwords, and silently send those files back to a server in China. Then an automated bot attack will use FTP to edit your web pages, infecting them with malware. Then your sites will drop out of the search results. Can you image the uncomfortable conversations when all your sites get hacked at once and you have to admit responsibility?</p>
<p>What can be done to reduce this risk of search Armageddon?  </p>
<ol>
<li>Use a more secure browser such as <a href="http://www.google.com/chrome">Chrome</a> or Firefox with the <a href="http://noscript.net/">NoScript</a> add on for routine browsing.</li>
<li>Don’t use any FTP program that stores passwords locally in <a href="http://en.wikipedia.org/wiki/Plaintext">plaintext</a>, such as FileZilla. To date, Dreamweaver has not been reported to have been compromised. Dreamweaver encrypts passwords and stores them in the Windows registry.</li>
<li>Consider using a Mac or Linux instead of Windows. As the most popular operating system, Windows is the most popular target for attacks.</li>
<li>Make sure your machine and server are fully updated and patched. Turn off unnecessary services and software to reduce the <a href="http://en.wikipedia.org/wiki/Attack_surface">attack surface</a>.</li>
<li>Register your site with <a href="https://www.google.com/webmasters/tools/home?hl=en">Google Webmaster Tools</a> and <a href="http://www.bing.com/webmaster">Bing Webmaster Center</a>. Check regularly to see if there are any malware reports (or other issues) with your sites.</li>
<li>If you suspect a malware infection, check <a href="http://www.unmaskparasites.com/">Unmask Parasites</a>,</li>
<li>View <a href="http://www.siteadvisor.com/sites/searchengineland.com">your site’s reputation</a> at McAfee SiteAdvisor.</li>
<li>Reduce the number of people and computers that have access to your web server.</li>
<li>Keep a backup copy of your web pages. In case of infection, it’s a race to see if you can fix the site before search engines (and users) discover the problem and dump you.</li>
<li> Choose the hosting provider that has the quickest response time, not the cheapest price. If your site gets hacked, you may need their help to change all the passwords.</li>
</ol>
<p>As the web becomes more dangerous, customers become more suspicious, reducing opportunities for everyone. Please do your part to make the web safer, and to reduce your risks.</p>
]]></content:encoded>
			<wfw:commentRss>http://searchengineland.com/how-to-avoid-getting-your-search-rankings-trashed-by-malware-25199/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>An Update On Javascript Menus And SEO</title>
		<link>http://searchengineland.com/an-update-on-javascript-menus-and-seo-16060</link>
		<comments>http://searchengineland.com/an-update-on-javascript-menus-and-seo-16060#comments</comments>
		<pubDate>Fri, 09 Jan 2009 18:56:09 +0000</pubDate>
		<dc:creator>Jonathan Hochman</dc:creator>
				<category><![CDATA[Features: Analysis]]></category>
		<category><![CDATA[Google: SEO]]></category>

		<guid isPermaLink="false">http://searchengineland.com/?p=16060</guid>
		<description><![CDATA[SEOs have traditionally recommended using search engine friendly menu systems such those based on HTML styled with CSS instead of those written in JavaScript.  The primary language understood by search engines has been HTML, but now several search engines have learned how to read JavaScript.  I recently found an example that reveals how much progress [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsearchengineland.com%2Fan-update-on-javascript-menus-and-seo-16060"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsearchengineland.com%2Fan-update-on-javascript-menus-and-seo-16060" height="61" width="51" /></a></div><p>SEOs have traditionally <a href="http://searchengineland.com/diagnosing-the-seo-health-of-your-website-13852">recommended using search engine friendly menu systems</a> such those based on HTML styled with CSS instead of those written in JavaScript.  The primary language understood by search engines has been HTML, but now several search engines have learned how to read JavaScript.  I recently found an example that reveals how much progress has been made.  My observations confirm what software engineer Janis Stipins&#8217; said at SMX East in October 2008, that Google is doing a much better job spidering JavaScript.</p>
<p>About a month ago <a href="http://www.monitronics.com/">Monitronics</a> had deployed a new site built with <a href="http://www.dotnetnuke.com/">DotNetNuke</a> and the Solpart version 1.7.2 menu system. You can see what technologies were used by reading the comments in the source code. DNN is an open source framework for building websites that run on <a href="http://ASP.NET">ASP.NET</a>. DNN&#8217;s Solpart menu system relies on JavaScript.  In the past I have recommended ripping out that menu system and using something else.  Like most companies working with DNN, Monitronics just went with the default menus.  When I visit their site with scripting disabled in my browser (Firefox with the NoScript add-on), I see nothing: no main menu items, and no drop downs.  In former times, this would have been a bad omen for SEO.</p>
<p>As promised, Google has spidered the new JavaScript menus.  The <a href="http://74.125.45.132/search?q=cache:QexufF68ROsJ:www.monitronics.com/+monitronics&amp;hl=en&amp;ct=clnk&amp;cd=1&amp;gl=us">Google cache</a> shows all the menu items, lined up in a neat list with links fully operational.  Google is also showing reasonable Sitelinks for a <a href="http://www.google.com/search?q=monitronics&amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&amp;rls=org.mozilla:en-US:official">search on [Monitronics]</a>, which is a good indication that the site has been properly spidered.  When I look at the <a href="http://74.6.239.67/search/cache?ei=UTF-8&amp;p=monitronics&amp;fr=yfp-t-501&amp;u=www.monitronics.com/&amp;w=monitronics&amp;d=MEUNDEfiSFGw&amp;icp=1&amp;.intl=us">Yahoo cache</a>, I see the main menu text, though not the drop downs.   Yahoo has cached the text generated by JavaScript rather than the Javascript code itself. However, Yahoo has failed to spider the drop down menus and failed to extract the menu links.  When I visit <a href="http://cc.msnscache.com/cache.aspx?q=monitronics&amp;d=75166995723573&amp;mkt=en-US&amp;setlang=en-US&amp;w=f27378b1,594fd919">Microsoft&#8217;s cache</a>, all the menu links are there, organized in the same neat hierarchy as shown in Google&#8217;s cache, and the links work.  When a website is built with Microsoft technology, I&#8217;d expect the Microsoft search engine to be able to decipher the code, and it seems like Microsoft is doing a good job reading DNN JavaScript menus.</p>
<p>Does this mean we can forget about search engine friendly menus?  I would not ignore the issue, but before investing resources in a new menu system, I would check the performance of the old system.  If something is working, or partially working, it might be better to put those resources towards another priority. Getting good performance from Google and Microsoft, and having Yahoo index a site via its sitemap is perhaps 90% as effective as having fully spiderable menus.</p>
<p>In November DNN <a href="http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/112/threadid/270121/scope/posts/Default.aspx">posted a note</a> that their newest menu system, version 1.8.0 is &#8220;SEO compatible&#8221;. Perhaps Yahoo&#8217;s spidering capabilities will soon catch up with Google&#8217;s and Microsoft&#8217;s. Depending on the potential traffic that could be generated by interior pages of a site, the web site owner needs to decide whether it is worth the investment of redoing a menu system to gain that final 10% performance, or whether procrastination might be an effective strategy. In 2009 I think Google and Microsoft will master JavaScript, Yahoo will follow and SEOs will have fewer menu gripes.</p>
<p><strong>PostScript, January 12, 2009: </strong>Upon investigation of reader comments, it appears that DNN&#8217;s menu system  includes a user-agent cloaking module.  Some details are available in <a title="http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/1487/Searching-for-the-Holy-Grail-of-Menu-Item-Customization.aspx" href="http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/1487/Searching-for-the-Holy-Grail-of-Menu-Item-Customization.aspx">a  thread</a> at the DNN Community Blog.  Apparently the module serves up  search-friendly menus when the user agent matches a search engine spider.  The  <a title="https://addons.mozilla.org/en-US/firefox/addon/59" href="https://addons.mozilla.org/en-US/firefox/addon/59">Firefox User Agent  Switcher</a> provides a method of testing.  First, install that add-on, and then  import a list of user agents, such as <a title="http://techpatterns.com/forums/about304.html" href="http://techpatterns.com/forums/about304.html">this one</a>.  Switch your  user agent to Googlebot, Yahoo Slurp, or MSNbot to see the same pages as appear  in all three search engine caches.  Oddly, the cloaking module does not provide  correct output for Yahoo.</p>
<p>People debate whether this sort of cloaking is  black hat or accessibility programming.  It appears that the search-engine  version of the page is identical in content to the one served to users.  There  appears to be no deception.  In addition, I think it would be odd for the search  engines to ban a large number of sites built using a common menu system, the  details of which are probably not apparent to the majority of webmasters  managing these sites.  It remains an open question whether the search engines  could read these menus without the assistance of friendly  cloaking.</p>
<p>Nevertheless, the essential advice of the article remains  correct.  Before replacing a menu system, check the actual performance.  Don&#8217;t  assume that a menu won&#8217;t work with search just because of JavaScript.  Search engines  claim to be able to read JavaScript, and some menu systems provide their own  code fixes when they detect a search engine spider.</p>
<p><em></em></p>
]]></content:encoded>
			<wfw:commentRss>http://searchengineland.com/an-update-on-javascript-menus-and-seo-16060/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>McCain Website Gaffes</title>
		<link>http://searchengineland.com/mccain-website-gaffes-14186</link>
		<comments>http://searchengineland.com/mccain-website-gaffes-14186#comments</comments>
		<pubDate>Wed, 11 Jun 2008 18:25:00 +0000</pubDate>
		<dc:creator>Jonathan Hochman</dc:creator>
				<category><![CDATA[SEO: General]]></category>

		<guid isPermaLink="false">http://searchengineland.com/beta/mccain-website-gaffes-14186.php</guid>
		<description><![CDATA[I spotted an interesting story on Talking Points Memo about how John McCain had a menu item &#8220;Golf Gear&#8221; on his campaign website.  My first thought was that this must have been clever hacker trying to make McCain look like an elitist.  But no, the McCain campaign earnestly thinks golf gear is that [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsearchengineland.com%2Fmccain-website-gaffes-14186"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsearchengineland.com%2Fmccain-website-gaffes-14186" height="61" width="51" /></a></div><p>I spotted an interesting story on <a href="http://www.talkingpointsmemo.com/">Talking Points Memo</a> about how John McCain had a menu item &#8220;Golf Gear&#8221; on his campaign website.  My first thought was that this must have been clever hacker trying to make McCain look like an elitist.  But no, the McCain campaign earnestly thinks golf gear is that important to America&#8217;s future. </p>
<p><span id="more-14186"></span></p>
<p><a href="http://www.flickr.com/photos/23148333@N06/2571147718/" title="McCain Web Site by Search Engine Land, on Flickr"><img src="http://farm4.static.flickr.com/3025/2571147718_497c14f44e.jpg" width="500" height="455" alt="McCain Web Site" /></a></p>
<p>To make matters much worse, McCain&#8217;s home page layout completely breaks when Javascript is disabled, placing the golf gear tab dead nuts at the page&#8217;s focal point.  McCain&#8217;s menus also fail, which probably does not help the search rankings of his inner pages. Those who heard my spiel at <a href="http://searchmarketingexpo.com/advanced/2008/developer-day.php">SMX Advanced Developer Day</a> know that I browse with Firefox and the <a href="http://noscript.net/">NoScript</a> add-on for the sake of security, and to help identify usability problems with websites. </p>
<p>Barak Obama&#8217;s webmaster seems to have done better.  Obama&#8217;s home page is fully functional with scripts disabled.  Even the pop up menus work, because they&#8217;re driven by CSS.</p>
<p><a href="http://www.flickr.com/photos/23148333@N06/2571147784/" title="Obama Web site by Search Engine Land, on Flickr"><img src="http://farm4.static.flickr.com/3055/2571147784_b49be0d6ee.jpg" width="500" height="368" alt="Obama Web site" /></a></p>
<p>Only about 2% of desktop users browse the web with scripts disabled, but these users often have a larger than average voice on the Internet.  For instance, Googlebot ignores most scripts.</p>
]]></content:encoded>
			<wfw:commentRss>http://searchengineland.com/mccain-website-gaffes-14186/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Announces adCenter Desktop Beta During SMX Advanced Keynote</title>
		<link>http://searchengineland.com/microsoft-announces-adcenter-desktop-beta-during-smx-advanced-keynote-14127</link>
		<comments>http://searchengineland.com/microsoft-announces-adcenter-desktop-beta-during-smx-advanced-keynote-14127#comments</comments>
		<pubDate>Tue, 03 Jun 2008 17:00:00 +0000</pubDate>
		<dc:creator>Jonathan Hochman</dc:creator>
				<category><![CDATA[Microsoft: adCenter]]></category>

		<guid isPermaLink="false">http://searchengineland.com/beta/microsoft-announces-adcenter-desktop-beta-during-smx-advanced-keynote-14127.php</guid>
		<description><![CDATA[Kevin Johnson, President of Microsoft&#8217;s Platform &#38; Services Division, announced the release of the adCenter Desktop Beta during an SMX Advanced keynote speech today.  The software application allows advertisers to create, optimize, and manage online campaigns with Microsoft.  Previously advertisers were required to manage their campaigns through a web interface, a relatively less [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsearchengineland.com%2Fmicrosoft-announces-adcenter-desktop-beta-during-smx-advanced-keynote-14127"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsearchengineland.com%2Fmicrosoft-announces-adcenter-desktop-beta-during-smx-advanced-keynote-14127" height="61" width="51" /></a></div><p><a href="http://www.microsoft.com/presspass/exec/kjohnson/default.mspx">Kevin Johnson</a>, President of Microsoft&#8217;s Platform &amp; Services Division, announced the release of the adCenter Desktop Beta during an <a href="http://searchmarketingexpo.com/advanced/">SMX Advanced</a> keynote speech today.  The software application allows advertisers to create, optimize, and manage online campaigns with Microsoft.  Previously advertisers were required to manage their campaigns through a web interface, a relatively less efficient means, especially for large or complex campaigns.</p>
<p><span id="more-14127"></span>
Google released a similar product, called <a href="http://www.google.com/intl/en/adwordseditor/">AdWords Editor</a>, on January 24, 2006.  AdWords Editor has been popular with advertisers and agencies, especially those managing large campaigns because it allows bulk editing of multiple entries and easy movement and copying of campaigns, ad groups, ads, and keywords within accounts.</p>
<p>Natala Menezes, Product Manager for Microsoft adCenter, said, &#8220;Our vision is a desktop client version of adCenter, fully functional, not just an editor.&#8221; In addition to the features provided by Google&#8217;s AdWords Editor, Microsoft adCenter Desktop also provides tools to help advertisers research and select additional keywords.</p>
<p>Microsoft lags behind Google and Yahoo in market share for pay per click (PPC) advertising.  One problem faced by Microsoft has been advertisers&#8217; reluctance to spend the time and effort to develop and expand ad campaigns for <a href="http://searchengineland.com/080514-121530.php">Microsoft&#8217;s 6.3% of the market, versus Google&#8217;s 67.9%</a>.  Microsoft hopes that adCenter Desktop will reduce &#8220;friction&#8221; by making it easier and faster to build Microsoft ad campaigns.</p>
<p>Reducing friction for advertisers is just part of Microsoft&#8217;s battle against Google. Yesterday <a href="http://searchengineland.com/080602-090000.php">Microsoft announced a deal with HP</a> to provide Microsoft Live search as the default feature on new HP computers.  &#8220;Search still has a unique value proposition. It is not a commodity today,&#8221; said Menezes, who emphasized Microsoft&#8217;s commitment to winning a larger share of the search market by providing a better service to users and better quality clicks to advertisers.</p>
<p>Moves by Microsoft to intensify competition against Google are likely to be welcomed by the search marketing industry.  Industry analyst Jim Hedger of Webmaster Radio said, &#8220;I think most people in the search marketing community supported the Microsoft attempt to acquire Yahoo!, not because it was the best thing for Microsoft or Yahoo!, but because it would create competition in an area where there isn&#8217;t any currently.  Competition is good.  It keeps prices down, refines systems, and keeps all players honest.&#8221;</p>
<p>Advertisers in good standing, meaning those who are in compliance with adCenter terms and conditions and who have an active account, are eligible to join the adCenter Desktop beta test.  &#8220;Go to the <a href="http://advertising.microsoft.com/adcenter-beta-pilot-signup">online form</a>.  If you are qualified, you will probably get access fairly quickly,&#8221; said Menezes.</p>
<p><em>Jonathan Hochman has two computer science degrees from Yale. He is a principal of <a href="http://www.hochmanconsultants.com/">Hochman Consultants</a>, an internet marketing firm.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://searchengineland.com/microsoft-announces-adcenter-desktop-beta-during-smx-advanced-keynote-14127/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twelve Simple Ways To Write Search-Friendly HTML Code</title>
		<link>http://searchengineland.com/twelve-simple-ways-to-write-search-friendly-html-code-14109</link>
		<comments>http://searchengineland.com/twelve-simple-ways-to-write-search-friendly-html-code-14109#comments</comments>
		<pubDate>Fri, 30 May 2008 18:58:27 +0000</pubDate>
		<dc:creator>Jonathan Hochman</dc:creator>
				<category><![CDATA[SEO: General]]></category>

		<guid isPermaLink="false">http://searchengineland.com/beta/twelve-simple-ways-to-write-search-friendly-html-code-14109.php</guid>
		<description><![CDATA[This morning I was handing off a project to a developer and found myself ranting about the common mistakes developers make when coding HTML. These boneheaded mistakes can cause search engines to choke when it comes to indexing your websites. And its easy to avoid making these mistakes. Here&#8217;s how:

 
Don&#8217;t repeat yourself.  Use [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsearchengineland.com%2Ftwelve-simple-ways-to-write-search-friendly-html-code-14109"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsearchengineland.com%2Ftwelve-simple-ways-to-write-search-friendly-html-code-14109" height="61" width="51" /></a></div><p>This morning I was handing off a project to a developer and found myself ranting about the common mistakes developers make when coding HTML. These boneheaded mistakes can cause search engines to choke when it comes to indexing your websites. And its easy to avoid making these mistakes. Here&#8217;s how:</p>
<p><span id="more-14109"></span></p>
<ol> 
<li><a href="http://en.wikipedia.org/wiki/Don%27t_repeat_yourself">Don&#8217;t repeat yourself</a>.  Use server side includes for headers, footers, menus, and standard &lt;head&gt; items such as links to CSS documents and external JavaScript files. 
<li>Balance tags in <a href="http://en.wikipedia.org/wiki/Server_Side_Includes">server side includes</a>.  If an include file starts with &lt;div&gt; it should end with &lt;/div&gt;.  This way each file can be viewed in Dreamweaver design view, and includes files do not depend on each other. 
<li>Place JavaScript in external files and reference them as needed. 
<li>Each page must have a unique &lt;title&gt; and &lt;meta name=&#8221;description&#8221; content=&#8221;This is a sample.&#8221;&gt;.   Don&#8217;t put these in server side includes. 
<li>The title should be &lt;title&gt;Name of Company &#8211; Name of Page&lt;/title&gt; or &lt;title&gt;Name of Company &#8211; Name of Category &#8211; Name of Page&lt;/title&gt; unless you are told otherwise. 
<li>The description should be the first one or two meaningful sentences of content unless you are told otherwise. 
<li>Please make all links and references to images, CSS and JavaScript root relative by starting them with a slash, &quot;/&quot;.  If you use Dreamweaver, set the &#8220;Links relative&#8221; option to &#8220;Site root&#8221; in the Site Definition wizard.
Root relative links don&#8217;t break when files are moved from one directory to another. 
<li>Too many files in one directory makes things hard to find.  Use subdirectories. 
<li>Run your code through a <a href="http://validator.w3.org/">validator</a> and keep it clean.  Removing trivial errors makes real errors easier to spot. 
<li>Use CSS with HTML elements like &lt;div&gt;, &lt;span&gt;, &lt;p&gt;, &lt;h1&gt;, and so on, to format things.  Only use layout tables when they produce better results or cleaner code than CSS. 
<li>Use heading tags, unordered lists and numbered lists to organize content rather than spacer graphics and nested tables.. 
<li>Consistently use  the simplest URLs.  Link to &#8220;/&#8221; instead of &#8220;/index.php&#8221; or &#8220;/news/&#8221; instead of &#8220;/news/index.php&#8221;. </ol>
<p>These recommendations may help sites work better, make pages look good on different browsers and mobile devices, cause pages to load faster, save money, and boost search traffic. If you&#8217;d like to discuss or debate these ideas, meet me at <a href="http://searchmarketingexpo.com/advanced/2008/developer-day.php">SMX Advanced Developer Day</a>.</p>
<p><em>Jonathan Hochman has two computer science degrees from Yale. He is a principal of <a href="http://www.hochmanconsultants.com/">Hochman Consultants</a>, an internet marketing firm.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://searchengineland.com/twelve-simple-ways-to-write-search-friendly-html-code-14109/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Legitimate, Useful Subversion For Search Engine Marketers</title>
		<link>http://searchengineland.com/legitimate-useful-subversion-for-search-engine-marketers-13717</link>
		<comments>http://searchengineland.com/legitimate-useful-subversion-for-search-engine-marketers-13717#comments</comments>
		<pubDate>Tue, 08 Apr 2008 12:45:16 +0000</pubDate>
		<dc:creator>Jonathan Hochman</dc:creator>
				<category><![CDATA[SEM Tools]]></category>
		<category><![CDATA[SEO: General]]></category>

		<guid isPermaLink="false">http://searchengineland.com/beta/legitimate-useful-subversion-for-search-engine-marketers-13717.php</guid>
		<description><![CDATA[Often, the hardest part of any search engine optimization or marketing campaign is getting changes made to the website. Figuring out what to do is often easier than convincing all the stakeholders&#8212;including marketers, IT departments, web developers&#8212;to take the necessary actions, and coaching them along the way as they apprehensively take baby steps forward. As [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsearchengineland.com%2Flegitimate-useful-subversion-for-search-engine-marketers-13717"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsearchengineland.com%2Flegitimate-useful-subversion-for-search-engine-marketers-13717" height="61" width="51" /></a></div><p>Often, the hardest part of any search engine optimization or marketing campaign is getting changes made to the website. Figuring out what to do is often easier than convincing all the stakeholders&mdash;including marketers, IT departments, web developers&mdash;to take the necessary actions, and coaching them along the way as they apprehensively take baby steps forward. As search marketers, we also need to test web sites.  We always want to tweak things and see if we do better, and if not, we go back and try something else. We also work in teams.</p>
<p>Success in search marketing campaigns often depends on the nitty-gritty details of execution.  That is why I have spent a lot time investigating different tools that help automate our work flow and promote teamwork. One of my favorites goes by the apt and clever name of Subversion.</p>
<p><span id="more-13717"></span>
<img alt="subversion.jpg" src="http://searchengineland.com/images/subversion.jpg" width="496" height="511" /></p>
<p><a title="Subversion" href="http://subversion.tigris.org/">Subversion</a>, also known as SVN, is free open source software that provides revision control of source code, web pages, and other documents. Revision control means that all current and past versions of each file are saved, with notes about who edited them and what they did.  If a bold change goes terribly wrong, a few clicks restores a prior version of the site. Revision control also permits multiple editors to work on the same files without wrecking each others&#8217; work. After updating their local files, everybody can be confident that they have the latest versions. Most edit conflicts are automatically resolved.</p>
<p>Revision control software is much more efficient than ad hoc arrangements such as emailing files back and forth or using Dreamweaver&#8217;s FTP synchronization feature. A web server is for serving web pages, not for syncing files. Our Subversion server provides much faster data transfer, and Subversion tracks changes line by line, so it only transfers the lines that have changed, rather than whole files, saving even more time.</p>
<p>Here are a few situations where Subversion helps most:</p>
<p><strong>Eliminating the IT bottleneck.</strong> When a website is hosted in-house, the IT department often does not provide web server FTP access for security or management reasons. They usually want to control all changes, rightly so, because they are responsible. However, IT staff are busy or may lack experience in search optimization. It normally takes three times longer to teach a client how to fix their own website than to just do it for them. IT departments like Subversion because it saves them time and provides an audit trail and a reliable backup copy of the website in case the server ever suffers a meltdown. When a client is on Subversion, even if I do not have FTP access, I can still grab the latest copy of their website, make the necessary edits, and commit them to the repository. Then I ask the client to pull updated files from the repository, review the changes on a development server, and release them to the live site. Verifying and releasing a website update is faster, and requires fewer skills, than editing.</p>
<p><strong>Replacing content management systems.</strong> One of the selling points for content management systems is that clients can edit their own website, especially when multiple people are involved. Content management systems usually introduce design rigidity, causing website improvements to take longer and cost more. When websites have a catalog with thousands of parts, or a shopping cart, a content management system is obviously necessary, but when a website is just brochure-ware, content management systems can be a poor investment and an impediment to search marketing. With Subversion, we allow clients to use Dreamweaver or Contribute to edit sites themselves. Everybody on the team uses Subversion to coordinate changes, and if somebody wrecks the site, we can roll back to the prior version. With Subversion as a safety net, the editing process goes faster, and more people can have access.</p>
<p><strong>Delegating work.</strong>When managing staff, I need to see what they are doing and be able to jump in on a moment&#8217;s notice when help is needed. Having direct, immediate access to the source code makes it easy to fix a bug in the middle of the night when a client complains. I do not need to tell everybody &#8220;sync your files&#8221; or risk having them erase my change. Subversion handles that automatically. If a client emails a request, any employee can help themselves to the latest code from the repository, and make edits. Without Subversion, having more than one person working on a site risks confusion.</p>
<p><strong>Backups and using multiple computers.</strong>My nightmare scenario used to be losing my computer. What if it breaks? I&#8217;ve switched most of my business management tools to cloud computing, such as Basecamp and Freshbooks. But I still have a few important files on my machine, plus all the websites I am working on. Subversion provides secure cloud storage for all those critical files. Subversion makes both of my computers interchangeable. I can right click on any folder to quickly synchronize files from the repository.</p>
<p>Subversion has two components: a server that stores sets files (called modules) and a desktop client for accessing the server. The Subversion server can be installed locally or on a remote machine. I prefer to use a hosted service such as <a title="CVSdude" href="http://www.cvsdude.com/">CVSdude</a>, where they handle all the details for a nominal monthly fee. <a title="Tortoise SVN" href="http://tortoisesvn.net/">Tortoise SVN</a> is the most popular Subversion client for Windows. Tortoise asks for the URL of the repository, a user id, and a password.  All files in a module can be checked out, edited as needed, and then changes are committed. Tortoise integrates into Windows&#8217; File Explorer. Folders show a green check mark if they are current, or a red X when they have been changed.</p>
<p>In 2007 Forrester Research <a title="named Subversion" href="http://www.collab.net/forrester_wave_report/index.html">called Subversion</a> &#8220;the sole leader in standalone software configuration management (SCM).&#8221; When something that good is free, you think most people would use it. However, most search marketing professionals I speak with have never heard of Subversion.</p>
<p><em><a href="http://www.jehochman.com/">Jonathan Hochman</a> has two computer science degrees from Yale. He runs an Internet marketing consultancy and a web development shop.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://searchengineland.com/legitimate-useful-subversion-for-search-engine-marketers-13717/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Wikipedia To Reveal Web Traffic Data</title>
		<link>http://searchengineland.com/using-wikipedia-to-reveal-web-traffic-data-13557</link>
		<comments>http://searchengineland.com/using-wikipedia-to-reveal-web-traffic-data-13557#comments</comments>
		<pubDate>Wed, 12 Mar 2008 12:13:53 +0000</pubDate>
		<dc:creator>Jonathan Hochman</dc:creator>
				<category><![CDATA[Search Engines: Wikipedia]]></category>

		<guid isPermaLink="false">http://searchengineland.com/beta/using-wikipedia-to-reveal-web-traffic-data-13557.php</guid>
		<description><![CDATA[Before investing time and effort in search rankings, and even before setting client expectations, it makes sense to gather whatever intelligence you can about the keywords you&#8217;d like to rank for.  SEOs and webmasters have few reliable sources of information about the relationship between rankings and traffic. But Wikipedia&#8217;s traffic stats can help, offering [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsearchengineland.com%2Fusing-wikipedia-to-reveal-web-traffic-data-13557"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsearchengineland.com%2Fusing-wikipedia-to-reveal-web-traffic-data-13557" height="61" width="51" /></a></div><p>Before investing time and effort in search rankings, and even before setting client expectations, it makes sense to gather whatever intelligence you can about the keywords you&#8217;d like to rank for.  SEOs and webmasters have few reliable sources of information about the relationship between rankings and traffic. But <a href="http://stats.grok.se/">Wikipedia&#8217;s traffic stats</a> can help, offering some surprisingly detailed data.</p>
<p>Have you been searching for <a href="http://en.wikipedia.org/wiki/Jesus">Jesus</a>?  On Google, Wikipedia ranks first for that search. How much is that first place ranking worth?  According to <a href="http://stats.grok.se/">Wikipedia&#8217;s public traffic stats</a>, about 14k page views on a typical day, and 19.3k on Christmas.  The redirect <a  href="http://www.google.com/search?&amp;ie=utf-8&amp;oe=utf-8&amp;q=Jesus+Christ"> Jesus Christ</a>, which points to the same page, gets about 25% as much traffic, and <a href="http://en.wikipedia.org/wiki/Christ">Christ</a> adds another 10%.</p>
<p><span id="more-13557"></span>
Maybe you&#8217;re not the religious type. Have you been looking for <a href="http://www.google.com/search?ie=utf-8&amp;oe=utf-8&amp;q=Sex">sex</a>?  You are not alone, at least not online.  The top ranked sex page gets 45k views per day.  <a href="http://en.wikipedia.org/wiki/Love">Love</a> only gets 18k per day. Wikipedia readers prefer sex to love by a 5:2 ratio.  Even on February 14th, St. Valentine&#8217;s Day, the power of love peaks at just 31k.  <a  href="http://en.wikipedia.org/wiki/Virgin"">Virginity</a>, also listed first, gets relatively little action with 1.7k dailies.</p>
<p>While sex is a consistently popular topic, regardless of current events, news-related articles show much more traffic variation.  The article on <a href="http://en.wikipedia.org/wiki/Waterboarding">waterboarding</a>, ranking first, ran between 2.8k and 74.6k visitors per day during February 2008.</p>
<p><img alt="waterboarding.jpg" src="http://searchengineland.com/images/waterboarding.jpg" width="516" height="203" /></p>
<p>A total of 465k people viewed the article that month.  Since the United States presidential election season began, editors have been fighting over the article lead that says, &#8220;Waterboarding is a form of torture.&#8221;  The  phrase appears on the search engine results pages in a way that creates severe negative publicity for the Bush Administration.  Several conservative editors have tried every which way to remove the incriminating phrase from Wikipedia.  They finally became such nuisances that they were banned from editing.</p>
<p><a href="http://en.wikipedia.org/wiki/Barack_Obama">Barack Obama</a>, <a href="http://en.wikipedia.org/wiki/Hilary_Clinton">Hillary Clinton</a>, and <a href="http://en.wikipedia.org/wiki/John_McCain">John McCain</a> have wiki pages that rank third. Wikipedia blows away both Democratic Senators&#8217; official web pages, but not the two campaign sites with their multi-million dollar budgets. Barack had 2.6 million monthlies to Hillary&#8217;s 858k.  John McCain had a respectable 1.6 million views. George W. Bush  was the wallflower with 106k views (but he is still more popular than virginity).  When compiling these stats, I added variations together, such as Hillary Clinton and Hillary Rodham Clinton, because redirects generate separate totals.</p>
<p>The top organic ranking for <a href="http://en.wikipedia.org/wiki/Search_engine_optimization">search engine optimization</a> gets 4.3k page views per day.  A Search Engine Land <a href="http://searchengineland.com/070807-085103.php">article</a> that received 788 Diggs generated about 8k page views in about 24 hours.  So the wiki article is equivalent to going popular on Digg every other day.  I can assure you that writing one featured Wikipedia article is much easier than writing three articles per week that make the home page of Digg.</p>
<p>How about the article on <a href="http://en.wikipedia.org/wiki/Danny_Sullivan_%28technologist%29">Danny Sullivan (technologist)</a>? Wikipedia ranks seventh, behind Search Engine Land, Search Engine Watch, Danny&#8217;s personal blog, and the wiki article about race car driver Danny Sullivan.  Seventh is not worth much: just 45 people per day view the article.</p>
<p>Wikipedia biographies of living people frequently appear in third position, right behind the subject&#8217;s own website. For instance, <a href="http://en.wikipedia.org/wiki/Matt_Cutts">Matt Cutts&#8217;</a> article draws 75 to 128 visitors per day, <a href="http://en.wikipedia.org/wiki/Vanessa_Fox">Vanessa Fox&#8217;s</a> 20 to 44, and <a  href="http://en.wikipedia.org/wiki/Jason_Calacanis">Jason Calacanis&#8217;</a> 100 to 500, depending on how badly he behaves and whether his friends and foes are monkeying the article, as they <a  href="http://en.wikipedia.org/w/index.php?title=Jason_Calacanis&amp;diff=196761011&amp;oldid=196198220">often do</a>.  If you are thinking about creating an article to promote something, given the modest traffic volumes drawn by these rather high profile people, you might want to think of something else.  Articles generate traffic when the search term already has volume.  Creating a new page does not cause people to search for it.</p>
<p>Let&#8217;s look at one more example. Say a network of travel blogs writes a business plan predicting 2 million page views per month within a year.  What does that mean, and how successful would the site have to be to hit those numbers?  Clues are freely available. Wikipedia ranks second on Google for New York, Los Angeles, Paris, and London, and first for Tokyo, Moscow, Sydney, and Hong Kong.  Those eight articles generate a total of 1.9 million page views per month.  I personally would not put my name on that business plan.</p>
<p><i><a href="http://www.jehochman.com/">Jonathan Hochman</a> has two computer science degrees from Yale. He runs an Internet marketing consultancy and a web development shop.</i></p>
]]></content:encoded>
			<wfw:commentRss>http://searchengineland.com/using-wikipedia-to-reveal-web-traffic-data-13557/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virtual Blight &amp; The Ten Commandments For Online Marketers</title>
		<link>http://searchengineland.com/virtual-blight-the-ten-commandments-for-online-marketers-13386</link>
		<comments>http://searchengineland.com/virtual-blight-the-ten-commandments-for-online-marketers-13386#comments</comments>
		<pubDate>Mon, 18 Feb 2008 11:00:59 +0000</pubDate>
		<dc:creator>Jonathan Hochman</dc:creator>
				<category><![CDATA[Search Marketing: General]]></category>
		<category><![CDATA[Social Media Marketing]]></category>

		<guid isPermaLink="false">http://searchengineland.com/beta/virtual-blight-the-ten-commandments-for-online-marketers-13386.php</guid>
		<description><![CDATA[Among the most powerful trends of the last three years has been the emergence of community/social media/social-networking sites with large user bases and incredible traffic. The traffic enjoyed by these successful virtual communities creates financial incentives for bad actors who want to hijack traffic for their own purposes. The open participation inherent in user generated [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsearchengineland.com%2Fvirtual-blight-the-ten-commandments-for-online-marketers-13386"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsearchengineland.com%2Fvirtual-blight-the-ten-commandments-for-online-marketers-13386" height="61" width="51" /></a></div><p>Among the most powerful trends of the last three years has been the emergence of community/social media/social-networking sites with large user bases and incredible traffic. The traffic enjoyed by these successful virtual communities creates financial incentives for bad actors who want to hijack traffic for their own purposes. The open participation inherent in user generated content provides numerous opportunities for the parasitic marketer.</p>
<p>Exploits can take the form of spam posts, sock puppetry, trust fraud, and scams that use social engineering to take advantage of the good faith users. The exploit may also be by way of paid advertising that promote illicit or illegal activities (porn, pills, casinos, and payday lenders) or ads that insert malware on users&#8217; computers. These anti-social and sometimes criminal activities are generally carried out despite the wishes of the site owners and community residents.</p>
<p>In the physical world, spam, scams, and unsavory promotions have parallels: billboards, liquor stores, and payday lenders on every street, and prostitutes and hustlers on every corner. These are the telltale signs of urban blight in a community and, left unchecked, lead to abandoned and neglected property and a spiral of decay. Urban blight creates flight; anyone who can afford to leaves.</p>
<p>Virtual blight in an online community drives away &#8220;respectable&#8221; traffic and depreciates the contributions of community members, reducing or destroying the value of a brand. Internet marketers invest substantial effort and money to make their websites successful and build a brand. To preserve that brand from the ravages of blight, marketers need to consciously combat it on their own sites and ensure that their marketing efforts do not create or fund blight on other sites.</p>
<p><span id="more-13386"></span>
<b>The Ten Commandments for online marketers</b></p>
<ol> 
<li><b>There is one Internet. It is a shared resource.</b> Any marketing strategy that relies on polluting the internet by pushing unwanted noise into community space is suspect. It is one thing to strategically place information scent that leads users to your site; it is another to spray that scent on every tree and fire hydrant.</p>
<li><b>You shall use neither bots nor macros to create links, nor spread comments promoting your site.</b> Spambots can not only cause your site to be banished by search engines, they leave a huge footprint across the web and can tarnish your brand with a stink that can&#8217;t be washed off!
<li><b>You shall not allow your advertising and affiliate dollars to go to scrapers, scammers, nor spammers.</b></li>
<p> Advertising budgets are the fuel that drives the spread of blight across the internet. Make sure your money is not promoting blight even if you must forsake short term profits in favor of protecting your brand. While it is easy and tempting to pour money into any channel with a positive ROI, you may be cannibalizing your brand in the process. Even if your strategy is making money and your brand survives, you are funding parasites who devalue the communities that support your business.</p>
<li><b>Honor your visitors. Do not sell impressions or links to companies you do not vet.</b> As a publisher, you are endorsing your advertisers every bit as much as if you give them an editorial link. Caveat Emptor may be the motto of cut throat capitalism, but it is not a good strategy to protect your brand. If you are not satisfied with the moral and ethical practices of your advertisers, do not sell them advertising. Syndicated advertising networks offer an easy path to monetizing traffic in the short term but you risk associating yourself with the sites where you advertise.
<li><b>You shall not make use of sock puppet accounts for vote stacking, spamming friend requests, nor other schemes.</b> Sock puppetry and false friending is so obviously a form of fraud that no one can argue it is an ethical practice. Do not succumb to the argument that others are doing it if you want to build a sustainable business.
<li><b>You shall not form cabals nor engage in elitist plots to disenfranchise people.</b> Karma matters. If you treat others badly, they will eventually form a mob and come after you.
<li>You shall not grieve other users by spoiling their fun, troll, nor post flame bait to get attention. Acting up to gain attention only works for a short while, then you get banned, filtered, and ignored.
<li><b>You shall not scrape content, plagiarize, nor assist in the theft of virtual assets.</b> Stealing content is stealing, simple as that. Scraper sites are the most prolific and pernicious form of Made For Advertising (MFA) sites.
<li><b>You shall not distribute badware, scumware, spyware, nor malicious bots.</b> This point is so self-evident it shouldn&#8217;t have to be mentioned, except that the proliferation of Malware is accelerating and the potential damage it can cause is frightening. Criminal activities ranging from identify theft, transaction fraud, click fraud, and distributed denial of service attacks are all being carried out by botnets that contain hundreds of thousands of compromised machines. Most of the global spam problem can be traced to these compromised computers as well. Despite the clearly criminal nature of malware, Google recently estimated that <a href="http://searchengineland.com/080213-090126.php">1.3% of search result pages</a> contained a link to a site that potentially could infect the user&#8217;s computer. Most of these exploits are distributed via Iframe injection through advertising networks.
<li><b>You shall not covet your neighbor&#8217;s traffic, nor engage in parasitic marketing.</b> If somebody is doing well, give them a pat on the back instead of trying to pick their pockets.
</ol>
<p>The commandments represent what Internet users already expect. Unfortunately, many players rationalize their own breaches whenever a little cheating is profitable. We, the Internet community, need to take a stand against blight. Major online properties need a code of conduct to ensure that they do not contribute to the problem, and they also need best practices for controlling blight. Investors should ask managers what they are doing to protect the value of online assets. Everybody needs to worry when the next advance in black hat technology has the potential to turn billion dollar web properties into a slag dump.</p>
<p><i><a href="http://www.jehochman.com/"><em>Jonathan Hochman</a> has two computer science degrees from Yale. He runs an Internet marketing consultancy and a web development shop. Jonah Stein, who contributed to this article, is Managing Director of www.AlchemistMedia.com, an SEO/SEM Agency and creator of www.VirtualBlight.com, a site dedicated to organizing Netizens Against Online Spam, Scams &#038; Scoundrels.</i></p>
]]></content:encoded>
			<wfw:commentRss>http://searchengineland.com/virtual-blight-the-ten-commandments-for-online-marketers-13386/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>URL Rewriting &amp; Custom Error Pages In ASP.NET 2.0</title>
		<link>http://searchengineland.com/url-rewriting-custom-error-pages-in-aspnet-20-12234</link>
		<comments>http://searchengineland.com/url-rewriting-custom-error-pages-in-aspnet-20-12234#comments</comments>
		<pubDate>Fri, 21 Sep 2007 11:57:24 +0000</pubDate>
		<dc:creator>Jonathan Hochman</dc:creator>
				<category><![CDATA[SEO: Redirects & Moving Sites]]></category>

		<guid isPermaLink="false">http://searchengineland.com/beta/url-rewriting-custom-error-pages-in-aspnet-20-12234.php</guid>
		<description><![CDATA[Recently I&#8217;ve been working on several ASP.NET 2.0 sites and had to research the best ways to set up URL rewriting, permanent redirects, and custom error pages. ASP.NET 2.0 is a popular platform for building corporate websites.&#160; Among my clients, this solution seems to be very popular with medium to large corporations who have an [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsearchengineland.com%2Furl-rewriting-custom-error-pages-in-aspnet-20-12234"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsearchengineland.com%2Furl-rewriting-custom-error-pages-in-aspnet-20-12234" height="61" width="51" /></a></div><p>Recently I&#8217;ve been working on several ASP.NET 2.0 sites and had to research the best ways to set up URL rewriting, permanent redirects, and custom error pages. ASP.NET 2.0 is a popular platform for building corporate websites.&nbsp; Among my clients, this solution seems to be very popular with medium to large corporations who have an Information Technology department to run their website.</p>
<p><span id="more-12234"></span>
The World Wide Web uses a <a href="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol">Hypertext Transfer Protocol (HTTP)</a> to connect user programs (browsers) with web servers. Each HTTP request from a browser causes the server to return a response. That response includes a header, with a  status code, and maybe some content such as a web page. Using the correct status codes can have a significant impact on search engine optimization.&nbsp;</p>
<p>For instance, when you permanently move a page, if somebody goes to the old address, you want to make sure your server returns status code 301, Moved Permanently, with the new address for the page. This helps search engines and users find the new page location, and ensures that PageRank transfers over.</p>
<p>When deleting a page, you usually want the user to get a custom error page with your branding and navigation that leads them to useful places on your site. You also want the server to return status code 404, Not Found, so search engines delete the page from their indices.</p>
<p>Shari Thurow provides a good explanation when to use each of these methods in <a href="http://searchengineland.com/070906-073229.php">Don&#8217;t Abuse Users&#8217; Search Experience With 301 Redirects</a>.</p>
<p>How can you tell whether you have an ASP.NET 2.0 server? You can ask your hosting provider or IT department, or you can use software, such as the <a href="http://chrispederick.com/work/web-developer/">Web Developer</a> extension for Firefox, to inspect the server response headers.</p>
<p><b>URL rewriting</b></p>
<p>I started my research at Google. Unfortunately for Microsoft, the second search result for &#8220;URL rewriting ASP.NET 2.0&#8243; was <a href="http://www.dotavery.com/blog/archive/2005/11/06/5890.aspx">ASP.NET 2.0 Url Rewriting crippled to the point of uselessness</a>. The fourth result was Matt Cutts&#8217; post, <a href="http://www.mattcutts.com/blog/asp-net-2-and-url-rewriting-sometimes-harmful/">ASP.NET 2 + url rewriting considered harmful in some cases</a>. Not only does Microsoft have problems with their product, they also seem to have challenges with SEO and reputation management.</p>
<p>Microsoft&#8217;s URL rewriting technology does not inspire much confidence. Fear not.  I have a  workaround that produces excellent results. <a href="http://www.isapirewrite.com/">ISAPI_rewrite</a> from Helicon software costs $99, and allows you to specify URL rewriting and redirects via an httpd.ini file in the root directory of your site. Free-standing configuration files like httpd.ini (or .htaccess in Apache) are very convenient because you only need FTP access to set up URL rewriting and redirects. The only downside with ISAPI_rewrite is that you have to convince your hosting provider or IT department to install the software.</p>
<p>ISAPI_rewrite&#8217;s httpd.ini file uses syntax that&#8217;s easy to learn if you already know .htaccess and Apache mod_rewrite. Here&#8217;s sample code:</p>
<pre># Page moved to new location. Return a 301 redirect
RewriteRule /oldurl.aspx /newurl.aspx [RP, I]</pre>
<p>Here&#8217;s a more complicated example that shows how to canonicalize URLs to a standard hostname. You have to replace both instances of &#8216;test&#8217; with your domain name, and you can delete the www subdomain if you prefer not to use it.</p>
<pre># Canonicalize URLs to use a standard hostname
RewriteCond Host: (?!^www\.test\.com$).*RewriteRule (.+) http\://www.test.com$1 [RP,I]</pre>
<p>ISAPI_rewrite can also convert URLs into user-friendly formats if you have an e-commerce shop or catalog.</p>
<p><b>Custom error pages</b></p>
<p>ASP.NET 2.0 offers a quick and easy way to set up custom error pages. Yes, it&#8217;s quick, easy <em>and</em> <strong>broken</strong>. According to Microsoft, the way to set up custom error pages for ASP.NET sites is via the Web.config file by adding code like this:</p>
<pre>&lt;configuration&gt;
&lt;system.web&gt;
&lt;customErrors mode=&quot;On&quot; defaultRedirect=&quot;pageerror.aspx&quot;&gt;
&lt;error statusCode=&quot;404&quot; redirect=&quot;404.aspx&quot; /&gt;
&lt;/customErrors&gt;
&lt;/system.web&gt;
&lt;/configuration&gt;</pre>
<p>If you follow Microsoft&#8217;s advice, you&#8217;ll get a double whammy. First, when somebody requests a non-existent .aspx file from your server, they will receive a 302 temporary redirect to your error page, and then the error page will return code 200. These codes tell search engines to keep the deleted page in the index, exactly the opposite of what you want them to do!</p>
<p>To work around this ASP.NET deficiency, use ISAPI rewrite to create rewrite rules for the deleted pages to direct traffic to a custom 404 page called 404.aspx. This won&#8217;t work if somebody types in a bad URL, but as a practical matter we&#8217;re most interested in trapping errors caused by inbound links to deleted pages. By using wildcards, it&#8217;s easy enough to rewrite all your deleted URLs to the custom 404 page. When trapping errors, we silently rewrite the URL to avoid returning a redirect. Here&#8217;s sample rewrite code for the httpd.ini configuration file:</p>
<pre># remove all pages in the 2005 catalog and show custom error page
RewriteRule /catalog_2005/.* /404.aspx</pre>
<p>In the custom error page, 404.aspx, include the following code to generate a 404 Not Found header status-code:</p>
<pre>&lt;script runat=&quot;server&quot;&gt;
private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = &quot;404 Not Found&quot;;
}
&lt;/script&gt;</pre>
<p>When users or search engine bots follows a link to a deleted page, they will get your custom error page containing useful navigation and a 404 status code.</p>
<p>As with many things in SEO, details are important. When setting up redirects and custom error pages, be sure to test all realistic scenarios to make sure you deliver the proper status codes. As suggested by Cutts, the <a href="http://livehttpheaders.mozdev.org/">Live HTTP Headers</a> add-on for Firework is an excellent tool for debugging redirects and error pages.</p>
<p><a href="http://www.jehochman.com/"><em>Jonathan Hochman</em></a><em> has two computer science degrees from Yale. He runs an Internet marketing consultancy and a web development shop.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://searchengineland.com/url-rewriting-custom-error-pages-in-aspnet-20-12234/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Microsoft adCenter Offers Appealing Upgrade</title>
		<link>http://searchengineland.com/microsoft-adcenter-offers-appealing-upgrade-12122</link>
		<comments>http://searchengineland.com/microsoft-adcenter-offers-appealing-upgrade-12122#comments</comments>
		<pubDate>Mon, 10 Sep 2007 10:54:04 +0000</pubDate>
		<dc:creator>Jonathan Hochman</dc:creator>
				<category><![CDATA[Microsoft: adCenter]]></category>

		<guid isPermaLink="false">http://searchengineland.com/beta/microsoft-adcenter-offers-appealing-upgrade-12122.php</guid>
		<description><![CDATA[Microsoft upgraded the adCenter user interface early Saturday morning. Within each ad group, the Keywords tab now shows complete statistics and provides editable boxes so the user can change bids on that same screen. In previous versions of adCenter the keyword statistics were presented on one page, and editing happened on a different page. Switching [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsearchengineland.com%2Fmicrosoft-adcenter-offers-appealing-upgrade-12122"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsearchengineland.com%2Fmicrosoft-adcenter-offers-appealing-upgrade-12122" height="61" width="51" /></a></div><p>Microsoft upgraded the <a href="https://adcenter.microsoft.com/">adCenter</a> user interface early Saturday morning. Within each ad group, the Keywords tab now shows complete statistics and provides editable boxes so the user can change bids on that same screen. In previous versions of adCenter the keyword statistics were presented on one page, and editing happened on a different page. Switching from page to page was clumsy and made campaign management more costly because of the time involved.</p>
<p><span id="more-12122"></span>
&#8220;We&rsquo;d heard a lot of feedback from customers that when it came to modifying keywords they wanted to see performance data with the bidding functionality&ndash;and this new integrated page tries to solve for this,&#8221; said Natala Menezes, adCenter product manager.</p>
<p><img alt="adcenter-screen.gif" src="http://searchengineland.com/images/adcenter-screen.gif" width="541" height="224" /></p>
<p>Microsoft has made a variety of other improvements, including better navigation and faster page loads. You can find complete details by reading the <a href="http://msmedia.microsoft.com/Key=8120.Sl2.C.C.CvW9Pw">Feature Release Guide</a>. Microsoft now uses an Account, Campaign, and Ad Group hierarchy, just like Google AdWords. That makes it much easier to adapt from one platform to the other. Previously Microsoft had objects called  &#8220;Orders&#8221; which confused everybody.</p>
<p>If you haven&#8217;t used adCenter recently, take another look. With the improved user interface it may be worthwhile to build or expand your campaigns.</p>
<p><em><a href="http://www.jehochman.com/">Jonathan Hochman</a> has two computer science degrees from Yale. He runs an Internet marketing consultancy and a web development shop.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://searchengineland.com/microsoft-adcenter-offers-appealing-upgrade-12122/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
