Go for it! Google ignore Java.
So if you don't want it to follow the link simply use relative paths.
one objection from my (non-seo) point of view:
Is this (kind of) like cloaking?
|Is this (kind of) like cloaking? |
Depends on how you look at it I suppose, but search engines don't consider it cloaking.
Google definitely has followed the java links on my site. I have text links on the bottoms of the pages now, but Google indexed the pages before the text links were there.
The wierd thing is, I have a client's site that uses the same type of java scripting, and the Goo didn't make it past the first page the first time it got crawled.
I wouldn't say this is cloaking.
Cloaking to me is having less appear on the site than SE's index, but if you do things the JS way it gives more than the SE's show.
You should, however, provide alternative navigation for viewers with JS disabled. You can do this with a <noscript> tag. I use an iFrame in the <noscript> which embeds my sitemap to every page. This is seen by SE, and indexed as 1 outgoing link.
|What about redirect scripts - does Google follow them? Somthing like,|
and then blocking cgi-bin via robots.txt. Is this followed by Google?
|Or redirecting it something like this, http://www.my-domain.com/rd/number where the number corresponds to a external domain. |
Imaster, Google reads robots.txt, so if you cut off the /cgi-bin/ it will not follow links to it. If you really donīt want to give the bot any kind of chance, you could use an id in the redirect script in stead of "something that looks like an url", as well as the robots.txt:
<edit>if, on the other hand, you want Gbot to follow your redirect, a spider-friendly redirect script can easily be made, there are other threads about this</edit>
I have a client wants to create a easy to navigate site but worries that Google or the other search engines won't be able to follow the links. I never used these menu's before so the more that people can tell me the better.
I need to know the following:
If so, when does Google not see the link? (I saw it written that absolute links are followed and relative paths are not, is this true?)
Can it follow this link?
Can someone give examples of crawlable web sites? (I hope this is okay to ask)
I appreciate the help!
|Made In Sheffield|
so it's no just if you use the http://.
And one more thing:
|Made In Sheffield|
The Java comment wasn't directed at you, it was a general reply to all those on the thread calling it Java, it just happened to be after your post.
I've stickied you the url for a site that uses JS links and has been fully crawled (no link posting on here).
Hope this helps, I don't know about the link text, I asked that same question this morning on another thread but nobody has replied. They seem to give the same PR benefit though.
Anyone know the answer to the text question?
I've seen some posts (not only from Made_In_Sheffield) suggesting that some links that are not on the standard form <a href=""></a> can get catched, eg. unanchored links or links in scripts, but i really do not know what Gbots exact limits are on this point, i have seen quite a few questions, but no really clear answers.
If you want it to be identified as a link, i would suggest you make the string as "link-looking" as possible and include the http part as well:
ie. "http://www.example.com/page.html", not just "page.html"
If, on the other hand, you want to hide it, it is quite easy to make JS-code that makes it hard to recognize it as a link. Just mess all the characters around and you're there.
So I hope Google will improve its robots, spiders and crawlers to follow ANY link put in a page, 'cos it's what they should do.
Java: Object Oriented Programming (OOP) language based on C++ that lets the page designers to create small applications (called applets) that run on a web page independently of the platform. An applet must be compiled before it can be run.
So, if I see again something that says Java to refer JS I'll be very angry X(
Ohyes, herenvardo, you're absolutely right there, it's cloaking allright. Thereīs a more civilized approach, which well-behaved searchengines and spiders accept:
<meta name="robots" content="index,nofollow">
The problem with this approach is that the nasty bots couldn't care less what you write in a meta-tag. Not all bots are good bots. Gbot is, so the metatag would be better advice in this case.
It is a catch-all, though - the "nofollow" will be the rule for all links on the page, not all links except the secret link to my personal photos, notes, or whatever.
Same thing applies to form actions and other nooks and crannies where potential URLs may hide.
I'm curious though, if you have java on your page, a crap load of it, is there a point where Google will just stop reading the code and move on, or does it read the whole thing, and just overlook the java?
|Made In Sheffield|
Java code isn't in the page! (Bangs head against brick wall, ouch :-)
|I can confirm this report. |
Thanks Tedster. Helps unfortunate souls like us (who cannot attend Pubcons) when members like you give such details :)
Many websites do this for reasons other than hiding links. Personally, I like to test different text copy on my button labels, and using an external file allows me to do this in one place for a 100 page site.
So cloaking, cheating, whatever you want to call it is not always the intent of the website developer. Google will never treat this as cloaking for this reason.
Make of that what you will.
I have found at least three threads here stating that Gbot does not index more than the first 100Kb of a file. It's a bit unclear if the first 100Kb are indexed for the cache only, or if the index have the same limit - the index-limit need not be as "low" as the cache-limit. Unfortunately, i could not find this information on Googles own pages.
Number of links:
There's apparently a limit of 100 links per page. The Google Guidelines [google.com] also mentions this, but not as a limit, just advice.
<added>Btw, thanks mil2k, Made In Sheffield, tedster, and egomaniac - it's really nice to get the JS-link-extraction confirmed from four sources :)</added>
Mr. Roy why do you want to use java for links?
Google follows text links very well and generally does not screw it up. Java seems to have mixed results in WebmasterWorld, so why would you need to do it. If you do need it for smooth opperation of your site use alt tags to make it less painful.
Please tell me that you are not using frames.
| This 80 message thread spans 3 pages: 80 (  2 3 ) > > |