Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
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
-
Google Not Indexing Pages (Wordpress)
Hello, recently I started noticing that google is not indexing our new pages or our new blog posts. We are simply getting a "Discovered - Currently Not Indexed" message on all new pages. When I click "Request Indexing" is takes a few days, but eventually it does get indexed and is on Google. This is very strange, as our website has been around since the late 90's and the quality of the new content is neither duplicate nor "low quality". We started noticing this happening around February. We also do not have many pages - maybe 500 maximum? I have looked at all the obvious answers (allowing for indexing, etc.), but just can't seem to pinpoint a reason why. Has anyone had this happen recently? It is getting very annoying having to manually go in and request indexing for every page and makes me think there may be some underlying issues with the website that should be fixed.
Technical SEO | | Hasanovic1 -
Google is indexing bad URLS
Hi All, The site I am working on is built on Wordpress. The plugin Revolution Slider was downloaded. While no longer utilized, it still remained on the site for some time. This plugin began creating hundreds of URLs containing nothing but code on the page. I noticed these URLs were being indexed by Google. The URLs follow the structure: www.mysite.com/wp-content/uploads/revslider/templates/this-part-changes/ I have done the following to prevent these URLs from being created & indexed: 1. Added a directive in my Htaccess to 404 all of these URLs 2. Blocked /wp-content/uploads/revslider/ in my robots.txt 3. Manually de-inedex each URL using the GSC tool 4. Deleted the plugin However, new URLs still appear in Google's index, despite being blocked by robots.txt and resolving to a 404. Can anyone suggest any next steps? I Thanks!
Technical SEO | | Tom3_150 -
Multiple H1 Tags on Page
Can having multiple H1 tags on a webpage be detrimental to its rankings?
Technical SEO | | AubbiefromAubenRealty0 -
No index on subdomains
Hi, We have a subdomain that is appearing in the search results - I want to hide this as it looks really bad. If I were to add the no index tag to the sub domain would URL would this affect the whole domain or just that sub domain? The main domain is vitally important - it is just that sub domain I need to hide. Many thanks
Technical SEO | | Creditsafe0 -
Staging & Development areas should be not indexable (i.e. no followed/no index in meta robots etc)
Hi I take it if theres a staging or development area on a subdomain for a site, who's content is hence usually duplicate then this should not be indexable i.e. (no-indexed & nofollowed in metarobots) ? In order to prevent dupe content probs as well as non project related people seeing work in progress or finding accidentally in search engine listings ? Also if theres no such info in meta robots is there any other way it may have been made non-indexable, or at least dupe content prob removed by canonicalising the page to the equivalent page on the live site ? In the case in question i am finding it listed in serps when i search for the staging/dev area url, so i presume this needs urgent attention ? Cheers Dan
Technical SEO | | Dan-Lawrence0 -
How to determine which pages are not indexed
Is there a way to determine which pages of a website are not being indexed by the search engines? I know Google Webmasters has a sitemap area where it tells you how many urls have been submitted and how many are indexed out of those submitted. However, it doesn't necessarily show which urls aren't being indexed.
Technical SEO | | priceseo1 -
What to do with 302 redirects being indexed
Hi there, Our site's forums include permalinks that for some reason uses an intermediary URL that 302 redirects to the URL with the permalink anchor. For example: http://en.tradimo.com/learn/chart-analysis/time-frames/ In the comments, there is a permalink to the following URL; en.tradimo.com/co/50c450005f2b949e3200001b/ (there is no content here, and never has been). This URL 302 redirects to the following final URL: http://en.tradimo.com/learn/chart-analysis/time-frames/?offset=0&limit=20#50c450005f2b949e3200001b The problem is, Google is indexing the redirect URL (en.tradimo.com/co/50c450005f2b949e3200001b/) and showing duplicate content even though we are using the nofollow tag on these links. Ideally, we would directly use the last link rather than redirecting. Alternatively, I'd say a 301 redirect would be preferable. But if both aren't available, is there a way to get these pages out of the index? Is the canonical tag the best way? I really wish I could just add /co/ to the robots.txt file, but I think they would still be in the index, right? Thanks for your help!
Technical SEO | | etruvian0 -
Tags showing up in Google
Yesterday a user pointed out to me that Tags were being indexed in Google search results and that was not a good idea. I went into my Yoast settings and checked the "nofollow, index" in my Taxanomies, but when checking the source code for no follow, I found nothing. So instead, I went into the robot.txt and disallowed /tag/ Is that ok? or is that a bad idea? The site is The Tech Block for anyone interested in looking.
Technical SEO | | ttb0