Forum Moderators: Robert Charlton & goodroi
My site currently uses SSI to serve up my navigation, but my hosting provider every now and then makes a change to the server which screws it up, and results in updates to my includes taking a while to become live. So, I've decided to go the JavaScript route.
My JavaScript is nothing complicated, my function writes out some table layout stuff, and I have hardcoded absolute URLs to my pages contained in document.write("<a href=\"http://www.site.com/abc.htm\">");. The JavaScript is contained in a single external .js file.
Will Google be able to find and follow these links? Since there is nothing fancy going on, I figure it won't be much of a problem, but I want to check first with people who know better than I.
If this won't work well for Google, is there a way I can setup my SSI to provide SSI'd nav links to google, and write out my JavaScript to regular users?
I really appreciate you taking the time to enlighten me on this.
Thank you,
Chris
It seems like it would be simple for google to just follow a external js link, and look for anything that looks like a fully formed URL, and then just follow it. So I'm hoping someone can confirm this can happen.
Worst case scenario, I could change hosts. My main problem that I have right now with SSI, is that if I update my headers or navigation, it 95% of the time works fine. I have a testimonial display on the right hand side that is randomly displayed using SSI (basically picking a quote based on parsing the time), and this has stopped working on my home page, and one other page, but works on all others. Part of the problem is I have setup Apache to treat my html files as server parsed, instead of the usual shtml, etc, and it seems like the host just doesn't get it.
So, anyone seen Google having an apetite for JavaScript these days?