Loren
Loren

Reputation: 14876

What could cause the Twitter card validator to give a redirect loop error?

I'm using https://cards-dev.twitter.com/validator on http://parlaywith.me.

When I include this tag (currently included):

<meta property="og:url"
       content="http://parlaywith.me">

I get this error:

ERROR: Fetching the page failed because it resulted in too many redirects. WARN: this card is redirected to http://parlaywith.me/

When I remove the tag, I get:

INFO: Page fetched successfully

How can I keep the og:url tag and avoid the error?

Upvotes: 3

Views: 3620

Answers (1)

unor
unor

Reputation: 96687

You might have to specify the URL with the trailing slash:

http://parlaywith.me/

instead of

http://parlaywith.me

Also note that HTML5 requires to use link (instead of meta) if the value is a URI:

<link property="og:url"
    href="http://parlaywith.me/">

Upvotes: 4

Related Questions