BN.com Gift Guide

Professional Search Engine Optimization with PHP: A Developer's Guide to SEO

Overview

Maybe you’re a great programmer or IT professional, but marketing isn’t your thing. Or perhaps you’re a tech-savvy search engine marketer who wants a peek under the hood of a search engine optimized web site. Search engine marketing is a field where technology and marketing are both critical and interdependent, because small changes in the implementation of a web site can make you or break you in search engine rankings. Furthermore, the fusion of technology and marketing ...

See more details below
Other sellers (Paperback)
  • All (24) from $1.99   
  • New (8) from $3.95   
  • Used (16) from $1.99   
Sending request ...

Overview

Maybe you’re a great programmer or IT professional, but marketing isn’t your thing. Or perhaps you’re a tech-savvy search engine marketer who wants a peek under the hood of a search engine optimized web site. Search engine marketing is a field where technology and marketing are both critical and interdependent, because small changes in the implementation of a web site can make you or break you in search engine rankings. Furthermore, the fusion of technology and marketing know-how can create web site features that attract more visitors.

The mission of this book is to help web developers create web sites that rank well with the major search engines, and to teach search engine marketers how to use technology to their advantage. We assert that neither marketing nor IT can exist in a vacuum, and it is essential that they not see themselves as opposing forces in an organization. They must work together. This book aims to educate both sides in that regard.

Read More Show Less

Product Details

  • ISBN-13: 9780470100929
  • Publisher: Wiley
  • Publication date: 2/27/2007
  • Series: Programmer to Programmer Series
  • Edition number: 1
  • Pages: 384
  • Product dimensions: 7.40 (w) x 9.20 (h) x 0.80 (d)

Meet the Author

Jaimie Sirovich is a search engine marketing consultant. He works with his clients to build them powerful online presences. Officially Jaimie is a computer programmer, but he claims to enjoy marketing much more. He graduated from Stevens Institute of Technology with a BS in Computer Science. He worked under Barry Schwartz at RustyBrick, Inc., as lead programmer on e-commerce projects until 2005. At present, Jaimie consults for several organizations and administrates the popular search engine marketing blog, SEOEgghead.com.

Cristian Darie is a software engineer with experience in a wide range of modern technologies, and the author of numerous books and tutorials on AJAX, ASP.NET, PHP, SQL, and related areas. Cristian currently lives in Bucharest, Romania, studying distributed application architectures for his PhD. He’s getting involved with various commercial and research projects, and when not planning to buy Google, he enjoys his bit of social life. If you want to say “Hi,” you can reach Cristian through his personal web site at http://www.cristiandarie.ro.

Read More Show Less

Table of Contents

Acknowledgments vii

Introduction xvii

Chapter 1: You: Programmer and Search Engine Marketer 1

Who Are You? 2

What Do You Need to Learn? 3

SEO and the Site Architecture 4

SEO Cannot Be an Afterthought 5

Communicating Architectural Decisions 5

Architectural Minutiae Can Make or Break You 5

Preparing Your Playground 6

Installing XAMPP 7

Preparing the Working Folder 8

Preparing the Database 11

Summary 12

Chapter 2: A Primer in Basic SEO 13

Introduction to SEO 13

Link Equity 14

Google PageRank 15

A Word on Usability and Accessibility 16

Search Engine Ranking Factors 17

On-Page Factors 17

Visible On-Page Factors 18

Invisible On-Page Factors 20

Time-Based Factors 21

External Factors 22

Potential Search Engine Penalties 26

The Google “Sandbox Effect” 26

The Expired Domain Penalty 26

Duplicate Content Penalty 27

The Google Supplemental Index 27

Resources and Tools 28

Web Analytics 28

Market Research 29

Researching Keywords 32

Browser Plugins 33

Community Forums 33

Search Engine Blogs and Resources 34

Summary 35

Chapter 3: Provocative SE-Friendly URLs 37

Why Do URLs Matter? 38

Static URLs and Dynamic URLs 38

Static URLs 39

Dynamic URLs 39

URLs and CTR 40

URLs and Duplicate Content 41

URLs of the Real World 42

Example #1: Dynamic URLs 42

Example #2: Numeric Rewritten URLs 43

Example #3: Keyword-Rich Rewritten URLs 44

Maintaining URL Consistency 44

URL Rewriting 46

Installing mod_rewrite 48

Testing mod_rewrite 49

Introducing Regular Expressions 54

URL Rewriting and PHP 60

Rewriting Numeric URLs with Two Parameters 61

Rewriting Keyword-Rich URLs 64

Building a Link Factory 66

Pagination and URL Rewriting 72

Rewriting Images and Streaming Media 72

Problems Rewriting Doesn’t Solve 75

A Last Word of Caution 75

Summary 76

Chapter 4: Content Relocation and HTTP Status Codes 77

HTTP Status Codes 78

Redirection Using 301 and 302 79

301 81

302 82

Removing Deleted Pages Using 404 83

Avoiding Indexing Error Pages Using 500 84

Redirecting with PHP and mod_rewrite 84

Using Redirects to Change File Names 85

URL Correction 89

Dealing with Multiple Domain Names Properly 90

Using Redirects to Change Domain Names 90

URL Canonicalization: www.example.com versus example.com 91

URL Canonicalization: /index.php versus / 92

Other Types of Redirects 94

Summary 94

Chapter 5: Duplicate Content 95

Causes and Effects of Duplicate Content 96

Duplicate Content as a Result of Site Architecture 96

Duplicate Content as a Result of Content Theft 96

Excluding Duplicate Content 97

Using the Robots Meta Tag 97

robots.txt Pattern Exclusion 99

