-
-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenGraph HTML meta tags are broken or missing #1391
Comments
What does this metadata do? I'm not familiar with OpenGraph and I'm not spotting differences in the rendered answers. Can you elaborate? |
I'm going through various SEO issues with Codidact, and this is one of the things covered by that. The OG API was first created by Facebook, and is now used by services to read a website and present it in a small format for instance on social media. Some sources claim search engines also use that data, although I am not entirely sure. Either way, I think it's important to resolve this. |
@ws909 re |
From the HTML source of the Software Development CD page linked in the first post. Currently at line 51 when I just now loaded it up in Safari (last tag in the <meta property="og:image" content="https://software.codidact.comhttps://codidact.com/community-assets/software/logo-large.png"/> |
|
Ah, I forgot we use full URLs there. It was built to use a path on the same domain but it doesn't actually make a difference... Except here. |
I copied an answer of mine from SO to SD-CD, so I checked the HTML sources of the webpages on both websites to compare them, and found several issues with the CD page, some of which concern OpenGraph.
The problems I found in the HTML source for CD's page:
<meta property="og:type" content="website"/>
is missing<meta property="og:image" .../>
's URL is broken<meta property="og:site_name" .../>
is missingThe text was updated successfully, but these errors were encountered: