Justin Copeland
Justin Copeland

Reputation: 53

Issue with Open Graph Debugger not seeing og:url correctly

I'm having an issue trying to verify my Open Graph object. The debugger says:

"There was an error in fetching the object at URL 'http://digiarmy.com/ogItem.php?id=3', or one of the the URLs specified via a redirect or the 'og:url' property including one of http://www.digiarmy.com/ogItem.php?id=3."

Yet in the section titled Raw Open Graph Document Information I see this:

<meta property="og:url" content="http://www.digiarmy.com/ogItem.php?id=3" />

Am I just missing something or is something not working? I did the Cookie Recipe tutorial and it works fine.

Upvotes: 1

Views: 2997

Answers (2)

bkaid
bkaid

Reputation: 52083

Remove the www from the url meta tag since you are redirecting www to non-www.

Upvotes: 2

ShawnDaGeek
ShawnDaGeek

Reputation: 4150

try adding

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://ogp.me/ns#"> 

above the head of your doc. If this does not solve the issue, you may wanna remove any redirects you have in DNS for that page.

Upvotes: 0

Related Questions