4

I have a page written in React.js, the whole content (including meta tags) is rendered using javascript. Google indexing works flawlessly for these pages, but Bing is inconsistent.

Title

  • some used fallback title from HTML (Decrane.io)
  • some generated from javascript (MD5 | Decrane.io) - this is the correct and expected case
  • when I removed the fallback (to hint bing not to use it), the page does not have title at all...Also notice that this page does not have any content (so it seems that bing did not try to hydrate the page using javascript)

So the question: is there any way, how to force/hint Bing to index the JS pages correctly?

Yes, I know I could use isomorphic templating, but this is just my small personal side project, so I do noot want to invest into isomorph. Also as google supports hydrating the page through JS and it seems that Bing to some extent as well, I think it might be just a matter of time, till all engines fully support JS.

Image of inconsistency in Bing (http/https difference is ok, I made a protocol switch recently)

Inconsistency

  • 2
    Bingbot is just not as advanced as Googlebot, I'm not sure that Bing will index a JS site correctly for quite some time. Why does it even matter though? Bing only has about 7% of the search engine market share. That just isn't enough to worry about. – Stephen Ostermiller Apr 15 '17 at 10:48
  • Well, that depends of the size of your business and the demographics of your clients. That 7% can grow to bigger chunks when you are targeting corporate clients, and even without that, a 7% of 20 millions is not money I would throw to the toilet. – JCabello May 7 '18 at 6:59
2

No. You can't really encourage Bing to index JS properly.

It seems like unless you use the isomorphic / universal style of coding javascript apps then you're just out of luck.

It's a roll of the dice to see if they index the site correctly.

https://www.screamingfrog.co.uk/bing-javascript/

Another work-around is to use a 3rd party service to pre-render your pages. There's a small industry of service providers like https://prerender.io/ who only exist because Google and Bing can't crawl javascript very well.

If you have a small project, it seems like Prerender.io is free for up to 250 pages. I'm assuming you would qualify.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.