Jump to content


Google-Friendly Change to Your Web Site


4 replies to this topic

#1 Donna

    Retired P2L Queen!

  • P2L Staff
  • PipPipPipPip
  • 12,330 posts
  • Gender:Female
  • Location:B.C Canada

Posted 03 August 2005 - 10:06 PM

No matter who you are or how much you pay for web site advertising, free search engine traffic is probably responsible for a big part of your business. So why make your web site so hard for search engines to figure out?

Luckily, it seems like in the recent years people have paid attention to SEO, moved their sites over to CSS, abolished "table" and "font" HTML tags, started using the H1 tag around their titles... and in general, moved the main content of their site as close to the top of the HTML document as it can go.

"But Robert," you tell me, "I have a bunch of fancy javascript and CSS at the top of my site that I don't want to get rid of."

That's ok, you can keep it. Just stash it away in another file. By that I mean... if you were lazy and included your CSS right in the HTML document like this:

(style type="text/css")
(!--
CSS code in here
--)
(/style)

Copy all that text out and delete it from the HTML page.

Remove the "style" tags and the "(!--" and "--)" stuff. Open a new text file, paste the text from the clipboard in, save the file as "layout.css" then save and upload to your web server.

Now, back on your HTML page, place HTML code like this:

(link rel="stylesheet" href="http://www.example.com/layout.css")

When someone loads your page in a browser that tells them to look to the URL http://www.example.com/layout.css for the CSS info. But when the search engines crawl your site they will see a nice, clean, simple layout.

You can do the same thing with javascript. Say these are your "script" tags:

(script language="javascript" type="text/javascript")
(!--
javascript code in here
--)
(/script)

Do the same thing, copy the javascript code but NOT the "script" tags themselves or the "(!--" or "--)". Erase the original from the HTML page. Paste the stuff you copied into a new text file and call it something like: "functions.js"

Upload functions.js and in the spot you had your javascript code use this:

(script language="javascript" src="http://www.example.com/functions.js")(/script)

One important thing to remember is that NO javascript code can be placed between the "script" tags if you use the "src" parameter like that.

So remember: use H1 tags, use meta description tags, and use CSS, but make sure you include your javascript and CSS stylesheets in separate files otherwise there's no point.



About the Author
Free video for you:
http://www.AffiliateBattlePlan.com/

#2 syphon

    Young Padawan

  • Members
  • Pip
  • 57 posts

Posted 05 August 2005 - 10:33 AM

with all this talk about divs, whats gonna happen to p2l with its massive table layout? I would hate to see the format go unsupported in the future...

du :)

#3 Blitz

    Jedi In Training

  • Twodded Staff
  • PipPip
  • 307 posts
  • Location:California
  • Interests:Php, html, css, etc, band, trumpet, anime, my dog, TV, computers, video games, sleeping, marching band, sleeping, jazz, sleeping, metal, sleeping, classic rock, sleeping, music, jazz band, did I mention sleeping?, kicking the hell out of kids that won't take the time to spell or use proper grammar, my website, etc.

Posted 05 August 2005 - 11:04 AM

Weird, because I wouldn't hate to see it go unsupported in terms of layout. :)

#4 Apache

    P2L Jedi

  • Twodded Staff
  • PipPipPip
  • 778 posts
  • Location:London, UK

Posted 05 August 2005 - 11:31 AM

Core! In my opinion tables are great, but not for layout. Table were brought to the net to display data like excel spreadsheets, but not whole websites

#5 Jamie Huskisson

    Retired P2L Staff

  • Members
  • PipPipPipPip
  • 3,648 posts
  • Gender:Male
  • Location:Nottingham, UK

Posted 05 August 2005 - 11:51 AM

tables are standard, css/xhtml is the NEXT standard, i don't understand why you guys argue to differ, its abit of a IE/Firefox margin at the moment... and until "industry standard" html/xhtml editors such as goLive and Dreamweaver properly support CSS layouts to the point of the support for tables, then theres no reason to expect otherwise, now please stop rambling about this rubbish lol





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users