Welcome to WebmasterWorld Guest from 54.196.208.187

Forum Moderators: mademetop

Message Too Old, No Replies

Will SE penalize for loading frames with javascript?

     

Asmodean

2:47 pm on Feb 8, 2001 (gmt 0)

Inactive Member
Account Expired

 
 


--------------------------------------------------------------------------------
Hi.
I have a frames page and a lot of pages I want indexed. But I want the visitor to be able to se my menus and stuff in the oter frames.
I found a javascript at [searchenginewatch.internet.com...] But my question is - will SE penalize for using this script?

<SCRIPT LANGUAGE="JavaScript">
<!--
if (top == self) self.location.href = "index.html";
// -->
</SCRIPT>

Thanks in advance

6:00 pm on Feb 8, 2001 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
posts:37301
votes: 0


Welcome to the forums, Asmodean :)

I have several well ranked frame pages that use similar javascript, so my experience says you should be fine. It's a very legitimate form of redirection, just like browsers sniffing, so the search engines should have no problems.

I suggest having the script in an external .js file, for lots of reasons. Keeps your page cleaner, and so far, no Search Engines do any widespread inspection of js files, so it's a second level of safety.

A spokesman for Google said last week that they "reserve the right to parse your javascript", but they aren't doing so at present.

8:24 pm on Feb 8, 2001 (gmt 0)

Senior Member

WebmasterWorld Senior Member mivox is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Dec 6, 2000
posts:3928
votes: 0


I've also used the same .js on sites before, with no ill effects that I noticed.

I've even used that particular js as a substitute for a META Refresh (which I hear the SEs *don't* like), although that may not be the wisest or safest thing to do...

Asmodean

5:14 pm on Feb 12, 2001 (gmt 0)

Inactive Member
Account Expired

 
 


Thanks a lot for your answers.