Does Your Jetpack Publicize Not Working? Does it give Error? After migrating my website to Siteground, I have got Error Something which should never happen, happened. Sorry about that, if you try again maybe it will work. Error code : -32300. If you don’t know about Jetpack publicize read What is Jetpack publicize and how to enable it.
I have tried many times with no luck. I have worked on it to resolve the issue. I have successfully fixed the problem. In this tutorial, I am going to show you what are the methods I have followed.
When you want to resolve any issue, first you need to know the cause of the problem. To know the cause, you must know how it is working.
How jetpack publicize works?
Jetpack publicize uses a xmlrpc.php file to connect to your social media accounts. If your XML-RPC file gets conflict, your publicize will not function properly. XML-RPC is nothing but using XML for Remote Procedure Call. If any software in your WordPress wants to call remote system like Facebook, XML-PRC will send Http request to the server. If you want more details, you can read from Wikipedia.
Fix for Jetpack Publicize Not Working Issue
You can try below methods one after one. Anyone may work for you.
1.Try using wordpress.com
You can connect or refresh your social media connections from wordpress.com itself.
Just go to wordpess.com/sharing
Select your website name. You will see connections. Try to connect your social media accounts. It may work for you if you don’t have issues with XML-RPC file. If you can not connect to social media accounts, then follow next method.
There is a chance that any one of your plugins is conflicting your XML-RPC file. You can check by visiting yourwebsitename.com/xmlrpc.php replace yourwebsitename.com with your website URL. It should display only below sentence.
XML-RPC server accepts POST requests only.
If you see anything extra, any plugin my interfering your file. If you could identify corrupting plugin from extra words in above sentence, just disable that plugin and check. Otherwise, deactivate all plugins and check whether your publicize is working. In order to disable all plugins at once, go to cPanel -> File Manager -> Public_html -> wp-content rename plugins folder to plugins2 and save. Now your plugins will be deactivated. Now rename the Plugins2 folder to Plugins. Go to dashboard activate plugins one after another to find the corrupted plugin.
3.Server might block XML-RPC file
Some servers block access to XML-RPC file for security reasons. There is a chance that your server might have blocked access to xmlrpc.php.
I have got error code: 32300 after migrating my website site to Siteground server. By default, they have block access to xmlrpc.php file for security purpose.
You can check, whether your server blocked your file or not. Just open yourwebsitename.com/xmlrpc.php/?for=jetpack it must display the same sentence given in above method. If your XML-RPC file is blocked by your server, you will see below message.
How to remove Security Restriction
You can easily remove security restriction by adding simple code to your .htaccess file.
Go to cPanel -> File Manager -> Public_html. Select .htaccess file and select Edit option at the top. Add below code at the end of your .htaccess file. And save file.
|## Disable security of XML-RPC ##
## Disable security of XML-RPC ##
Now check yourwebsitename.com/xmlrpc.php/?for=jetpack it must display
XML-RPC server accepts POST requests only.
Otherwise, you must contact your hosting provider to disable security restrictions of your xmlrpc file. After removing security restrictions, you can use your jetpack publicize usually.
4.Check Cron job
If above methods did not work for you, there is a chance that your server has disabled Cron job. First, check whether your wp-config.php file has a line below.
define( 'DISABLE_WP_CRON', true );
If you see above line in the config file, immediately remove that line. Because above line disables your Cron jobs to run.
You may also contact your hosting provider to confirm that your Cron job is working or not. If it is disabled, ask them to enable it.
After enabling Cron job, your publicize might work. Still, if you see the issue, there is some synchronize problem between your website and wordpress.com. You must contact Jetpack Support. They will help you to resolve your issue. You can also create support thread in WordPress support forum.
I hope you have solved Jetpack Publicize Not Working issue. Please let us know which method worked for you through the comment section. If you like this article, please share this article. Want more blogging tips, follow BlogVwant on Facebook, Google+ and Twitter.