At 3:46 PM +0200 4/16/10, Michiel Sikma wrote:
On 16 April 2010 14:06, Paulo-WORK <> wrote:


The nicest way, in my opinion, is to simply display the alternative content
for the site and override it if Javascript is present. If it's turned off,
people will see your static content, and if it's on they'll get the full
experience. Having alternative content is important because it allows Google
to properly index your site.

Finding a way to check if Javascript is turned on while still in server side
is really unnecessary, since displaying alternative content and removing or
hiding it client side works just as well as redirecting to an alternative



I agree. Here's a working example with everything you need:




PHP General Mailing List (
To unsubscribe, visit:

Reply via email to