Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Apr 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Javascript, noscript, & search engines

    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.

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,986
    Thanks
    203
    Thanked 2,536 Times in 2,514 Posts
    See coothead's post in

    Find out if JS enabled

  • #3
    New to the CF scene
    Join Date
    Apr 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •