Question on noscript tags and indexing
-
If I have a
<noscript>tag on every page of my website with the same sentence over and over saying something to the effect of "Sorry our site uses Javascript, please enable javascript for the full site experience.", Webmaster Tools will tell me that one of the most common words on my site is "Javascript".</p> <p>Is this something to be concerned about from an SEO perspective? My site is obviously not about Javascript and I don't want to dilute my page's topic or authority by repeating words that are not relevant to the topic of my site.</p> <p>Thanks!</p></noscript>
-
Weird. We were having a problem where lots of our skill pages were getting our
<noscript>text used as page descriptions on Google SERPS. We added these comments, and Googlebot reverted to using our meta description as the page descriptions in SERPs. It could have been a freak coincidence that Google stopped using our <noscript> text right after we implemented the tags, or possibly Google was (possibly accidentally) supporting them for web search awhile back when we originally did this, and now has stopped supporting it. Anyways, our SERPS remain clean of our <noscript> text today (<a href="https://www.google.com/search?q=site:www.ixl.com/math/grade-5" target="_blank">example</a>).</p> <p>John Mueller recently commented on that Quora thread saying it won't do anything for web search, so IMO that puts this to rest.</p></noscript>
-
Yes actually you are correct. After I read this answer I tested it on my personal site by adding the tags around some nonsense words. Not only did Google index the pages with the nonsense words making it into their cache of the pages, but my site ranks for those nonsense words. So while it would be awesome if Googlebot honored those tags, they only work for the Google search appliance!
-
John,
The googleoff and googleon tags are meant for Google's enterprise site search product, Google Search Appliance. They "shouldn't" have any effect on the public index. Do you have an example where you can prove they work in Google search?
-
Can you try wrapping only the message about Javascript with the googleoff/googleon comments, and see what happens? It you don't have to put it around everything in the
<noscript>. I would agree that it sounds like the structure of your site is not ideal, but I'd try that first and see if it solves the problem.</p></noscript>
-
John,
You just literally blew my mind with that googleon/googleoff documentation! I've been working as an SEO since 2001 and have literally never heard of this! I have so many questions I need to research. I can think of a lot of ways to use this but I'm sure the best practices around its use are more nuanced than just the technical documentation.
Anyway, in terms of my immediate problem, not sure if that will fix it. I should have mentioned that in addition to the message about Javascript, the noscript tag also contains site content, including navigation links, that are not on the page otherwise for non-javascript clients. In other words, this entire website is a singe blank page with no content on it if you do not have javascript without the noscript tags. The long term solution is to completely redo the website, obviously, but I need a short term solution to get some SEO traction. I guess I could always put the javascript message as an image.
-
I had a similar problem, Google was picking up
<noscript>text and using it as the description for our pages in some SERPs. We didn't want to remove them, so we tried using "googleoff" and "googleon" tags, which are just HTML comments that Googlebot can read. You can read their documentation <a href="https://developers.google.com/search-appliance/documentation/68/admin_crawl/Preparing#pagepart" target="_blank">here</a>. We wrapped the text in the <noscript> with these comments, and it worked like a charm, so it does look like Google respects these tags.</p> <p>If I were you, I'd go ahead and add the syntax if it's easy for you to do (i.e. only have to add it a few places in the code, not in thousands). It's probably not great for your SEO that Google thinks your site is about Javascript. Or you can do what Frederico says and remove it. Only you know your user base, but he's probably right. Almost everyone for the most part everyone has Javascript enabled these days.</p> <p>I originally read about this in the Quora thread <a href="http://www.quora.com/Quora/Why-hasnt-Google-banned-Quora-for-hiding-answers-from-search-engine-visitors" target="_blank">here</a>. Quora Uses it to control what text Googlebot can index on their pages. If you want to see an example of it on my site, you can view one of our skills <a href="http://www.ixl.com/math/pre-k/identify-circles-squares-and-triangles" target="_blank">here</a>.</p></noscript>
-
Most modern browsers run javascript, and most users have Javascript enabled and running as sites today use it more and more. I would definitely remove that noscript tag and all within. It is actually not adding any value while it can cause google to recognize your site as something related to javascript.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Tags problem I need help
Hello I have a problem on my site and I want to help solve it I allow adding tags in search engines However, when writing new content, tags are not added to search engines This is my website link مجلة الحلوة
Technical SEO | | ahmedahmed3230 -
Pages not indexable?
Hello, I've been trying to find out why Google Search Console finds these pages non-indexable: https://www.visitflorida.com/en-us/eat-drink.html https://www.visitflorida.com/en-us/florida-beaches/beach-finder.html Moz and SEMrush both crawl the pages and show no errors but GSC comes back with, "blocked by robots.txt" but I've confirmed it is not. Anyone have any thoughts? 6AYn1TL
Technical SEO | | KenSchaefer0 -
Setting up hreflang tags
Hi everyone, A quick question about setting up your Hreflang tags. Here you can see 2 examples: As you can see, the order of the elements is different. Be aware, there is a tiny difference between the 2: the first Hreflang is written for a specific language in a specific country, the second one only contains a language code. Is this the reason why the order is different or is this just a coincidence and doesn't the order of the elements matter at all? Thanks,
Technical SEO | | WeAreDigital_BE
Jens0 -
Subdomain Ranking Question
Hi All - Quick question that I think I know the answer to, but I feel like I've been going around in circles a bit. My client is launching a new product and wants us to build a microsite for it (product.clientname.com). My client really dislikes their brand website, and wants to use paid media to push their audience to this new microsite. However, they also said want it to rank well organically. I feel uneasy about this, because of the subdomain vs. subfolder argument. I believe that the product will also be listed/featured on their main brand website. What is the best way forward? Thanks!
Technical SEO | | AinsleyAgency0 -
Fake Links indexing in google
Hello everyone, I have an interesting situation occurring here, and hoping maybe someone here has seen something of this nature or be able to offer some sort of advice. So, we recently installed a wordpress to a subdomain for our business and have been blogging through it. We added the google webmaster tools meta tag and I've noticed an increase in 404 links. I brought this up to or server admin, and he verified that there were a lot of ip's pinging our server looking for these links that don't exist. We've combed through our server files and nothing seems to be compromised. Today, we noticed that when you do site:ourdomain.com into google the subdomain with wordpress shows hundreds of these fake links, that when you visit them, return a 404 page. Just curious if anyone has seen anything like this, what it may be, how we can stop it, could it negatively impact us in anyway? Should we even worry about it? Here's the link to the google results. https://www.google.com/search?q=site%3Amshowells.com&oq=site%3A&aqs=chrome.0.69i59j69i57j69i58.1905j0j1&sourceid=chrome&es_sm=91&ie=UTF-8 (odd links show up on pages 2-3+)
Technical SEO | | mshowells0 -
Indexing a catalogue
A client of mine has a large printed product catalogue that they post on their website as a pdf. Should I take a different approach of posting this catalogue in order to gain SEO value?
Technical SEO | | garymeld0 -
My beta site (beta.website.com) has been inadvertently indexed. Its cached pages are taking traffic away from our real website (website.com). Should I just "NO INDEX" the entire beta site and if so, what's the best way to do this? Please advise.
My beta site (beta.website.com) has been inadvertently indexed. Its cached pages are taking traffic away from our real website (website.com). Should I just "NO INDEX" the entire beta site and if so, what's the best way to do this? Are there any other precautions I should be taking? Please advise.
Technical SEO | | BVREID0 -
Header Tag Question
While reviewing code on a site, I found the following: <h1 class="<a class="attribute-value">logo</a>"> <a id="<a class="attribute-value">logo</a>" href="[http://siteexampleh1.com](view-source:http://dmbinc.com/)"><span>Example of most important content on this page- Companyspan>a> h1> Is this the correct way to place code for an h1 tag? The content is cached within the page and is hidden to the viewer. The content that is assigned as the h1, is a logo. Majority of code I have been reviewing does not use this setup. The code would instead read as ( This is heading 1 ). Can anyone provide insights on this? Thanks!
Technical SEO | | jfeitlinger0