Pankaj Upadhyay
Pankaj Upadhyay

Reputation: 13584

Facebook debug tool giving Bad Response Code (redirect) for my site

Today, I tried to post a link from my website on my wall, but no OG meta information was fetched. Therefore, I went on to Facebook URL Linter to check things for myself and see if OG meta tags are fetched properly.

To my surprise, every link on my website including the domain itself, generated Response code: 302.

My OG tags are well set and they were working fine a few days ago. Following is what the debugger shows for my domain : http://www.price-tag.org

Response Code: 302

Fetched URL: http://price-tag.org/

Canonical URL: http://price-tag.org/

Final URL: http://price-tag.org/WpjZW/

For every page from my website, facebook linter is adding an arbitrary string like above WpjZW.

Please let me know if this is a facebook error or something has gone wrong at my end.

Upvotes: 0

Views: 3835

Answers (1)

DMCS
DMCS

Reputation: 31870

It seems the linter is being sent on a circular redirect loop. It is seeing a 302 redirect.

For http://www.price-tag.org I don't see anything but a 200 response code when I navigate to your website using Firefox.

However, if I remove the www from the url and go to http://price-tag.org, I do see the strange behaviour of the 302s and then a random url like http://price-tag.org/UKXRN/

I would suggest you contact your server admin or web master to see what they have in place that is doing this 302 redirect and strange url characters.

Upvotes: 1

Related Questions