saleor / saleor-storefront

A GraphQL-powered, NextJs-based, PWA storefront for Saleor. IMPORTANT: This project is [DEPRECATED] in favor of saleor/react-storefront soon to become our default demo and storefront starter pack.
https://demo.saleor.io/
BSD 3-Clause "New" or "Revised" License
769 stars 674 forks source link

OG tags on product page #737

Open Gedzis opened 4 years ago

Gedzis commented 4 years ago

If I am trying to debug demo store url, OG tags are visible for crawler: curl -v --compressed -H "Range: bytes=0-524288" -H "Connection: close" -A "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)" https://demo.saleor.io/product/t-shirt/112/

But if I check code as simple user curl https://demo.saleor.io/product/t-shirt/112/, then there is no OG tags.

When I start my own server there is no way to receive OG tags. Can you update docs with info, how we can achieve SEO friendly env (what setup steps/services are needed for this case)

rboixaderg commented 4 years ago

We have the same problem! Any clue @mateuszkula @piotrgrundas ?¿

Thanks!

Gedzis commented 4 years ago

@rboixaderg haven't got answer, but I have working solution build with - https://github.com/GoogleChrome/rendertron