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
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)
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).
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.
Thanks guys.. i suspected as much.. why some of my sites never showed up as backlinks.. feel STOOPID.. blah.