Script Code error according to IBP

by crowly
3 replies
  • WEB DESIGN
  • |
Hi guys,

I am using IBP ( I business promooter ) to evaluate the SEO of my websites. According to the program one of my sites have:

" Your web page uses 405 bytes of script code which makes it harder for search engines to index your page. Consider putting the script code in an external file with the <script src="myscripts.js"></script> commands. The file "myscripts.js" should be a simple text file that contains only the script code without any HTML markup. The next time your page is spidered by the search engine robots, the important content on your page will be closer to the top of the page, and you might have a better keyword density. "

Help greatly appreciated.

Crowly
#code #error #ibp #script
  • Profile picture of the author phpbbxpert
    It's not an error, its just telling you to take the inline JavaScript in the head of your site and put it in it's own file and link it back into the head.
    {{ DiscussionBoard.errors[3041845].message }}
    • Profile picture of the author nameforum
      Hi,

      I have exactly the same problem but I'm not using any js in my page and css appears to be linked externally - well at least I have a separate css sheet linked from the head - any input would be appreciated
      {{ DiscussionBoard.errors[8965025].message }}
  • Profile picture of the author mystline
    Also consider placing your script towards the bottom of your page, this will help improve page load times.

    Or, you can use something like Head.JS to handle asynchronous javascript + a few other nifty things.
    {{ DiscussionBoard.errors[3042613].message }}

Trending Topics