Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Google Forum


You are currently viewing our The Google Forum as a guest. Please register to participate.
Login



Reply
does google spider external javascript?
Old 05-19-2005, 05:57 AM does google spider external javascript?
Guerrilla's Avatar
Ultra Talker

Posts: 424
Trades: -1
I have a links directory on my site that i dont want the search engines to see but i want my visitors to click on the link to it.

I have been trying to think of a way of doing this and this is my latest theory:

Use <script type="text/javascript" src="myspecialfile.js"></script> on my page.

The external JS file will contain a document.write() function to write the link to the directory into the page. If i specify in my robots.txt file not to index "myspecialfile.js" it will hopefully not scan that file for links?

Anyone got any ideas how i can test this?

I know google understands javascript but does it parse server side includes or is there any other way of including content that google cant see?

Thanks,

G

PS i have already been warned "this is not a good idea, dont try to cheat the search engines" and i ignored the advice
Guerrilla is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-19-2005, 06:19 AM
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,378
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
No they don't

It is absolutely a bad idea and will very likely come back on you. All it will take is someone to link to one of your "hidden" pages and the crawlers are in there and then you will be SOL. And BTW don't think for one minute that robots.txt will protect you should any SE decide to investigate.

Why on earth would you want to hide your links directory from the SEs if you are ok with visitors seeing it?
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-19-2005, 07:01 AM
Guerrilla's Avatar
Ultra Talker

Posts: 424
Trades: -1
Quote:
Originally Posted by chrishirst
No they don't
Just to clarify, do you mean that they wont read the external JS file?

Quote:
It is absolutely a bad idea and will very likely come back on you. All it will take is someone to link to one of your "hidden" pages and the crawlers are in there and then you will be SOL. And BTW don't think for one minute that robots.txt will protect you should any SE decide to investigate.
I am not sure if using JS to write a single link onto a page is breaking googles TOS, i maybe wrong but i dont think its a serious enough penalty to have me removed from their index or penalised.

Quote:
Why on earth would you want to hide your links directory from the SEs if you are ok with visitors seeing it?
I have seen sites with large reciprocal links directories drop significantly in page rank with not much explanation. one example is http://www.cyberereminder.com. They used to be a 6 and now they are a 2.

I am always chasing links and my links directory is now getting very large. I have sectioned it off into categories in the hope it looks like a valid (but unrelated to my content) resource. If all the links were to sites in my category i would love the SE to find it but they are a mis match and i dont want it to hurt my rankings in the future so i am making plans incase i need to hide it from SE.
Guerrilla is offline
Reply With Quote
View Public Profile
 
Old 05-19-2005, 07:27 AM
mtishetsky's Avatar
King Spam Talker

Posts: 1,226
Name: Mike
Location: Mataro, Spain
Trades: 0
Quote:
Originally Posted by chrishirst
Why on earth would you want to hide your links directory from the SEs if you are ok with visitors seeing it?
To prevent spreading the PR, I guess.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

And don't forget to give me talkupation!
mtishetsky is offline
Reply With Quote
View Public Profile Visit mtishetsky's homepage!
 
Old 05-19-2005, 07:40 AM
Guerrilla's Avatar
Ultra Talker

Posts: 424
Trades: -1
Quote:
Originally Posted by mtishetsky
To prevent spreading the PR, I guess.
Thats not my intention. Im just finding out what to do if i get in trouble and need a quick fix. I will leave the directory up there with normal link but if my site become penalised for it i will hide it. Hopefully that wont happen but if it does i will be ready.

Also i have an affiliate links page where i link to my own affiliate code. I wouldnt mind being able to hide this link from the search engines as it links directly from my index page.

Last edited by Guerrilla; 05-19-2005 at 07:53 AM..
Guerrilla is offline
Reply With Quote
View Public Profile
 
Old 05-19-2005, 08:25 AM
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,378
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
That's correct with one rider At present Google do not read external .js files.

If your reciprocal links directory is well laid out and categorised in subjects/categories it will not matter in the slightest and can actually be beneficial to your site. Everyone seems to miss one point, SEs rank pages not sites so each page of your link directory will be analysed independantly. Do it well and that is potentially hundreds of phrases your site could be found for, You can integrate some deep links from your pages into related cats, put adsense on the links pages to maybe earn some money.

Despite all the dire warnings about bans and penalties it is very difficult to get banned and and even earning a penalty isn't easy you have to be pretty blatant or downright stupid to manange it.


The issue with the site you mentioned is nothing to do with the link pages. They have their backlinks split between the www and the non-www versions.
Be very careful when looking at cause and effect and never assume that the effect you are seeing is caused by what you think.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-19-2005, 11:25 AM
Guerrilla's Avatar
Ultra Talker

Posts: 424
Trades: -1
That's some good advice Chris thanks. I am just about to put AdSense on my links Dir, cant believe i didn't think of it before.

Well spotted with the site but its strange the way it dropped from a PR6. I think you are right, perhaps a high PR site just stopped linking to them, who knows?

I think i will hold off using the external JS files for now but i am now very tempted to put in affiliate ads and links using this method.
Guerrilla is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to does google spider external javascript?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.25955 seconds with 12 queries