At first glance there appears to be nothing much on this page for google to feed on. Poor SEO. However, its there, but its simply not easy to get to. Lower down the page - if you can get it to scroll down is a ton of keywords, phrases, links etc. clever stuff - bet google loves that.
But - how did they achieve this?
As photographers ourselves, we don’t like much text on our homepage, but have it there to keep google happy. Would be great to do something similar to this, to hide it away better. Usually I’d consider it bad practice to break the ability to scroll the page. But truth is, that info is not really for people to read. Its for google. So I see why they’ve done it like that.
Still got issues with it. So, I’ve done the following. I’ve copied the actual script into a text document (textedit). Then saved the file. I’ve taken off the rtf ending leaving the .js ending. I am presuming like a .exe file on a PC, that this will work? I’ve never saved a Javascript file before, so not sure.
Next, I’ve uploaded that file to my server in a folder called javascript which resides in my main site folder.
In my freeway doc, I’ve then put this line in the Before section
But no joy!
My google analytics code is just above this line of code. I presume that the scripts run one after the other. They don’t clash or anything.
Let me put in my semi-weekly plug for the FREE TextWrangler from http://barebones.com (makers of BBEdit). This is a full-caffeine programmer’s text editor, and it will give you many of the bells and whistles of its 25-year-old $50 big brother – for the nice price. Yes, TextEdit is already installed, and if you switch it to plain-text mode, it will work. But you won’t have syntax highlighting, line numbers, smart indenting; all that stuff that makes the hieroglyphics of code easier for mere humans to parse.
Walter
On May 17, 2012, at 5:44 AM, Paul Tansley wrote:
Got It
Yay - dances around room…
My mistake was saving the JS file as rich text in text edit. Needs converting to plain text first. Duh!
Thanks again for the help David, much appreciated.