Mobile app version of vmapp.org
Login or Join
Pierce454

: 302 Redirect causes garbage at end of Wordpress link in Facebook When I try to link my Wordpress blog to Facebook, the url doesn't resolve properly. There's garbage appended at the end and

@Pierce454

Posted in: #302Redirect #Dns #Facebook #Htaccess #Wordpress

When I try to link my Wordpress blog to Facebook, the url doesn't resolve properly. There's garbage appended at the end and Facebook is not able to retrieve information from the site. Happens in every page, post or main entry.

Here's what happens:
clarissarezende.com.br/ shows up in Facebook as clarissarezende.com.br/UPLcS/ (when copy/paste the link)

and no information about the site shows up in FB.

I'm using Wordpress 3.3.1 with ProPhoto 4.

Recently I moved the DNS entry on my ISP. The blog is hosted at clarissarezende.com.br/public_html/blog2 and before the DNS would point to public_html and then I changed it to public_html/blog2. Note that I did not move any Wordpress files.

Made the (I think) necessary changes all over Facebook, but still no dice...

Any ideas on what can be happening?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Pierce454

2 Comments

Sorted by latest first Latest Oldest Best

 

@Pierce454

The support folks for the Wordpress theme I'm using (ProPhotoBlogs) gave me a hint that worked:

There's a feature that prevents images from being copied/saved/dragged in the browser. They said for me to turn it off, which I did and then the links started working again.
That feature must have been the culprit.

Curiously, when I turned that feature back on, everything still worked. So I'm guessing it's when I moved the site with it ON that was the problem. Turning it off and then on again must have reset something.. wish I had more information, but it's working now.

10% popularity Vote Up Vote Down


 

@Murray432

On the bright side when you actually post the link to facebook it resolves back to the correct location.

Exactly how did you change your DNS - what code did you use to do it and do you have any functionality in your htaccess file? Your header results in:-

HTTP/1.1 302 Found =>
Connection => close
Pragma => no-cache
cache-control => no-cache
Location => /OTeaT/


And 302 is a type of redirect, and that would seem to be the source of the problem. What's interesting is the characters in the location field change on each load, sometimes disappearing entirely.

Have a look at this article en.wikipedia.org/wiki/HTTP_location which explains the meaning of the last field. It has to be a problem with the way the DNS or htaccess was changed.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme