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
-
Keywords are indexed on the home page
Hello everyone, For one of our websites, we have optimized for many keywords. However, it seems that every keyword is indexed on the home page, and thus not ranked properly. This occurs only on one of our many websites. I am wondering if anyone knows the cause of this issue, and how to solve it. Thank you.
Technical SEO | | Ginovdw1 -
URLs dropping from index (Crawled, currently not indexed)
I've noticed that some of our URLs have recently dropped completely out of Google's index. When carrying out a URL inspection in GSC, it comes up with 'Crawled, currently not indexed'. Strangely, I've also noticed that under referring page it says 'None detected', which is definitely not the case. I wonder if it could be something to do with the following? https://www.seroundtable.com/google-ranking-index-drop-30192.html - It seems to be a bug affecting quite a few people. Here are a few examples of the URLs that have gone missing: https://www.ihasco.co.uk/courses/detail/sexual-harassment-awareness-training https://www.ihasco.co.uk/courses/detail/conflict-resolution-training https://www.ihasco.co.uk/courses/detail/prevent-duty-training Any help here would be massively appreciated!
Technical SEO | | iHasco0 -
Sudden Indexation of "Index of /wp-content/uploads/"
Hi all, I have suddenly noticed a massive jump in indexed pages. After performing a "site:" search, it was revealed that the sudden jump was due to the indexation of many pages beginning with the serp title "Index of /wp-content/uploads/" for many uploaded pieces of content & plugins. This has appeared approximately one month after switching to https. I have also noticed a decline in Bing rankings. Does anyone know what is causing/how to fix this? To be clear, these pages are **not **normal /wp-content/uploads/ but rather "index of" pages, being included in Google. Thank you.
Technical SEO | | Tom3_150 -
Do URLs with canonical tags get indexed by Google?
Hi, we re-branded and launched a new website in February 2016. In June we saw a steep drop in the number of URLs indexed, and there have continued to be smaller dips since. We started an account with Moz and found several thousand high priority crawl errors for duplicate pages and have since fixed those with canonical tags. However, we are still seeing the number of URLs indexed drop. Do URLs with canonical tags get indexed by Google? I can't seem to find a definitive answer on this. A good portion of our URLs have canonical tags because they are just events with different dates, but otherwise the content of the page is the same.
Technical SEO | | zasite0 -
No Index PDFs
Our products have about 4 PDFs a piece, which really inflates our indexed pages. I was wondering if I could add REL=No Index to the PDF's URL? All of the files are on a file server, so they are embedded with links on our product pages. I know I could add a No Follow attribute, but I was wondering if any one knew if the No Index would work the same or if that is even possible. Thanks!
Technical SEO | | MonicaOConnor0 -
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 -
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 -
Google Off/On Tags
I came across this article about telling google not to crawl a portion of a webpage, but I never hear anyone in the SEO community talk about them. http://perishablepress.com/press/2009/08/23/tell-google-to-not-index-certain-parts-of-your-page/ Does anyone use these and find them to be effective? If not, how do you suggest noindexing/canonicalizing a portion of a page to avoid duplicate content that shows up on multiple pages?
Technical SEO | | Hakkasan1