saleor-storefront icon indicating copy to clipboard operation
saleor-storefront copied to clipboard

OG tags on product page

Open Gedzis opened this issue 4 years ago • 2 comments

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)

Gedzis avatar May 26 '20 11:05 Gedzis

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

Thanks!

rboixaderg avatar Jun 15 '20 11:06 rboixaderg

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

Gedzis avatar Jun 15 '20 12:06 Gedzis