DEV Community

loading...

Discussion on: How to get 250k+ pages indexed by Google

Collapse
thesureshg profile image
Suresh Kumar Gondi • Edited

Hey David, little help in this code..

if(isBot(req)) {
completeHtml = completeHtml.replace(/]<em>&gt;(?:(?!&lt;\/script&gt;)[<sup>])</sup></em>&lt;\/script&gt;/g, &quot;&quot;)<br> } </p> <p>The function isBot , How are you detecting the bots with that? Can you please share the code of that function? </p> <p>I&#39;m going to apply it for the static site and going to see how it works or non JS based website. </p> <p>Thanks in advance.</p>