prerender-cloudfront icon indicating copy to clipboard operation
prerender-cloudfront copied to clipboard

Passing querystring to Prerender

Open JoeDevGeeeee opened this issue 5 years ago • 2 comments

It seems like the setup is not able to pass querystring to prerender.io? Because we are passing this as the final path: [{ key: 'X-Prerender-Host', value: host[0].value}]

So let's say I want to prerender https://www.example.com/product?id=1, the final rendered page will be https://www.example.com/product because it's not passing the query string

JoeDevGeeeee avatar Nov 14 '19 16:11 JoeDevGeeeee

Same problem here. We have into our website URLs with querystring parameters to manage different things (pagination for example) and we are not available to render these pages. Any suggestion?

joannadal avatar May 14 '20 07:05 joannadal

It's been a while since I wrote prerender, but I don't see any reason why the existing code doesn't pass the querystring. If you find exactly why during de-bugging, please post it here.

jinty avatar May 23 '20 14:05 jinty