Forum Moderators: open

Message Too Old, No Replies

Keyword density

         

f_martin

7:47 pm on Nov 29, 2002 (gmt 0)



One particular issue I have been dealing with is the density of keywords in the HTML code with the objective of improving our visibility on Google.
A question has arisen to which I cannot find the answer and I would appreciate it if anyone could give me some advice.

Is it an acceptable (ethical) practice to write HTML code to the page using Java script in order that it be unreadable to the SE spider, although visible to the site visitor? This allows me to avoid diluting my keywords while giving more info to our visitors. Or Will I get into trouble with the SEs?

Macguru

3:34 pm on Nov 30, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld [webmasterworld.com], f_martin.

Technically, you could use a simple document.write JavaScript. Write a script with a txt editor and save it as "script_1.js" in a "js" folder at root level of your site. It would look like this :

<!-- hide from older browser
document.write("How are you my friend?")
//-->

Then, you could call this script from where you want it to be executed on page.
<script type="text/javascript" language="JavaScript" src="js/script_1.js"></script>

You could repeat this operation for every string of text you need on your pages.

You can have 2 potential problems with this technique :

1- Visitors who disabled JavaScript on their browsers wont see the added text (8% of them, and rising).
2- A competitor could snitch you. Avoid it in highly competive environnement.

You can have better results with cloaking. Please visit the cloaking forum [webmasterworld.com] for more info. The best discussions are kept in it's library [webmasterworld.com].

Enjoy!

Bernie

4:03 pm on Nov 30, 2002 (gmt 0)

10+ Year Member



hi f_martin,

that is funny. usually poeple rather want to hide content from humans but want to show it to spiders in order to optimise for their keywords without producing some quality text about it.

i got your point about keyword-density though - from my experience kw-density has not that huge importance for a good ranking (esp. in google) but it's known that pages with too much source-code generally tend to rank worse.

i personally wouldn't go for the javascript solution, as you heard you will loose a couple of % of your audience plus the report problem plus we don't know exactly if or when robots will interpret js.

what about offering a normal page with very short text and putting a "more..." link under each paragraph leading to another page. you keep your first page small and poeple who want to read more will follow the links.

websites with many small and quality content pages usually get better rankings and more traffic.

p.s.: cloaking is something - i would personally keep my hands off in order to sleep better. :)

Macguru

1:45 pm on Dec 1, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



OOps! How dumb I am! I forgot to mention images. Sometimes techno stuff makes us forget about the obvious.

Including text in gifs is simple and safe.