Would a Javascript link like this pass pagerank?

by nik0 Banned
5 replies
  • SEO
  • |
Code:
<div data-link="http://www.site.com/item/some-page/" class="more-button">
I know it's crawlable but would it pass pagerank as well?
#javascript #link #pagerank #pass
  • Profile picture of the author Steve Waller
    Interesting...it's an HTML5 thing I see and according to this website, it shouldn't in fact be crawlable:

    Prefixing the custom attributes with data- ensures that they will be completely ignored by the user agent. As far as the browser and indeed the website’s end user are concerned, this data does not exist.
    Signature


    Crawl Your Way To Cheaper Expired Domains - PM Me To Access My Personal Crawler/Scraper


    {{ DiscussionBoard.errors[9130687].message }}
  • Profile picture of the author yukon
    Banned
    You would be better off breaking that URL up into multiple chunks with the javascript & when traffic clicks the link the browser rebuilds the link on click.

    Basically make the javascript over complicated. I have a working example of what I'm talking about If you want to see it PM me. No point & posting it here for Matt, lol.

    I guess your not wanting PR to flow since your using javascript?
    {{ DiscussionBoard.errors[9131870].message }}
    • Profile picture of the author nik0
      Banned
      Originally Posted by yukon View Post

      You would be better off breaking that URL up into multiple chunks with the javascript & when traffic clicks the link the browser rebuilds the link on click.

      Basically make the javascript over complicated. I have a working example of what I'm talking about If you want to see it PM me. No point & posting it here for Matt, lol.

      I guess your not wanting PR to flow since your using javascript?
      It's a local listing theme that I use that does this, it has a map (google map style) with all those listings and I actually DO want it to pass pagerank as when you click on one of the items on the map you get taken to a much better designed page then the basic "Posts" that it publishes on the homepage.

      Those items are only accessible through homepage.com/item/company-1/ so that's one more link away from the homepage.
      {{ DiscussionBoard.errors[9131900].message }}
      • Profile picture of the author yukon
        Banned
        Originally Posted by nik0 View Post

        It's a local listing theme that I use that does this, it has a map (google map style) with all those listings and I actually DO want it to pass pagerank as when you click on one of the items on the map you get taken to a much better designed page then the basic "Posts" that it publishes on the homepage.

        Those items are only accessible through homepage.com/item/company-1/ so that's one more link away from the homepage.
        Check the theme demo Google Cache (text version) to see how the links show up. Do the links look like regular hyperlinks on the text cache?

        Make sure your looking at the actual demo cache, a lot of times theme demos use an iframe.

        If there's no cache on the theme demo use this Firefox plugin below with the settings listed to simulate a Google Cache (text version).

        Download the browser plugin.
        • Disable all javascript
        • Disable all images
        • Disable all styles
        {{ DiscussionBoard.errors[9131911].message }}
        • Profile picture of the author nik0
          Banned
          Ah nothing of the whole map shows up in text cache with the demo.

          Have to try it on my live site, so waiting for the cache to refresh, last update was 22 April.
          {{ DiscussionBoard.errors[9132561].message }}

Trending Topics