optimizing code order for seo using css

31
Optimizing Code Order for SEO Using CSS Presented by: Benj Arriola SEO Director Internet Marketing Inc.

Upload: liliha

Post on 22-Feb-2016

42 views

Category:

Documents


0 download

DESCRIPTION

Optimizing Code Order for SEO Using CSS. Presented by: Benj Arriola SEO Director Internet Marketing Inc. Significance of Code Order. On-Page SEO Off-Page SEO. Significance of Code Order. Content here is more important … … … … … … than content here . . - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Optimizing Code Order for SEO Using CSS

Optimizing Code Orderfor SEO Using CSS

Presented by: Benj Arriola

SEO DirectorInternet Marketing Inc.

Page 2: Optimizing Code Order for SEO Using CSS

Significance of Code Order

• On-Page SEO

• Off-Page SEO

Page 3: Optimizing Code Order for SEO Using CSS

Significance of Code Order<body>

<p>Content here is more important…</p>……………<p>than content here.</p>

</body>

• On-Page SEO

• Off-Page SEOThe nearer

content is to the top of the code,

the better.

Page 4: Optimizing Code Order for SEO Using CSS

Significance of Code Order<body>

<p>Content here is more important…</p>……………<p>than content here.</p>

</body>

• Off-Page SEO• First Link Priority

• 2006 SEO Smackdown

• 2008 SEOMoz• 2009

BusinessOL

• On-Page SEO<body>

…<a href="/bright-blue-widgets.html">Products</a>………<p> … <a href="/bright-blue-widgets.html">Order Bright Blue Widgets Online</a> … </p>…

</body>

When 2 or more links on a page go to the same URL, only the first link anchor text

is read by search engines.

Page 5: Optimizing Code Order for SEO Using CSS

Typical Code ImplementationTop Bar: Homepage

logo link, main navigation.

Side Bar: Secondary links, ads/promos.

Main Content: Keywords you would

want to rank for.Footer: Text links,

often a copy of the top bar navigation.

• <div id=“top-bar”>…</div>

<div id=“column-left”>…</div>

<div id=“column-right”>…</div>

• #top-bar {width: 800px; height 90px;}

#column-left {width: 200px; float: left;}

#column-right {width: 600px; float: left;}

123

Page 6: Optimizing Code Order for SEO Using CSS

Main Content Before Sidebar

• Main content that has the important keywords to rank for.

• Main content has the best anchor text links, often longer and more descriptive.

Page 7: Optimizing Code Order for SEO Using CSS

Right Sidebar – Float: Left• <div id=“column-left”>

<!-- main content --></div>

<div id=“column-right”><!-- navigation --

></div>

• #column-left {width: 600px;float: left;}

#column-right {width: 200px;float: left;}

Page 8: Optimizing Code Order for SEO Using CSS

Left Sidebar – Float: Right• <div id=“column-right”>

<!-- main content --></div>

<div id=“column-left”><!-- navigation --

></div>

• #column-right {width: 600px;float: right;}

#column-left {width: 200px;float: right;}

Page 9: Optimizing Code Order for SEO Using CSS

3-Column Layout• #main-content {

width: 600px;float: right;}

#navigation: {width: 200px;float: right;}

#column-left {width: 800px;float: left;}

#column-right {width: 200px;float: left;}

<div id=“column-left”><div id=“main-content”><!-- main content --></div><div id=“navigation”><!– navigation left --></div>

</div><div id=“column-right”>

<!-- navigation right --></div>

Page 10: Optimizing Code Order for SEO Using CSS

3-Column Layout – Holy Grail Style

• http://www.alistapart.com/articles/holygrail • Center content comes first, sidebars float to

the left and right.• This style makes use of negative margins.

Page 11: Optimizing Code Order for SEO Using CSS

Top Bar Navigation• <div id=“column-left”>

…</div>

<div id=“column-right”>…</div>

<div id=“top-bar”>…</div>

• #column-left {width: 200px; float:

right;margin-top: 90px;}

#column-right {width: 600px; float:

right;margin-top: 90px;}

#top-bar {width: 800px; height

90px;position: absolute;margin: 0;}

Page 12: Optimizing Code Order for SEO Using CSS

Do you have to do this?• Code order: Just 1 of

the ranking factors.• Websites ranking

well does not necessarily need to follow all ranking factors.

• In very competitive markets, you want to take advantage on all ranking factors possible.

• Challenge to redo the whole website:– Non-agreeing

designer/developer– Not allocated in

budget to redesign/redevelop.

– Best done when a new site is design, or when an old site is in the process of redesigning.

Page 13: Optimizing Code Order for SEO Using CSS

Summary• Main content on top.• First link priority.• Control direction of floating <div>

columns.• Using absolute positioning for top

bar.• Another ranking factor to optimize

for to gain more ranking advantage.

Page 14: Optimizing Code Order for SEO Using CSS

Thank You!Optimizing Code Order for SEO Using

CSS

Presented by: Benj Arriola

SEO DirectorInternet Marketing Inc.

A copy of this presentation will also be downloadable from

www.internetmarketinginc.com/blog/ shortly.

Page 15: Optimizing Code Order for SEO Using CSS

Printer Friendly SlidesNon-Animated Slides

Page 16: Optimizing Code Order for SEO Using CSS

Optimizing Code Orderfor SEO Using CSS

Presented by: Benj Arriola

SEO DirectorInternet Marketing Inc.

Page 17: Optimizing Code Order for SEO Using CSS

Significance of Code Order

• On-Page SEO

• Off-Page SEO

Page 18: Optimizing Code Order for SEO Using CSS

Significance of Code Order<body>

<p>Content here is more important…</p>……………<p>than content here.</p>

</body>

• On-Page SEO

• Off-Page SEOThe nearer

content is to the top of the code,

the better.

Page 19: Optimizing Code Order for SEO Using CSS

Significance of Code Order

• Off-Page SEO• First Link Priority

• 2006 SEO Smackdown

• 2008 SEOMoz• 2009

BusinessOL

<body>…<a href="/bright-blue-widgets.html">Products</a>………<p> … <a href="/bright-blue-widgets.html">Order Bright Blue Widgets Online</a> … </p>…

</body>

Page 20: Optimizing Code Order for SEO Using CSS

Significance of Code Order

• Off-Page SEOWhen 2 or more links on a page go to the same URL, only the first link anchor text

is read by search engines.

<body>…<a href="/bright-blue-widgets.html">Products</a>………<p> … <a href="/bright-blue-widgets.html">Order Bright Blue Widgets Online</a> … </p>…

</body>

Page 21: Optimizing Code Order for SEO Using CSS

Typical Code ImplementationTop Bar: Homepage

logo link, main navigation.

Side Bar: Secondary links, ads/promos.

Main Content: Keywords you would

want to rank for.Footer: Text links,

often a copy of the top bar navigation.

Page 22: Optimizing Code Order for SEO Using CSS

Typical Code Implementation• <div id=“top-bar”>

…</div>

<div id=“column-left”>…</div>

<div id=“column-right”>…</div>

• #top-bar {width: 800px; height 90px;}

#column-left {width: 200px; float: left;}

#column-right {width: 600px; float: left;}

123

Page 23: Optimizing Code Order for SEO Using CSS

Main Content Before Sidebar

• Main content that has the important keywords to rank for.

• Main content has the best anchor text links, often longer and more descriptive.

Page 24: Optimizing Code Order for SEO Using CSS

Right Sidebar – Float: Left• <div id=“column-left”>

<!-- main content --></div>

<div id=“column-right”><!-- navigation --

></div>

• #column-left {width: 600px;float: left;}

#column-right {width: 200px;float: left;}

Page 25: Optimizing Code Order for SEO Using CSS

Left Sidebar – Float: Right• <div id=“column-right”>

<!-- main content --></div>

<div id=“column-left”><!-- navigation --

></div>

• #column-right {width: 600px;float: right;}

#column-left {width: 200px;float: right;}

Page 26: Optimizing Code Order for SEO Using CSS

3-Column Layout• #main-content {

width: 600px;float: right;}

#navigation: {width: 200px;float: right;}

#column-left {width: 800px;float: left;}

#column-right {width: 200px;float: left;}

<div id=“column-left”><div id=“main-content”><!-- main content --></div><div id=“navigation”><!– navigation left --></div>

</div><div id=“column-right”>

<!-- navigation right --></div>

Page 27: Optimizing Code Order for SEO Using CSS

3-Column Layout – Holy Grail Style

• http://www.alistapart.com/articles/holygrail • Center content comes first, sidebars float to

the left and right.• This style makes use of negative margins.

Page 28: Optimizing Code Order for SEO Using CSS

Top Bar Navigation• <div id=“column-left”>

…</div>

<div id=“column-right”>…</div>

<div id=“top-bar”>…</div>

• #column-left {width: 200px; float:

right;margin-top: 90px;}

#column-right {width: 600px; float:

right;margin-top: 90px;}

#top-bar {width: 800px; height

90px;position: absolute;margin: 0;}

Page 29: Optimizing Code Order for SEO Using CSS

Do you have to do this?• Code order: Just 1 of

the ranking factors.• Websites ranking

well does not necessarily need to follow all ranking factors.

• In very competitive markets, you want to work on all ranking factors.

• Challenge to redo the whole website:– Non-agreeing

designer/developer– Not allocated in

budget to redesign/redevelop.

– Best done when a new site is design, or when an old site is in the process of redesigning.

Page 30: Optimizing Code Order for SEO Using CSS

Summary• Main content on top.• First link priority.• Control direction of floating <div>

columns.• Using absolute positioning for top

bar.• Another ranking factor to optimize

for to gain more ranking advantage.

Page 31: Optimizing Code Order for SEO Using CSS

Thank You!Optimizing Code Order for SEO Using

CSS

Presented by: Benj Arriola

SEO DirectorInternet Marketing Inc.

A copy of this presentation will also be downloadable from

www.internetmarketinginc.com/blog/ shortly.