jeroennoten / Laravel-Prerender

Laravel middleware for prerendering javascript-rendered pages on the fly for SEO

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel Angular Token Installation Issue

avi69807 opened this issue · comments

A little background, I'm using laravel to serve my angular application by the way.

What's happening is that prerender.io is unable to find my token.

I used composer to download the files, I added the serviceprovider line to the app/config/app.php, I used artisan to publish a config file. After that I added my token to the config file.

I spoke with todd from prerender.io and my pages are caching properly. The problem is that when google escapes url, it isn't redirected to the html snapshot.

Thanks for the feedback. I will take a look into it.

Can you try to change the prerender URL protocol from https to http in the config file?

Like this:

    'prerender_url' => 'http://service.prerender.io',

Could you let me know if this worked for you?