homepage Welcome to WebmasterWorld Guest from 54.163.84.199
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Google / Google SEO News and Discussion
Forum Library, Charter, Moderators: Robert Charlton & aakk9999 & brotherhood of lan & goodroi

Google SEO News and Discussion Forum

    
Javascript void and PR
member22




msg:4412683
 3:23 pm on Jan 31, 2012 (gmt 0)

I was wondering if when you have a menu that is not active ( with a javascrip void link ) it is passes PR or no ?

 

tedster




msg:4412766
 5:56 pm on Jan 31, 2012 (gmt 0)

The answer is "it depends." It depends on how the actual source of the link is defined through the JavaScript. If Google can process the script and find the target URL, they can (and sometimes do) treat it like a regular link. If the function being called is highly obscured, then probably not - although Google is improving their JavaScript processing all the time.

You can always set up a test environment and at least see whether anchor text influence gets passed through whatever method you are using. Also, you can test to find out whether the javascript link allows Google to discover a new URL. The last I tested with some basic scripts, they could.

Globetrotter




msg:4412789
 6:57 pm on Jan 31, 2012 (gmt 0)

Hoe would you setup a test like that?

And can you assume goggle reads standard libraries easyer than custom JavaScript code?

member22




msg:4413022
 10:42 am on Feb 1, 2012 (gmt 0)

Tedster if in the robot.txt I put the javascript void will it block google from passing PR ?

Here is the line of code that I have
<a href="javascript:void(0)" class="dj-up_a ">

If I write this in my robot.txt would it work
/javascript:void(0)

By the way does mailto: also passes PR ? and if it does it can I block it with a robot.txt ?

Here is the address I have
<a href="mailto:myemail@myemail.com">

If I write this in my robot.txt is it going to work
/mailto:myemail@myemail.com

rlange




msg:4413075
 2:49 pm on Feb 1, 2012 (gmt 0)

I'm assuming that Google's smart enough not to pass Page Rank to non-documents.

--
Ryan

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google SEO News and Discussion
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved