Search code examples
javascripthtmlsearch-engine

<noscript> redirect, would it affect search engine optimization?


If i would have such script on website

<noscript>
        <meta http-equiv="refresh" content="0; URL=/Noscript">
</noscript>

The content of my /Noscript saying that user cannot properly use web site without JavaScript enabled and contains information how to turn JavaScript on

So it will redirect each request to /Noscript page if client javascript is disabled. But it is a bit scary because i think what would happend if search engine bot come to my web site, is it will be redirected to that page was well?

So i mean would it affect SEO(Bing, Google etc) somehow ?

Does search engine bots ignored <noscript> tags?


Solution

  • Take a page from Stack Overflow, and other good sites...

    Don't require javascript for basic operation!

    Then gently prod the user:

    "This site requires javascript for full functionality."

    enter image description here

    And, yes, having a separate page for non-JS browsers will hurt your SEO.

    Google frowns on having different content for JS and non-JS users, too.