Do javascript footer links rank the same as links on page?

Discussion in 'Search Engine Optimization' started by pstatus, Aug 5, 2007.

  1. #1
    Okay this may have been mentioned before (or not) but i decided to make a javascript footer for all my pages. So instead of putting links manually on ever single page. i just insert the javascript. My question is as far as SEO goes, do these links carry any less weight then regular html links on the page? Do footer links get penalized or discounted in anyway?

    Thanks
     
    pstatus, Aug 5, 2007 IP
  2. kemus

    kemus Guest

    Messages:
    487
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I think most SE's cant/wont/dont read javascript. You could try making it a PHP include as well, it's pretty easy to do and will definately count.

    <? include "footer.html"?>
    PHP:
    and then make a footer.html page that has the links.

    (Note: php code only works if your server supports it [most do] and if the file extension is .php)
     
    kemus, Aug 5, 2007 IP
  3. pstatus

    pstatus Peon

    Messages:
    297
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    are you sure???? ohh well looks like it's back to the drawing board.
     
    pstatus, Aug 5, 2007 IP
  4. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    437
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yes, not only that but JavaScript menus are also inaccessible to those who either have JavaScript turned off (either by choice or because their employer/parent did so), blocked (firewall) or is flat-out not supported (Lynx for example).
     
    Dan Schulz, Aug 5, 2007 IP
  5. Wildhoney

    Wildhoney Active Member

    Messages:
    192
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #5
    It all depends on how you are applying the text to the page. If for instance you are doing this:

    document.getElementById('myFooter').innerHTML = 'Footer text';
    Code (markup):
    Any spider will think you do not have a footer as the pages are processed before the Javascript is applied. If, however, you have the following:

    document.getElementById('myFoote').style.setAttribute('display', '');
    Code (markup):
    Then this will be fine as it'll just mean people without Javascript just won't be able to see the footer, but will still be in the source which is important for spiders. I don't imagine you're doing it this way, and SSI would be the solution, as aforementioned by another individual.

    Download the Lynx browser to look over your sites as this is how a spider will see it.
     
    Wildhoney, Aug 5, 2007 IP
  6. trichnosis

    trichnosis Prominent Member

    Messages:
    13,785
    Likes Received:
    333
    Best Answers:
    0
    Trophy Points:
    300
    #6
    javascript link will be not be followed by search engines. because of it, it will not help your seo
     
    trichnosis, Aug 6, 2007 IP
  7. Noddegamra

    Noddegamra Peon

    Messages:
    1,013
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Yup, Javascript isn't executed by search engines / spiders.
     
    Noddegamra, Aug 6, 2007 IP
  8. pstatus

    pstatus Peon

    Messages:
    297
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Thanks guys.. i suspected as much.. why some of my sites never showed up as backlinks.. feel STOOPID.. blah.
     
    pstatus, Aug 6, 2007 IP
  9. BrianJump

    BrianJump Active Member

    Messages:
    926
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    90
    #9
    ouch! USe java FOR blackhat, NOT for WHITEHAT seo..lesson learned.
     
    BrianJump, Aug 6, 2007 IP
  10. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    437
    Best Answers:
    0
    Trophy Points:
    0
    #10
    JavaScript, not Java. They're about as different as night and day.
     
    Dan Schulz, Aug 7, 2007 IP