Google is reportedly engaged on fixing a bug with not with the ability to correctly reply to a noindex directive on some JavaScript generated pages. That is taking place for some React apps utilizing Single Web page Functions (SPAs) which have the noindex directive on them however Google just isn’t selecting it up and thus indexing pages that shouldn’t be listed.
This situation was noticed by Mark Williams-Prepare dinner, the Director at Candour and Founding father of AlsoAsked, a well-liked search engine optimization software. He posted in regards to the situation on LinkedIn and stated, “Here is a screenshot of over 9,000 “noindex” pages being listed. Including ‘noindex’ through JS generally is a answer, nevertheless it’s completely not dependable.”
Right here is that screenshot from Google Search Console’s indexing report:
He later shared that Google is now conscious of the problem and is engaged on fixing it. “I spoke to Googlers about this and it’s a bug they’re engaged on fixing,” he wrote.
Mark went on to clarify that that is an instance of a React app that has a meta “noindex” added through JavaScript, however the pages are nonetheless getting listed.
Martin Splitt from Google did communicate previously about noindex meta and JavaScript pages and typically, Google does have a tough to processing them. However lately, Google should not be challenged by them. I suppose on this case, Google was?
Once more, I think on this case, Google fetched and rendered the web page previous to the JavaScript executing the noindex meta knowledge. So Googlebot did not see the noindex directive but. This will occur, it’s uncommon, however this will occur and clearly did occur. Google has warned about this earlier than, together with utilizing JavaScript to generate structured knowledge in some circumstances.
Mark’s answer was to make use of CloudFlare to serve the noindex directive previous to the JavaScript executing its personal meta knowledge (which is served within the HTTP header), however that was solely after he came upon Google was not selecting up on the primary answer he had. Mark wrote, “With some Single Web page Functions (SPAs), it may be troublesome to have management over what’s proven earlier than the JS is executed. On this occasion, I managed to get the pages to set a “noindex” earlier than JS was rendered through the use of Cloudflare Remodel guidelines.”
So for those who observed this situation as nicely, hopefully Google will patch it up and if not, search for another answer – like Mark did.
Discussion board dialogue at LinkedIn.
#Google #Noindex #Bug #JavaScript #Pages