PHP Code And Search Engine Optimation


Published on

I got this slide show over a month a go. And this is so great! For who need build some page such as website, blog and or news site or maybe portal site. Its great because there are one more way for buzz up your page in php :)

Published in: Technology, Design
1 Comment
  • Hi,
    We endeavor to promote the presentation on various topics by professionals and companies. I found your presentation really useful and want you to share this presentation in form of Multimedia Presentation with music, relevant pictures, animation etc instead of simple power point. I request you to upload this presentation in form of Power point at
    so that same can be converted and live for viewing. It will take only 5 minutes.
    We will send you the link of your new Multimedia Presentation, which you can use in multiple form.
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

PHP Code And Search Engine Optimation

  1. 1. 8 White Hat SEO Methods for PHP Developers David Fischer Avity LLC
  2. 2. The Spectrum of SEO Techniques <ul><li>White hat, black hat </li></ul><ul><li>The three legs of the white hat SEO stool </li></ul><ul><ul><ul><li>Inbound links </li></ul></ul></ul><ul><ul><ul><li>Keyword-rich text </li></ul></ul></ul><ul><ul><ul><li>Technical aspects </li></ul></ul></ul>1 Know the Game
  3. 3. Cross-Browser Websites 1 Know the Game
  4. 4. Cross-Browser Websites 1 Know the Game
  5. 5. Cross-Browser Websites 1 Know the Game
  6. 6. Cross-Browser Websites 1 Know the Game
  7. 7. A common misconception : There are two steps in building a search engine friendly website: 1) Build website 2) Do SEO stuff 2 SEO-Friendly Architecture
  8. 8. <ul><li>From the start: </li></ul><ul><li>Limit reliance on JavaScript, Flash, and images that display text </li></ul><ul><li>Use SEO-friendly HTML </li></ul><ul><ul><ul><li>Unique, meaningful title and meta tags </li></ul></ul></ul><ul><ul><ul><li>W3C compliance </li></ul></ul></ul><ul><ul><ul><li>Alt attributes on non-text content </li></ul></ul></ul><ul><li>Structure your content wisely & develop a corresponding URL schema early on </li></ul><ul><li>Register your domain for the maximum term </li></ul>2 SEO-Friendly Architecture
  9. 9. <ul><li>Keyword-rich URLs help rankings </li></ul><ul><li>Human factor </li></ul><ul><ul><ul><li>Clean URLs look professional </li></ul></ul></ul><ul><ul><ul><li>Messy URLs look spammy </li></ul></ul></ul>Please compare: <ul><ul><li>“ The mere presence of a question mark in the URL will introduce a delay in Google's indexing a page.” </li></ul></ul><ul><ul><li>-- Daniel Dulitz, Google engineer </li></ul></ul>3 URLs Matter
  10. 10. <ul><li>Repetitive content </li></ul><ul><ul><ul><li>annoys users </li></ul></ul></ul><ul><ul><ul><li>dilutes page equity </li></ul></ul></ul><ul><ul><ul><li>wastes crawler resources </li></ul></ul></ul><ul><ul><ul><li>looks like spam </li></ul></ul></ul><ul><ul><ul><li>can be an indication of content theft </li></ul></ul></ul><ul><li>As a result, search engines penalize duplicate content </li></ul>4 The Duplicate Content Trap
  11. 11. <ul><li>Sometimes you can't entirely avoid having duplicate content on your site... </li></ul><ul><ul><ul><li>Printer-friendly pages </li></ul></ul></ul><ul><ul><ul><li>Same product, different color </li></ul></ul></ul><ul><ul><ul><li>Duplicate title & meta tags for different pages </li></ul></ul></ul><ul><ul><ul><li>URL-based session IDs implemented by the guy who worked on the project before you </li></ul></ul></ul><ul><ul><ul><li>Your boss's poor content organization skills </li></ul></ul></ul><ul><li>Minimize indexing of duplicate content using robots.txt & mod_rewrite </li></ul>4 The Duplicate Content Trap
  12. 12. <ul><li>1xx: Provisional response – don't use </li></ul><ul><li>2xx: Successful request – return by default on success </li></ul><ul><li>301: Permanent move – OK </li></ul><ul><ul><ul><li>Page equity retained with delay and possible penalty </li></ul></ul></ul><ul><li>302: Temporary move – avoid </li></ul><ul><li>404: Permanent remove – OK </li></ul><ul><ul><ul><li>Spiders will not index </li></ul></ul></ul><ul><ul><ul><li>Warning: spiders will DEINDEX if previously indexed </li></ul></ul></ul><ul><li>500: Correct code for temporary technical difficulties </li></ul><ul><ul><ul><li>If you want to commit SEO suicide, feed a spider non-5xx codes while your web or database server is down </li></ul></ul></ul>5 Content Relocation & Error Codes
  13. 13. style.css .nytimes { font: old-english-txt; font-size: 48; } 6 Graphical Text: An Ancient Evil <ul><li>Site designs sometimes require more elaborate text formatting than CSS can provide, right? </li></ul><ul><ul><li>Shortest and best answer (for SEO & maintainability at least): No, stick with CSS only! </li></ul></ul><ul><ul><li>Short and acceptable answer: Okay, we can put in a few images for text, but no more than, say, three! </li></ul></ul><ul><ul><li>But if you absolutely need more typesetting options... </li></ul></ul>?
  14. 14. <ul><li>User sitemaps </li></ul><ul><li>Google XML sitemaps & Yahoo urllists </li></ul><ul><li>Dynamically generating sitemaps </li></ul>7 Sitemaps
  15. 15. <ul><li>Why not use black hat SEO techniques? </li></ul><ul><li>Why address them now then? </li></ul><ul><ul><ul><li>Protect your site's security </li></ul></ul></ul><ul><ul><ul><li>Understand the competition </li></ul></ul></ul><ul><ul><ul><li>Learn to think like Google </li></ul></ul></ul><ul><li>Insertion & comment attacks </li></ul><ul><li>Content theft </li></ul><ul><li>Cloaking </li></ul><ul><li>Buying & trading links </li></ul><ul><li>IMPORTANT: employ common sense </li></ul>8 Black Hat & Defensive Measures
  16. 16. Questions?