...

View Full Version : Javascript, noscript, & search engines



cubiq
04-28-2006, 08:23 PM
Not a javascript question, per-se, but not sure where else to post. I use:

<noscript>
<meta http-equiv="refresh" content="1; URL=../nojs.html">
</noscript>

to detect if a user doesn't have javascript enabled with they hit pages that require javascript. The problem is that search engines follow this, so the content for my javascript pages show up as my "javascript is not enabled" page.

If I add <meta name="robots" content="index,nofollow"> to the noscript block, will that solve my problem, or is there a recommended way to do this?

Thanks.

Philip M
04-28-2006, 08:45 PM
See coothead's post in

http://www.codingforums.com/showthread.php?t=80616

cubiq
04-28-2006, 09:21 PM
Thanks, sorry I missed that. I ended up doing a varation. I just have a little intro page with a button that changes the location.href. Same effect, basically.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum