bakedjake

msg:422694 | 2:27 pm on Jan 2, 2005 (gmt 0) |
I know they can read links in any format, including JavaScript, Word, Excel, and plaintext. Sometimes they'll count them as backlinks, sometimes not. But they do parse out for links in other formats besides HTML.
|
mjansen

msg:422695 | 2:35 pm on Jan 2, 2005 (gmt 0) |
I understand. But I think there are options to link on a manner that Google doesn't see them as an outbound link. Like putting the links in an i-frame or something like that. Can someone tell me how I have to link (or what I have to change) to be sure that Google doesn't count them as an outbound link/backlink?
|
bakedjake

msg:422696 | 2:36 pm on Jan 2, 2005 (gmt 0) |
| Can someone tell me how I have to link (or what I have to change) to be sure that Google doesn't count them as an outbound link/backlink? |
| Well, the NOFOLLOW robots meta tag will do it for all of the links on the page, but other than that, I don't know of a good way. If you're trying to block access to a specific set of pages (say, you have printer friendly pages and are worried about dupe content), then do it with web server access mechanisms (.htaccess and the like) or in robots.txt if they're in a sensible folder structure.
|
mjansen

msg:422697 | 3:29 pm on Jan 2, 2005 (gmt 0) |
And if I link using the following code: <a href="javascript:extlink('http://www.domain.com);" class=ab>Domain website</a> And putting the following code in a JS file: <script> function extlink(url) { window.open(url); } </script> That's a little bit other then the javascript code I'm currently using. Will Google count it as an outbound link when I use the above javascript code?
|
bakedjake

msg:422698 | 3:30 pm on Jan 2, 2005 (gmt 0) |
I don't know if it will count it, but it will certainly read the URL from the JavaScript.
|
mjansen

msg:422699 | 4:14 pm on Jan 2, 2005 (gmt 0) |
Ok, thanks. Someone told me that it would be an option to link with out.php?id=1 for example, give each link an "id" and use an meta refresh on out.php to www.domain.com for example. Is that right? Does Google see this as an outbound link/backlink to domain.com? [edited by: martinibuster at 6:18 am (utc) on Jan. 14, 2005] [edit reason] fixed url [/edit]
|
queritor

msg:422700 | 4:31 pm on Jan 2, 2005 (gmt 0) |
mjansen, Google sees that as a link because it *is* a link. That's what the <a href="..." means. :) A true javascript link will use CSS and a <span> tag with no sign of an href.
|
mjansen

msg:422701 | 4:37 pm on Jan 2, 2005 (gmt 0) |
So, Google won't index the link when I use the following code? <span class="dynlink" onclick="window.location='http://www.yourdomain.com'" onmouseover="window.status='http://www.yourdomain.com'; this.style.color='red';this.style.textDecoration='underline'" onmouseout="window.status=''; this.style.color='#0000CC'; this.style.textDecoration='underline'">Anchor Text</span> And using the following code in my CSS file: .dynlink { color: #0000CC; text-decoration: underline; cursor: pointer; cursor: hand; } Will Google not index the link then? If yes, how can I make it so that the link opens in a new window? So the target is blank? Many thanks. [edited by: martinibuster at 6:19 am (utc) on Jan. 14, 2005]
|
queritor

msg:422702 | 5:06 pm on Jan 2, 2005 (gmt 0) |
You need to change the "onlick" so that it calls a custom javascript function that will: 1) open a new window ( ie. window.open) 2) set the url ( ie. location ) 3) set the focus of the newly opened window Although there's no guarantee that Google won't follow these links sometime in the near future (or even now).
|
martinibuster

msg:422703 | 5:24 pm on Jan 2, 2005 (gmt 0) |
You should read this thread. It contains dozens of ways to mask your link. [webmasterworld.com...]
|
mjansen

msg:422704 | 1:26 pm on Jan 4, 2005 (gmt 0) |
@queritor Looks great. What you mean is to put the link url's in a JS file? Do I understand you good? Maybe you can give an example of it (or of the script if possible)? Many thanks.
|
queritor

msg:422705 | 2:04 pm on Jan 4, 2005 (gmt 0) |
Here's a complete example: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Hidden External Link Example</title> <script type="text/javascript"> <!-- function _blank(url) { var b = window.open(); b.location = url; b.focus(); } --> </script> <style type="text/css"> <!-- .external { cursor:pointer; cursor:hand; text-decoration: underline; color:blue; } --> </style> </head> <body> <p class="external" onclick="_blank('http://external_site.com')" onmouseover="window.status='http://external_site.com' " onmouseout="window.status=' ' ">An External Site</p> </body> </html>
[edited by: martinibuster at 6:22 am (utc) on Jan. 14, 2005] [edit reason] fixed sidescroll [/edit]
|
mjansen

msg:422706 | 3:19 pm on Jan 4, 2005 (gmt 0) |
@queritor Looks great, thanks! I think it's the best if I put the following javascript code in a JS file; <script type="text/javascript"> <!-- function _blank(url) { var b = window.open(); b.location = url; b.focus(); } --> </script> And the CSS code in a CSS file. Do you think Google will index this, or have you any experience with it? Or can they give a ban to sites that are using this method?
|
mjansen

msg:422707 | 3:22 pm on Jan 4, 2005 (gmt 0) |
To clarify, I mean if Google can index the links by using this method..?
|
Trax

msg:422708 | 1:06 pm on Jan 12, 2005 (gmt 0) |
I saw a bullet proof way online... I can't post the link to it over here, right?
|
mjansen

msg:422709 | 10:03 pm on Jan 12, 2005 (gmt 0) |
@Trax I think it's know problem if you post the link here in this topic...
|
whoisgregg

msg:422710 | 5:54 am on Jan 14, 2005 (gmt 0) |
It's possible that Google will look for any string that starts with "http://" and try to make sense out of it. I know of some robots that can and will follow a link in a <textarea>.
|
|