Symfony2 Sonata SEO Bundle og image

0 votes
 <html {{ sonata_seo_html_attributes() }}>
<head {{ sonata_seo_head_attributes() }}>
    {{ sonata_seo_title() }}
    {{ sonata_seo_metadatas() }}
    {{ sonata_seo_link_canonical() }}
    {{ sonata_seo_lang_alternates() }}
i added this on my base twigs head and works but while running the fb debugging is shows that the og:image needs to be defined need help with this 
Feb 16, 2022 in Others by Kichu
• 19,050 points
332 views

1 answer to this question.

0 votes
cdn:
    server:
        path: http://www.--mywebsite--.com/uploads/media/
like this add a path to Sonata_media section
use this code to set the meta:
{% block meta %}
<meta property="og:image" content="{% path post.image, 'big' %}" />
{% endblock meta %}
works fine 
answered Feb 17, 2022 by narikkadan
• 63,420 points

Related Questions In Others

0 votes
0 answers

Yoast SEO/Facebook OG: Image not displaying after fb url change

i recently changed the name of my ...READ MORE

Feb 14, 2022 in Others by Kichu
• 19,050 points
610 views
0 votes
0 answers

Replacing H1 text with a logo image: best method for SEO and accessibility?

i want to link my logo to ...READ MORE

Feb 14, 2022 in Others by Kichu
• 19,050 points
2,756 views
0 votes
1 answer

SEO META TAG og:description vs description

your at a wrong assumption actually this ...READ MORE

answered Feb 20, 2022 in Others by narikkadan
• 63,420 points
492 views
0 votes
1 answer

Replacing H1 text with a logo image: best method for SEO and accessibility?

<h1> <a href="http://stackoverflow.com"> ...READ MORE

answered Feb 21, 2022 in Others by narikkadan
• 63,420 points
2,210 views
0 votes
1 answer

Yoast SEO - remove og:description and twitter:description

add_filter("wpseo_opengraph_desc", "remove_yoast_og"); add_filter("wpseo_twitter_description", "remove_yoast_og"); function remove_yoast_og($description) { ...READ MORE

answered Feb 27, 2022 in Others by narikkadan
• 63,420 points
1,448 views
0 votes
1 answer

Yoast SEO: remove og:description and twitter:description

add_filter("wpseo_opengraph_desc", "remove_yoast_og"); add_filter("wpseo_twitter_description", "remove_yoast_og"); function remove_yoast_og($description) { ...READ MORE

answered Mar 1, 2022 in Digital Marketing by narikkadan
• 63,420 points
350 views
0 votes
0 answers

BigPipe Facebook and SEO

I'm quite interested in the Facebook's BigPipe technique for ...READ MORE

Mar 3, 2022 in Digital Marketing by Kichu
• 19,050 points
313 views
0 votes
3 answers

Is SEO a bad choice as a long-term career?

Take up digital marketing instead of just ...READ MORE

answered Sep 10, 2019 in Career Counselling by Tanya
2,049 views
0 votes
1 answer

Yoast SEO remove og description and twitter description on certain page

try this out it wil help ...READ MORE

answered Feb 11, 2022 in Others by narikkadan
• 63,420 points
415 views
0 votes
2 answers

What is most SEO optimized image HTML code for?

What is most SEO optimized image HTML ...READ MORE

answered Feb 12, 2022 in Others by gdxxfgoidt
1,567 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP