Google is not indexing my web page from 'Google search console'. HTTP response in Google search console is 200 ok. My site uses blazor server app and is just a web page with Syncfusion Appbar, Dashboard layout, Grid and works as expected when I open it from desktop web browser or from my mobile phone. Search console also shows console info message as - (WebSockets transport) There was an error with the transport. Under screenshot of tested page it shows screenshot which contains only header part and main data table is missing. When I try to open same page from web browser, page loads header (syncfusion appbar) first and it takes 2 or 3 seconds to load rest of the page that contains syncfusion grid with data. Will that be an issue as Google sees just a header initially and thinks that page is already loaded and then thinks that there is noting to index. Please help.
Hi Sandip Mane,
To proceed with investigating the reported problem, we would need some additional clarification from your end. Please share the below details to proceed further at our end.
Hi,
I managed to solve the problem by disabling Blazor prerendering mode as @ rendermode
@(new InteractiveServerRenderMode(prerender: false))
Blazor forum, at another site, suggested that Googlebot will not index Blazor with websockets connection. They suggested to use prerender service such as the one at prerender.io. While that could be an option, I disabled prerender mode and now it seems to work.
I am suspecting that Blazor prerender was providing partial page with just a header without any content and hence Googlebot was rejecting it. While I understand benefit of prerendering, in my case disabling it does not cause a big problem since I already have content cached at the server end.
Hi Sandip Mane ,
We are glad to hear that you have resolved the issue on your own. Please feel free to reach out to us if you have any further queries.
Regards,
Guhanathan R