Web Tech

Official Facebook plugin for WordPress – SSL Error Solved

This took a day to get working, mainly because of a badly worded Facebook error message. After installing the Facebook plugin on a site, an error message appeared at the top of every Dashboard page:
“SSL must be enabled on your server for Facebook Social Publisher to work.” Seems clear enough doesn’t it?

This WP installation was on a virtual host server, so I studied up on configuring SNI using mod_ssl, created the virtual host section in the Apache config file, bought an SSL cert, installed it, debugged permissions to get the whole thing working. 1 day gone.

Except that didn’t fix the error message! It was still there on each dashboard page. Googling revealed no useful information. So I headed over to the Facebook Developer site to file a bug report. Their bug report form had a bug in it: it would insist you had to enter information in the Tag field, even though I already had done so.

I finally got the answer on the WordPress support forums. It’s nothing to do with SNI or SSL or any of the above. You have to install the curl program to work with PHP on the server. I did so and the error message went away. Talk about a misleading error message… Thanks for wasting my time, Facebook!

Change Home Tab Name on WordPress Artisteer Templates

The name of the Home tab on WordPress sites is not a page property, it is a template property. If your template has been generated by the Artisteer template generation program, you can change the Home tab name by finding /wp-content/themes/YourThemeName/config.ini. Open this file in a text editor like NotePad. Just below the [menu] section is an entry:

homeCaption = "Home";

Change the text between the quotes to your prefered tab name and save the file. Reload your WordPress page.

If your template has come from another source, the tab name is encoded in your template files, but you will have to do some detective work. I would open NotePad++ and use Search>Find in Files…, set it to Match Case, then look for “Home”.