meteor / galaxy-seo-package

Wrapper around third-party Prerender.io package.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

compatbile with user-agents?

bgadrian opened this issue · comments

Hello,

The prerender works as documented, with the fragment parameter, but the prerender plugin works based on user-agents too.

https://github.com/prerender/prerender-node/blob/master/index.js#L37

My problem is that on my meteor map, it doesn't work only using the user-agent
curl --user-agent "Googlebot/2.1 (+http://www.google.com/bot.html)" https://mywebsite , it is a limitation/incompatibility of the WebApp.rawConnectHandlers? I think the original plugin is made for express.

Thanks.

The issue is documented at https://prerender.io/documentation/google-support. It appears that this summer, Google has stopped using the "?escaped_fragment=" protocol. This package needs a pull request or a minor update to fix the issue.

I think this project uses the prerender-node 3.2.0 version which already has the 'googlebot' added onto the list, so it should be safe! I'm using an older version so I think this is the cause of the problem.

Thanks!

Now that I look more carefully, you're exactly correct.

Sorry for the issue, my problem was the prerender-node version, and It was installed directly from node not trough the galaxy packages.