.

Wednesday, March 27, 2013

Facebook Like Button "The Href URL Must Be Absolute" Error [Quick Fix]


In your WordPress recently, you might chance upon the Facebook Like Button suddenly displaying a red "error" instead of showing you the count for Likes, and when you click on the red error, you are directed to a Facebook page with the following shown: "The href URL must be absolute".
While we’re not sure what is the cause behind this, after a few trial-and-errors (because we can’t help ourselves), we found the culprit to be the urlencode function.
Look at your theme’s codes, where the error occurs and find:
  1. echo urlencode(get_permalink());  
Replace it with the following:
  1. echo get_permalink();  
And the error would have been rectified in no time.
Spread The Love, Share Our Article

0 comments:

Post a Comment

 

 about US


SoftGlad is a leading blog which providing Latest News, Social Media, Web Design, Blogging, PC tutorials and many other stuffs. We will always trying to relate with our valuable readers by updating the quality contents. There are millions of blogs which providing technological knowledge but our goal is to provide dainty articles and useful technological knowledge.
See More

RECENT POSTS


RECENT Comment