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 -
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 -
Not all images indexed in Google
Hi all, Recently, got an unusual issue with images in Google index. We have more than 1,500 images in our sitemap, but according to Search Console only 273 of those are indexed. If I check Google image search directly, I find more images in index, but still not all of them. For example this post has 28 images and only 17 are indexed in Google image. This is happening to other posts as well. Checked all possible reasons (missing alt, image as background, file size, fetch and render in Search Console), but none of these are relevant in our case. So, everything looks fine, but not all images are in index. Any ideas on this issue? Your feedback is much appreciated, thanks
Technical SEO | | flo_seo1 -
Hidden H1 Tag on Image
Hi, In the page I'm working on, I encountered an tag in an image, rather than in a text form. Do you think it's an issue when it comes to SEO?
Technical SEO | | nerdieb
What do you suggest I should do if there is an issue? Keen to hear from you!0 -
Can I have an H1 tag below an H2?
Quick question for you all - Is there an issue with me having an H1 tag physically below an H2 tag on a web page??
Technical SEO | | Pete40 -
Correct linking to the /index of a site and subfolders: what's the best practice? link to: domain.com/ or domain.com/index.html ?
Dear all, starting with my .htaccess file: RewriteEngine On
Technical SEO | | inlinear
RewriteCond %{HTTP_HOST} ^www.inlinear.com$ [NC]
RewriteRule ^(.*)$ http://inlinear.com/$1 [R=301,L] RewriteCond %{THE_REQUEST} ^./index.html
RewriteRule ^(.)index.html$ http://inlinear.com/ [R=301,L] 1. I redirect all URL-requests with www. to the non www-version...
2. all requests with "index.html" will be redirected to "domain.com/" My questions are: A) When linking from a page to my frontpage (home) the best practice is?: "http://domain.com/" the best and NOT: "http://domain.com/index.php" B) When linking to the index of a subfolder "http://domain.com/products/index.php" I should link also to: "http://domain.com/products/" and not put also the index.php..., right? C) When I define the canonical ULR, should I also define it just: "http://domain.com/products/" or in this case I should link to the definite file: "http://domain.com/products**/index.php**" Is A) B) the best practice? and C) ? Thanks for all replies! 🙂
Holger0 -
Questions about the Sandbox and 301 Redirects
Does the sandbox still exist? What if you have a brand new URL and do a 301 redirect from another website because the name of the service business changed? Thanks for any insight and help.
Technical SEO | | SDSLaw0 -
Htaccess redirect with question mark
Hi I have a problem setting up my htaccess for a specific page that has a question mark in the link, and one that has a space in the link and also a question mark. So I would like 2 redirects in my htaccess like that: www.olddomain.com/page.php?page=pagename1 to www.newdomain.com/newpage1.html www.olddomain.com/page.php?page=page name2 to www.newdomain.com/newpage2.html I have tried with something like this but doesn't work: RewriteEngine on RewriteRule ^page.php?page=pagename1 "http://www.newdomain.com/newpage1.html" [R=301,L] RewriteRule ^page.php?page=page name2 "http://www.newdomain.com/newpage2.html" [R=301,L] Could someone tell me what exactly I have to change? Thanks
Technical SEO | | darkanweb0