How to fix URLs where Open Graph URL not matching canonical

How to fix URLs where Open Graph URL not matching canonical

Free SEO Audit

Crawl the website for technical issues and get a prioritized to-do list with detailed guides on how to fix.

Something went wrong. Please, try again later.
Sitechecker crozdesk rating Sitechecker crowd rating Sitechecker capterra rating
Sitechecker trusted company

Open Graph URL not matching canonical issue means that a specific URL has its Open Graph microdata pointing to an URL that is different from the one set in canonical.

The importance of the issue

The social media will use the URL set in og:url. It is important in order not to mislead a user when generating a Facebook card .

How to check the issue

You can use any browser to check the issue. Open the source code of the flawed page To do this, click the right mouse button at any spot of the page and choose “browse the code” option, or apply an online tool Codebeautify.

The source code must contain <meta property=og:url content=”https://site.com/”/>, а content must have an URL that is set as canonical for the current page at <link rel=”canonical” href=”https://sitecheker.pro/”>. It is considered to be the best practice of directing a user to the main page version and combine data such as likes to publish them with the same URL.

Example:

open graph url isn't match canonical url

How to fix this issue

Change URL in Open Graph tags to the one that canonical tag contains.

Detect pages where Open Graph not matching canonical

Crawl the website to collect all pages where Open Graph URL not matching canonical page

Something went wrong. Please, try again later.
Sitechecker rating on crozdesk Sitechecker rating on crowd Sitechecker rating on capterra

Check Your Website for SEO Errors

Something went wrong. Please, try again later.
close