Forum Moderators: open

Message Too Old, No Replies

Javascript or? to create non-Googleable links

Looking for advice on best approach to link-writing code

         

Spogum

9:44 am on Aug 27, 2003 (gmt 0)

10+ Year Member



I've encountered several references to javascript or other code that prevents a link from being crawled by Google -- the objective being that you can design either inbound or outbound links that DON'T affect Page Rank. I'm looking for recommendations on a best approach. I use simple, static HTML pages. I'm especially interested in an approach that would allow me to bulk-convert (by search and replace) a page of, say, 100 or more outbound links. ?

gatekeeper

6:06 pm on Aug 28, 2003 (gmt 0)

10+ Year Member



Are you referring to a dynamic link?
A link that uses a <span> tag?

2_much

6:29 pm on Aug 28, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I use Javascript links if I don't want them to be crawled or if I don't want them to pass PR.

seofreak

6:36 pm on Aug 28, 2003 (gmt 0)

10+ Year Member





<a href="#" onclick="window.location='http://www.domain.com';return false;">link</a>

whatever the domain was in my case, it hasn't been crawled yet by google ( been 1 month since the link is up ) .. so i guess the above works

gatekeeper

6:53 pm on Aug 28, 2003 (gmt 0)

10+ Year Member



2-much... what would you think of the following dynamic link..

<p><span class="dynlink"
onclick="window.open('http://www.whatever.com') "
onmouseover="window.status='http://www.whatever.com'"
onmouseout="window.status=' '">
web site name</span></p>

How do you think this would do?

Spogum

6:58 pm on Aug 28, 2003 (gmt 0)

10+ Year Member



Yes, that's one approach that I've heard of -- and thanks for the specifics. Are there any others?

I'm looking to do a find/replace operation on a long page of links.

HughMungus

8:19 pm on Aug 28, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Newb question: Do redirects work as non-googleable?

kaled

8:47 pm on Aug 28, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You might wish to consider using the document.write method to dynamically create the links.

So far as using a search and replace method, I think you'll need an editor capable of processing regular expressions. I have never needed to resort to this so I can offer no more information.

Kaled.

Spogum

7:18 pm on Sep 1, 2003 (gmt 0)

10+ Year Member



1) Kaled, do you have a reference or link to something about the document.write method?

2) Hugh Mungus, you ask an interesting question which I'll rephrase (maybe not what you're asking)

... if you use a redirect URL as a second URL for a given domain name, for instance you forward

www.mydomainname.com to www.my-domain-name.com

It's likely that the registrar who creates the forward, sets up a framed environment to apply the forward. (I use quite a few of these. In each case, if I navigate to the site using the "forward" or alias domain, and do a View Source, I get the code for the frame set, not the code I put on the original pages. Thus, the Title, Description, and other tags are missing.

Question, then: Does this matter to Google in terms of indexing those pages for SEO purposes? Or does Google only index the underlying domain -- and the frameset is simply a session variable, meaningful only for the surfer?

Spogum

7:28 pm on Sep 1, 2003 (gmt 0)

10+ Year Member



1) Kaled, do you have a reference or link to something about the document.write method?

2) Hugh Mungus, you ask an interesting question which I'll rephrase (maybe not what you're asking)

... if you use a redirect URL as a second URL for a given domain name, for instance you forward

www.mydomainname.com to www.my-domain-name.com

It's likely that the registrar who creates the forward, sets up a framed environment to apply the forward. (I use quite a few of these. In each case, if I navigate to the site using the "forward" or alias domain, and do a View Source, I get the code for the frame set, not the code I put on the original pages. Thus, the Title, Description, and other tags are missing.

Question, then: Does this matter to Google in terms of indexing those pages for SEO purposes? Or does Google only index the underlying domain -- and the frameset is simply a session variable, meaningful only for the surfer?