Solutions for Commonly Duplicated Pages 103

Print-Friendly Pages 103

Navigation Links and Breadcrumb Navigation 104

Similar Pages 106

Pages with Duplicate Meta Tag or Title Values 106

URL Canonicalization 106

URL-Based Session IDs 107

Other Navigational Link Parameters 107

Affiliate Pages 108

Redirecting Parameterized Affiliate URLs 109

Summary 118

Chapter 6: SE-Friendly HTML and JavaScript 119

Overall Architecture 120

Search Engine–Friendly JavaScript 120

JavaScript Links 121

DHTML Menus 121

Popup Windows 121

DHTML Popup Windows 129

Crawlable Images and Graphical Text 129

Search Engine–Friendly HTML 140

HTML Structural Elements 141

Copy Prominence and Tables 141

Frames 144

Using Forms 144

Using a Custom Markup Language to Generate SE-Friendly HTML 145

Flash and AJAX 149

The Blended Approach 149

Summary 150

Chapter 7: Web Feeds and Social Bookmarking 151

Web Feeds 151

RSS and Atom 152

Creating RSS Feeds 154

Syndicating RSS and Atom Feeds 160

Other Sources of Syndicated Content 164

Social Bookmarking 164

Summary 172

Chapter 8: Black Hat SEO 173

What’s with All the Hats? 174

Bending the Rules 175

Technical Analysis of Black-Hat Techniques 176

Attack Avoidance 177

HTML Insertion Attacks 177

Avoiding Comment Attacks Using Nofollow 180

Sanitizing User Input 184

Requesting Human Input 188

301 Redirect Attacks 194

Content Theft 196

On Buying Links 197

Digital Point Co-op, Link Vault 197

Summary 197

Chapter 9: Sitemaps 199

Traditional Sitemaps 199

Search Engine Sitemaps 200

Using Google Sitemaps 201

Using Yahoo! Sitemaps 203

Generating Sitemaps Programmatically 203

Informing Google about Updates 208

The Sitemaps.org Standard Protocol 209

Summary 210

Chapter 10: Link Bait 211

Hooking Links 211

Informational Hooks 212

News Story Hooks 212

Humor/Fun Hooks 212

Evil Hooks 212

Traditional Examples of Link Bait 213

Interactive Link Bait: Put on Your Programming Hardhat! 213

Case Study: Fortune Cookies 214

Summary 218

Chapter 11: Cloaking, Geo-Targeting, and IP Delivery 219

Cloaking, Geo-Targeting, and IP Delivery 219

More on Geo-Targeting 220

A Few Words on JavaScript Redirect Cloaking 221

The Ethical Debate on Cloaking 221

Cloaking Dangers 222

Using the Meta Noarchive Tag 222

Implementing Cloaking 223

Cloaking Case Studies 232

Rendering Images as Text 233

Redirecting Excluded Content 233

Feeding Subscription-Based Content Only to Spiders 233

Disabling URL-Based Session Handling for Spiders 234

Other Cloaking Implementations 234

Implementing Geo-Targeting 234

Summary 241

Chapter 12: Foreign Language SEO 243

Foreign Language Optimization Tips 243

Indicating Language and Region 244

Server Location and Domain Name 244

Include the Address of the Foreign Location if Possible 245

Dealing with Accented Letters (Diacritics) 245

Foreign Language Spamming 248

Summary 248

Chapter 13: Coping with Technical Issues 249

Unreliable Web Hosting or DNS 249

Changing Hosting Providers 250

Cross-Linking 251

SEO-Aware Split Testing 253

Detecting Broken Links 254

Summary 259

Chapter 14: Case Study: Building an E-Commerce Store 261

Establishing the Requirements 262

Implementing the Product Catalog 262

Summary 281

Chapter 15: Site Clinic: So You Have a Web Site? 283

1. Creating Sitemaps 284

2. Creating News Feeds 284

3. Fixing Duplication in Titles and Meta Tags 284

4. Getting Listed in Reputable Directories 284

5. Soliciting and Exchanging Relevant Links 285

6. Buying Links 285

7. Creating Link Bait 285

8. Adding Social Bookmarking Functionality 286

9. Starting a Blog and/or Forum 286

10. Dealing with a Pure Flash or AJAX Site 286

11. Preventing Black Hat Victimization 286

12. Examining Your URLs for Problems 287

13. Looking for Duplicate Content 287

14. Eliminating Session IDs 287

15. Tweaking On-page Factors 287

Summary 288

Chapter 16: WordPress: Creating an SE-Friendly Blog 289

Installing WordPress 290

Turning On Permalinks 293

Akismet: Preventing Comment Spam 294

Sociable: Social Bookmarking Icons 295

WP-Email: Email a Friend 296

Chicklet Creator Plugin 298

Sitemap Generator Plugin 299

Google Sitemaps Plugin 301

Digg Button Plugin 304

Pagerfix Plugin 305

Eliminating Duplicate Content 307

Pull-downs and Excluding Category Links 308

Excerpting Article Content 309

Making the Blog Your Home Page 309

Summary 310

Appendix A: Simple Regular Expressions 311

Matching Single Characters 312

Matching Sequences of Characters That Each Occur Once 317

Introducing Metacharacters 319

Matching Sequences of Different Characters 324

Matching Optional Characters 326

Matching Multiple Optional Characters 328

Other Cardinality Operators 332

The
• Quantifier 332

The + Quantifier 334

The Curly-Brace Syntax 336

The {n} Syntax 336

The {n,m} Syntax 337

{0,m} 337

{n,m} 339

{n,} 340

Glossary 343

Index 351

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)