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 in Others by Kichu
• 19,040 points
17 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 by narikkadan
• 10,640 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 in Others by Kichu
• 19,040 points
54 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 in Others by Kichu
• 19,040 points
581 views
0 votes
1 answer

SEO META TAG og:description vs description

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

answered Feb 20 in Others by narikkadan
• 10,640 points
31 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 in Others by narikkadan
• 10,640 points
19 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 in Others by narikkadan
• 10,640 points
77 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 in Digital Marketing by narikkadan
• 10,640 points
30 views
0 votes
0 answers

BigPipe Facebook and SEO

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

Mar 3 in Digital Marketing by Kichu
• 19,040 points
33 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
592 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 in Others by narikkadan
• 10,640 points
67 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 in Others by gdxxfgoidt
217 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP