SlideShare a Scribd company logo
Advanced SEO  for   Web Developers Nathan Buggia Lead Program Manager Microsoft Webmaster Center
Nike.com
User Experience
Search Engine Experience
The Real Search Engine Experience
So What?
So What?
Alternate Implementation Nikhil’s Design Pattern -  http://www.nikhilk.net/AjaxSEO.aspx
Big Hard Problems Affiliate/ URL Tracking Session management Rich internet applications Duplicate content (canonicalization) Geo-location Understanding analytics Redirection Error management …
Hello, I’m Nathan Buggia Webmaster Center Am I being indexed? Are there any penalties? How to submit sitemaps? --------------- Support Feedback  News And they need it by when?!? … and they need more tools, and data and technical info, and 302s…
Define: SEO
SEO != SPAM
SEO = Good design Online Resources:  www.aslistapart.org www.seomoz.org www.sitepoint.com
How search works 1. Crawling 2. Ranking (PageRank) Index Query Parsing Dynamic Ranking 3. Searching
QUESTIONS?
BUILDING PAGES
Use HTML Semantically <h1> My Article Title </h1> <p> Scientists reported Wednesday… </p> <span class=“heading1”> My Article Title </span> <p> Scientists reported Wednesday… </p>
Proper use of common tags <h1>, <h2>, <h3> Did you know there is only 1 per page? They signify the most important topic on the page. <meta name=“description” content=“”> Description tag is a must; make it short & sweet and unique to the page. You don’t need a keyword tag. <noscript> Actually useful to search engines and people with down-level experiences. <title> Description tag is a must; make it short & sweet and unique to the page. You don’t need a keyword tag. <a> Did you know there is only 1 per page? They signify the most important topic on the page. More Information Click Here SEO Presentation (Web 2.0),  Download Pac Man 1.3
Improper use of common tags <blink> Really, I’m just kidding. Did you know MSFT never implemented support for this? When are they going to get onboard with HTML standards! (Still works in Firefox though!) <frame> If you use this, other web developers will mock you. Are you prepared for that kind of ridicule? <script> No links or redirects locked behind a script tag <img alt=“”> Don’t forget to include a description for search engines, and folks with slow connections. <meta>  (the crazy ones: Refresh, Robots/Index,Follow) You can get caught up in supporting every last meta tag, don’t! Focus on the  REP , and Description.
Rich internet applications Email, TurboTax, Admin Tools Classification Example SEO Capabilities Best Used for Monolithic Application has 1 URL for the world to see, and is a black box beyond that. Like hosting a rich application online. Entry point indexed Private data Long usage sessions Desktop-level functionality Linkable Application is a black box, but there are multiple URL entry-points for collaboration .  Full site indexed Multiple entry points Shareable Crawlable Application is a small black box meant to spice up a content rich page. Full site indexed and well ranked ecommerce Content Community/ Viral http://finance.yahoo.com http://giffy.com
ASP.Net & Silverlight Watch out for ASP.Net post-backs, engines cannot crawl those URLs XHTML compliance in ASP.Net Whitepaper XHTML Compatibility Pack How to optimize Silverlight for search
Flash: Graceful Degradation Use Scalable Inman Flash Replacement (sIFR) Uses JavaScript to render HTML in Flash Can slow down page loading times Or use SWFObject to detect no Flash support Displays HTML instead Ensure content is exactly the same or could have issues with search engine guidelines
AJAX and JavaScript Use the <noscript> tag! <head> <title>Title Of Your Site</title> <meta name=&quot;Description&quot; content=”description of this page&quot;/> </head> <body> Call AJAX and JavaScript here <script type=&quot;text/javascript&quot;> <!--document.write(”content&quot;)//--> </script> <noscript> <p>Same content as in JavaScript</p> </noscript> </body> <html> Include static HTML links to an HTML page with the same content AJAX with progressive enhancement (Hijax)
QUESTIONS?
ARCHITECTING NAVIGATION
Classing up your URLs http://store1.com/product.aspx?id=MB147L&SessionId=2344&RegionCode=en-US&format=rich&cat=3 http://store2.com/mp3_players/Apple_ipod_nano_16_G2_Black/ http://store3.com/mp3-players/Apple-ipod-nano-16-G2-Black/ store3.com mp3 Players apple ipod nano 16 G2 Black store2.com mp3_players Microsoft_Zune_80_G2_Black store1.com product.aspx id=MB147L SessionId=2344 RegionCode=en-US format=rich cat=3
HTTP status codes 200 OK W3 standard for HTTP Status Codes 304 Not Modified 404 Gone 301 Moved Permanently 302 Moved Temporarily
What is the difference? oreilly.com oreilly.com/index.csp www.oreilly.com www.oreilly.com/index.csp What’s the difference?
Canonicalization in action Check your site’s canonical forms using:  Yahoo’s Site Explorer Canonical Form # Sites Linking In oreilly.com 25,030 oreilly.com/index.csp 0 www.oreilly.com 1,174,124 www.oreilly.com/index.csp 0
Canonicalization Recommendation 1) Chose www vs. non-www, 301 redirect one to the other Detailed article on the issue from Matt Cutts www.mysite.com      mysite.com  3) Make all internal links to the correct canonical form 4) Use Google Webmaster Tools to select www vs non-www. 2) Trim your folder-level default filename off the end mysite.com/default.aspx      mysite.com
ASP.Net URL Rewriting in ASP.Net Implementation whitepaper Work around for 404 error pages Implementing Redirects in ASP.Net Implementing Redirects in IIS ASP.Net URL session state management
Asp.Net Custom Error Pages HTTP/1.x 302 Found Location:  http://www.globalscholar.com/Error.aspx GET /Error.aspx HTTP/1.1 Host:  www.globalscholar.com Note: See:  http://www.colincochrane.com/post/2008/01/ASP-NET-Custom-Errors-Preventing-302-Redirects-To-Custom-Error-Pages.aspx
ASP.Net 301 Redirects <script> protected void Page_Load(object sender, EventArgs e)  {     Response.Status = &quot;301 Moved Permanently&quot; ;     Response.AddHeader(&quot;Location&quot;, &quot;http://mysite.com/new-URL&quot;);  } </script> Include in any *.aspx file… (you don’t need a code behind file)
Other Redirects PHP <?php // Permanent redirection header(&quot;HTTP/1.1 301 Moved Permanently&quot;); header(&quot;Location: http://www.domain.com/&quot;); exit(); ?> Cold Fusion <CFHEADER statuscode=&quot;301&quot; statustext=&quot;Moved Permanently”> <CFHEADER name=&quot;Location&quot; value=&quot;http://www.domain.com/&quot;> JSP <% response.setStatus(301); response.setHeader( &quot;Location&quot;, &quot;http://www.new-url.com/&quot; ); response.setHeader( &quot;Connection&quot;, &quot;close&quot; ); %>
ASP.Net Canonicalization protected void Application_BeginRequest(Object sender,  EventArgs e)  {  if (HttpContext.Current.Request.Url.ToString().ToLower().Contains(       &quot;http://www.mysite.com&quot;))  {       HttpContext.Current.Response.Status = &quot;301 Moved Permanently&quot;;       HttpContext.Current.Response.AddHeader(&quot;Location&quot;,           Request.Url.ToString().ToLower().Replace(               &quot;http://www.mysite.com&quot;,               &quot;http://mysite.com&quot;));  } } Create in your Global.asax file…. More information and examples:  http://search.live.com/results.aspx?q=301+redirect+asp.net
IIS 301 Redirects Click here for a whitepaper
Apache Redirects Use .htaccess file for bulk operations: Moving a single page Redirect 301 /oldpage.html http://www.example.com/newpage.html Moving a site (and redirecting everything to the home page) Redirect 301 / http://www.example.com Changing file extension RedirectMatch 301 (.*)\.html$ http://www.example.com$1.php
Apache Canonicalization Use .htaccess for bulk operations: Non-www to www (need mod_rewrite enabled) Options +FollowSymlinks RewriteEngine on rewritecond%{http_host} ^domain.com [nc] rewriterule^(.*)$ http://www.domain.com/$1 [r=301,nc]] Index page to root domain Options +FollowSymLinks RewriteEngine on # index.php to / RewriteCond%{THE_REQUEST} ^[A-Z]{3, 9}\ /.*index\.php\ HTTP/ RewriteRule^(.*)index\.php$ /$1 [R=301,L]
Other Redirect Code Perl #! /usr/bin/perl use cgi; my $q = cgi->new(); print $q->redirect( -location => 'http://www.newsite.com/newpage.cgi’, -status => 301, ); ss
QUESTIONS?
SEO ROOT-CAUSE ANALYSIS
Where to start 1) Branded Search 2) Keywords you want to rank for
What to look for Is my site showing up on the first page? Is my page indexed at all? (site: operator) Does the SERP result look compelling? Something that gets people excited to click-on Good title, description, correct URL Should your page be cached?
How to debug (Reference) Accessibility Check navigation to see if a search engine can access your page Check your REP to see if the search engine has permission to access Check if the search engine can parse your page Ranking How many people are linking in? Do you have canonicalization issues? What anchor text are they using? How are you linking internally to these pages? Content Do you have good, unique content on your pages? Are you using the language of your customers? Is your information Architecture optimized?
Tools of the Trade Accessibility Webmaster Tools ( Live Search ,  Google ) Firebug Developer Toolbar User Agent Switcher Live HTTP Headers Html Validator Ranking Live Search Webmaster Tools Rank Checker Yahoo Site Explorer Content AdCenter Excel Keyword Add-in http://www.vanessafoxnude.com/2008/04/02/diagnosing-site-infrastructure-issues-the-big-list-of-the-best-firefox-plugins/
Instrument everything important Web Metrics Conversion Customer Information! http://google.com/analytics http://adcenter.microsoft.com/analytics http://google.com/websiteoptimizer
Summary Design for your customers Be smart about robots Enjoy long-lasting success
Thank you! Slides:  http://nathanbuggia.com/post/Web-20-Expo-Advanced-SEO-for-Developers.aspx   Diagnostic checklists: http://janeandrobot.com/admin/Pages/seo-developer-accessibility-checklist.html http://janeandrobot.com/admin/Pages/seo-developer-discoverability-checklist.html Contact Me: Blog:  http://nathanbuggia.com   Twitter:  http://www.twitter.com/nathanbuggia

More Related Content

PPT
Advanced SEO for Web Developers
PDF
How I learned to stop worrying and love the .htaccess file
PPTX
SearchLove London 2016 | Dom Woodman | How to Get Insight From Your Logs
PPTX
A Crash Course in Technical SEO from Patrick Stox - Beer & SEO Meetup May 2019
PPTX
Rendering SEO (explained by Google's Martin Splitt)
PDF
Brighton SEO Sept 2019 PowerShell
PPTX
How to build simple web apps to automate your SEO tasks - BrightonSEO Spring ...
PDF
Seo cheat sheet_2-2013
Advanced SEO for Web Developers
How I learned to stop worrying and love the .htaccess file
SearchLove London 2016 | Dom Woodman | How to Get Insight From Your Logs
A Crash Course in Technical SEO from Patrick Stox - Beer & SEO Meetup May 2019
Rendering SEO (explained by Google's Martin Splitt)
Brighton SEO Sept 2019 PowerShell
How to build simple web apps to automate your SEO tasks - BrightonSEO Spring ...
Seo cheat sheet_2-2013

What's hot (20)

PPTX
JavaScript SEO Ungagged 2019 Patrick Stox
PPTX
Troubleshooting SEO for JS Frameworks - Patrick Stox - DTD 2018
PPTX
The New Renaissance of JavaScript
PPTX
What's Next for Page Experience - SMX Next 2021 - Patrick Stox
PPTX
React JS and Search Engines - Patrick Stox at Triangle ReactJS Meetup
PPT
A Technical Look at Content - PUBCON SFIMA 2017 - Patrick Stox
PDF
The Ultimate Guide to Scrapebox - The Only Scrapebox Tutorial You Need
PPTX
5 Time-Saving SEO Alerts to Use Right Now - brightonSEO 2019
PPTX
Technical SEO: Crawl Space Management - SEOZone Istanbul 2014
PPTX
SMX Advanced 2018 SEO for Javascript Frameworks by Patrick Stox
PDF
FoundConf 2018 Signals Speak - Alexis Sanders
PDF
Browser Changes That Will Impact SEO From 2019-2020
PPTX
.htaccess for SEOs - A presentation by Roxana Stingu
PDF
Debugging rendering problems at scale
PDF
Hey Googlebot, did you cache that ?
PPTX
Microdata semantic-extend
PDF
Rendering SEO Manifesto - Why we need to go beyond JavaScript SEO
PDF
Crawl Budget - Some Insights & Ideas @ seokomm 2015
PDF
Challenges of building a search engine like web rendering service
PDF
Barry Adams - Search in a screenless world - Nottingham Digital Summit
JavaScript SEO Ungagged 2019 Patrick Stox
Troubleshooting SEO for JS Frameworks - Patrick Stox - DTD 2018
The New Renaissance of JavaScript
What's Next for Page Experience - SMX Next 2021 - Patrick Stox
React JS and Search Engines - Patrick Stox at Triangle ReactJS Meetup
A Technical Look at Content - PUBCON SFIMA 2017 - Patrick Stox
The Ultimate Guide to Scrapebox - The Only Scrapebox Tutorial You Need
5 Time-Saving SEO Alerts to Use Right Now - brightonSEO 2019
Technical SEO: Crawl Space Management - SEOZone Istanbul 2014
SMX Advanced 2018 SEO for Javascript Frameworks by Patrick Stox
FoundConf 2018 Signals Speak - Alexis Sanders
Browser Changes That Will Impact SEO From 2019-2020
.htaccess for SEOs - A presentation by Roxana Stingu
Debugging rendering problems at scale
Hey Googlebot, did you cache that ?
Microdata semantic-extend
Rendering SEO Manifesto - Why we need to go beyond JavaScript SEO
Crawl Budget - Some Insights & Ideas @ seokomm 2015
Challenges of building a search engine like web rendering service
Barry Adams - Search in a screenless world - Nottingham Digital Summit
Ad

Viewers also liked (8)

PPTX
Practical SEO for Developers - An Introduction
DOCX
Blog post length case study
PDF
SEO for developers
PPTX
Seo for developers
PPTX
FireBootCamp Introduction to SEO by XEN Systems
PPT
SEO For Developers
PDF
SEO for Developers
PPTX
SEO for Developers - Little Rock Tech Fest 2014
Practical SEO for Developers - An Introduction
Blog post length case study
SEO for developers
Seo for developers
FireBootCamp Introduction to SEO by XEN Systems
SEO For Developers
SEO for Developers
SEO for Developers - Little Rock Tech Fest 2014
Ad

Similar to Getting More Traffic From Search Advanced Seo For Developers Presentation (20)

PPT
Advanced Seo Web Development Tech Ed 2008
PPT
Advanced SEO for Developers (Mix08)
PPT
Site Architecture Best Practices for Search Findability - Adam Audette
PPTX
Dan Cohen, Hands On Seo from Internet World 2009
PPT
Developers role in web site seo optimization
PPTX
Technical seo tips for web developers
PPT
04 Architecting Navigation
PPTX
eGrove Systems Corporation - PrestaShop Development Services
PPTX
Seo and analytics basics
PPTX
Hardcode SEO
PPTX
Web Design and SEO
PPTX
Seo for Engineers
PPT
Diagnosing Technical Issues With Search Engine Optimization
PDF
How to Enhance Your SEO When Redesigning an Ecommerce Website - Tarun Gehani,...
PDF
SEO for Developers
PDF
[DevDay 2017] Using analytics, focusing on SEO and unability - Keys to develo...
PPT
Website Optimization -SEO - Step By Step
PDF
SEO for Startups in Under 10 Minutes by Google
PPT
Website Architecture
Advanced Seo Web Development Tech Ed 2008
Advanced SEO for Developers (Mix08)
Site Architecture Best Practices for Search Findability - Adam Audette
Dan Cohen, Hands On Seo from Internet World 2009
Developers role in web site seo optimization
Technical seo tips for web developers
04 Architecting Navigation
eGrove Systems Corporation - PrestaShop Development Services
Seo and analytics basics
Hardcode SEO
Web Design and SEO
Seo for Engineers
Diagnosing Technical Issues With Search Engine Optimization
How to Enhance Your SEO When Redesigning an Ecommerce Website - Tarun Gehani,...
SEO for Developers
[DevDay 2017] Using analytics, focusing on SEO and unability - Keys to develo...
Website Optimization -SEO - Step By Step
SEO for Startups in Under 10 Minutes by Google
Website Architecture

Recently uploaded (20)

PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
KodekX | Application Modernization Development
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Spectroscopy.pptx food analysis technology
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
KodekX | Application Modernization Development
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Understanding_Digital_Forensics_Presentation.pptx
MYSQL Presentation for SQL database connectivity
Mobile App Security Testing_ A Comprehensive Guide.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
cuic standard and advanced reporting.pdf
Encapsulation_ Review paper, used for researhc scholars
Chapter 3 Spatial Domain Image Processing.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Unlocking AI with Model Context Protocol (MCP)
Spectroscopy.pptx food analysis technology

Getting More Traffic From Search Advanced Seo For Developers Presentation

  • 1. Advanced SEO for Web Developers Nathan Buggia Lead Program Manager Microsoft Webmaster Center
  • 5. The Real Search Engine Experience
  • 8. Alternate Implementation Nikhil’s Design Pattern - http://www.nikhilk.net/AjaxSEO.aspx
  • 9. Big Hard Problems Affiliate/ URL Tracking Session management Rich internet applications Duplicate content (canonicalization) Geo-location Understanding analytics Redirection Error management …
  • 10. Hello, I’m Nathan Buggia Webmaster Center Am I being indexed? Are there any penalties? How to submit sitemaps? --------------- Support Feedback News And they need it by when?!? … and they need more tools, and data and technical info, and 302s…
  • 13. SEO = Good design Online Resources: www.aslistapart.org www.seomoz.org www.sitepoint.com
  • 14. How search works 1. Crawling 2. Ranking (PageRank) Index Query Parsing Dynamic Ranking 3. Searching
  • 17. Use HTML Semantically <h1> My Article Title </h1> <p> Scientists reported Wednesday… </p> <span class=“heading1”> My Article Title </span> <p> Scientists reported Wednesday… </p>
  • 18. Proper use of common tags <h1>, <h2>, <h3> Did you know there is only 1 per page? They signify the most important topic on the page. <meta name=“description” content=“”> Description tag is a must; make it short & sweet and unique to the page. You don’t need a keyword tag. <noscript> Actually useful to search engines and people with down-level experiences. <title> Description tag is a must; make it short & sweet and unique to the page. You don’t need a keyword tag. <a> Did you know there is only 1 per page? They signify the most important topic on the page. More Information Click Here SEO Presentation (Web 2.0), Download Pac Man 1.3
  • 19. Improper use of common tags <blink> Really, I’m just kidding. Did you know MSFT never implemented support for this? When are they going to get onboard with HTML standards! (Still works in Firefox though!) <frame> If you use this, other web developers will mock you. Are you prepared for that kind of ridicule? <script> No links or redirects locked behind a script tag <img alt=“”> Don’t forget to include a description for search engines, and folks with slow connections. <meta> (the crazy ones: Refresh, Robots/Index,Follow) You can get caught up in supporting every last meta tag, don’t! Focus on the REP , and Description.
  • 20. Rich internet applications Email, TurboTax, Admin Tools Classification Example SEO Capabilities Best Used for Monolithic Application has 1 URL for the world to see, and is a black box beyond that. Like hosting a rich application online. Entry point indexed Private data Long usage sessions Desktop-level functionality Linkable Application is a black box, but there are multiple URL entry-points for collaboration . Full site indexed Multiple entry points Shareable Crawlable Application is a small black box meant to spice up a content rich page. Full site indexed and well ranked ecommerce Content Community/ Viral http://finance.yahoo.com http://giffy.com
  • 21. ASP.Net & Silverlight Watch out for ASP.Net post-backs, engines cannot crawl those URLs XHTML compliance in ASP.Net Whitepaper XHTML Compatibility Pack How to optimize Silverlight for search
  • 22. Flash: Graceful Degradation Use Scalable Inman Flash Replacement (sIFR) Uses JavaScript to render HTML in Flash Can slow down page loading times Or use SWFObject to detect no Flash support Displays HTML instead Ensure content is exactly the same or could have issues with search engine guidelines
  • 23. AJAX and JavaScript Use the <noscript> tag! <head> <title>Title Of Your Site</title> <meta name=&quot;Description&quot; content=”description of this page&quot;/> </head> <body> Call AJAX and JavaScript here <script type=&quot;text/javascript&quot;> <!--document.write(”content&quot;)//--> </script> <noscript> <p>Same content as in JavaScript</p> </noscript> </body> <html> Include static HTML links to an HTML page with the same content AJAX with progressive enhancement (Hijax)
  • 26. Classing up your URLs http://store1.com/product.aspx?id=MB147L&SessionId=2344&RegionCode=en-US&format=rich&cat=3 http://store2.com/mp3_players/Apple_ipod_nano_16_G2_Black/ http://store3.com/mp3-players/Apple-ipod-nano-16-G2-Black/ store3.com mp3 Players apple ipod nano 16 G2 Black store2.com mp3_players Microsoft_Zune_80_G2_Black store1.com product.aspx id=MB147L SessionId=2344 RegionCode=en-US format=rich cat=3
  • 27. HTTP status codes 200 OK W3 standard for HTTP Status Codes 304 Not Modified 404 Gone 301 Moved Permanently 302 Moved Temporarily
  • 28. What is the difference? oreilly.com oreilly.com/index.csp www.oreilly.com www.oreilly.com/index.csp What’s the difference?
  • 29. Canonicalization in action Check your site’s canonical forms using: Yahoo’s Site Explorer Canonical Form # Sites Linking In oreilly.com 25,030 oreilly.com/index.csp 0 www.oreilly.com 1,174,124 www.oreilly.com/index.csp 0
  • 30. Canonicalization Recommendation 1) Chose www vs. non-www, 301 redirect one to the other Detailed article on the issue from Matt Cutts www.mysite.com  mysite.com 3) Make all internal links to the correct canonical form 4) Use Google Webmaster Tools to select www vs non-www. 2) Trim your folder-level default filename off the end mysite.com/default.aspx  mysite.com
  • 31. ASP.Net URL Rewriting in ASP.Net Implementation whitepaper Work around for 404 error pages Implementing Redirects in ASP.Net Implementing Redirects in IIS ASP.Net URL session state management
  • 32. Asp.Net Custom Error Pages HTTP/1.x 302 Found Location: http://www.globalscholar.com/Error.aspx GET /Error.aspx HTTP/1.1 Host: www.globalscholar.com Note: See: http://www.colincochrane.com/post/2008/01/ASP-NET-Custom-Errors-Preventing-302-Redirects-To-Custom-Error-Pages.aspx
  • 33. ASP.Net 301 Redirects <script> protected void Page_Load(object sender, EventArgs e) {    Response.Status = &quot;301 Moved Permanently&quot; ;    Response.AddHeader(&quot;Location&quot;, &quot;http://mysite.com/new-URL&quot;); } </script> Include in any *.aspx file… (you don’t need a code behind file)
  • 34. Other Redirects PHP <?php // Permanent redirection header(&quot;HTTP/1.1 301 Moved Permanently&quot;); header(&quot;Location: http://www.domain.com/&quot;); exit(); ?> Cold Fusion <CFHEADER statuscode=&quot;301&quot; statustext=&quot;Moved Permanently”> <CFHEADER name=&quot;Location&quot; value=&quot;http://www.domain.com/&quot;> JSP <% response.setStatus(301); response.setHeader( &quot;Location&quot;, &quot;http://www.new-url.com/&quot; ); response.setHeader( &quot;Connection&quot;, &quot;close&quot; ); %>
  • 35. ASP.Net Canonicalization protected void Application_BeginRequest(Object sender, EventArgs e) { if (HttpContext.Current.Request.Url.ToString().ToLower().Contains(     &quot;http://www.mysite.com&quot;)) {     HttpContext.Current.Response.Status = &quot;301 Moved Permanently&quot;;     HttpContext.Current.Response.AddHeader(&quot;Location&quot;,         Request.Url.ToString().ToLower().Replace(             &quot;http://www.mysite.com&quot;,             &quot;http://mysite.com&quot;)); } } Create in your Global.asax file…. More information and examples: http://search.live.com/results.aspx?q=301+redirect+asp.net
  • 36. IIS 301 Redirects Click here for a whitepaper
  • 37. Apache Redirects Use .htaccess file for bulk operations: Moving a single page Redirect 301 /oldpage.html http://www.example.com/newpage.html Moving a site (and redirecting everything to the home page) Redirect 301 / http://www.example.com Changing file extension RedirectMatch 301 (.*)\.html$ http://www.example.com$1.php
  • 38. Apache Canonicalization Use .htaccess for bulk operations: Non-www to www (need mod_rewrite enabled) Options +FollowSymlinks RewriteEngine on rewritecond%{http_host} ^domain.com [nc] rewriterule^(.*)$ http://www.domain.com/$1 [r=301,nc]] Index page to root domain Options +FollowSymLinks RewriteEngine on # index.php to / RewriteCond%{THE_REQUEST} ^[A-Z]{3, 9}\ /.*index\.php\ HTTP/ RewriteRule^(.*)index\.php$ /$1 [R=301,L]
  • 39. Other Redirect Code Perl #! /usr/bin/perl use cgi; my $q = cgi->new(); print $q->redirect( -location => 'http://www.newsite.com/newpage.cgi’, -status => 301, ); ss
  • 42. Where to start 1) Branded Search 2) Keywords you want to rank for
  • 43. What to look for Is my site showing up on the first page? Is my page indexed at all? (site: operator) Does the SERP result look compelling? Something that gets people excited to click-on Good title, description, correct URL Should your page be cached?
  • 44. How to debug (Reference) Accessibility Check navigation to see if a search engine can access your page Check your REP to see if the search engine has permission to access Check if the search engine can parse your page Ranking How many people are linking in? Do you have canonicalization issues? What anchor text are they using? How are you linking internally to these pages? Content Do you have good, unique content on your pages? Are you using the language of your customers? Is your information Architecture optimized?
  • 45. Tools of the Trade Accessibility Webmaster Tools ( Live Search , Google ) Firebug Developer Toolbar User Agent Switcher Live HTTP Headers Html Validator Ranking Live Search Webmaster Tools Rank Checker Yahoo Site Explorer Content AdCenter Excel Keyword Add-in http://www.vanessafoxnude.com/2008/04/02/diagnosing-site-infrastructure-issues-the-big-list-of-the-best-firefox-plugins/
  • 46. Instrument everything important Web Metrics Conversion Customer Information! http://google.com/analytics http://adcenter.microsoft.com/analytics http://google.com/websiteoptimizer
  • 47. Summary Design for your customers Be smart about robots Enjoy long-lasting success
  • 48. Thank you! Slides: http://nathanbuggia.com/post/Web-20-Expo-Advanced-SEO-for-Developers.aspx Diagnostic checklists: http://janeandrobot.com/admin/Pages/seo-developer-accessibility-checklist.html http://janeandrobot.com/admin/Pages/seo-developer-discoverability-checklist.html Contact Me: Blog: http://nathanbuggia.com Twitter: http://www.twitter.com/nathanbuggia

Editor's Notes

  • #2: SPEAKER NOTES -------------------- Hey, I’m nate Way too much content in this deck to cover Goal is to: Convince you of the value of adopting these best practices Give you a sense of the biggest issues Provide a reference you can download later and fix everything you need to. Also, I big into real world examples, so if anyone has a website you want me to review, drop it on stage and at the end I’ll come take a look Also, afterwards I’ll be at the Q&amp;A place for as long as you need to answer any questions In the building of any site, there are 10 people involved. Most orgs don&apos;t one person to do SEO, we think that will evolve. Kind of like security was 5 years ago.