Mdg:seo not Working

I went through everything correctly, but the package does not work properly .

The steps I went through are as follows:

  1. The steps I went through are as follows meteor add mdg:seo
  2. And I downloaded this package prerender
  3. And this is the content of the server.js :

image

  1. I ran this package on port 3033

image

  1. And this is my meteor settings

image

The problem is that nothing works properly, meaning the content is not rendered

Content should now be at the address below, but it is not

view-source:http://localhost:3000/?_escaped_fragment_=

image

And when I try the following curl, it does not work and does not return the correct content:

curl -A Googlebot http://localhost:3000

image
As you can see, the content of the div App is empty

But when I try the following curl, it works properly and returns the correct content :

curl http://localhost:3033/render?url=http://localhost:3000/

Also, none of the JavaScript tags are removed!

I have never tried to do that, but it looks like a great idea!

@captainn is is a good idea, at least it repels the negative impact of meteor on Google.
But you will never replace the rendering server because the rendering server, in addition to affecting Google, also improves the user experience, due to the increased loading speed.

SSR is not all upside. It dramatically increases the stress on your app server. A microservices division of labor (so to speak) can make sense.

Anyway, there isn’t a lot of source code to look at in mdg:seo. Try making token in your settings file any truthy value, and see if that fixes you up.

@captainn
@filipenevola I think this package has a logical flaw, because the prerender server can have no tokens.
And can be without authentication.
On the other hand, in addition to having tokens, it can also have a username. Which is not included in the package

It’s so small - if you need different behavior, fork the package and put it in your local packages directory, and make it do what you need.

1 Like

Do you think it is possible that we do not have a separate server for the prerender and even a separate port above?
Instead, embed it in the meteor itself

Maybe, but it’ll put more stress on your server.

1 Like

Another possibility is to debug what’s going on in fast-render, and try to fix that, since it’s our only blocking item with SSR.

@captainn It is my wish that there is no problem in the meteor rendering server and that we can benefit from it.
And as you said, the only obstacle left is the previously reported fast rendering package problem.
@abecks But the problem is that the manufacturer of Fast Render does not have the necessary cooperation and apparently has abandoned the package support.
@filipenevola On the other hand, there is no serious will on the part of meteor officials to solve the ssr problem in meteor.

And always when we ask them this question, they refer us to side packages.
And the result is that now the whole ssr meteor is useless because fast rendering does not work properly