I recently find out that this blog’s internal pingback mechanism is broken. My post about volume balance in Windows 11, didn’t pingback to the earlier post for Windows 10. I doubt I disabled the pingback myself. Because to what I know, internal pingback is good for SEO.
So I start digging around for possible cause. After a while, my suspicion is pointing at this plugin Remove XMLRPC Pingback Ping. As a test, I deactivated this plugin and proceeded to write my last post. After published my last post, the findings is confirming my suspicion. My last post which is about Telerik’s RadEditor, managed to pingback to my other post about WebComponentsIcons.
Now the tricky part is how to resend the missing pingbacks of previous posts?
How To Manually Send Pingbacks
With Google’s help, I managed to find a clue on how to manually send pingback. First, let’s create an XML file called pingback.xml:
<?xml version="1.0" encoding="iso-8859-1"?> <methodCall> <methodName>pingback.ping</methodName> <params> <param> <value> <!-- source --> <string>_URL_SOURCE_REFERRING_TO_</string> </value> </param> <param> <value> <!-- target --> <string>_URL_DEST_REFERRED_</string> </value> </param> </params> </methodCall>
Specific to my case:
- _URL_SOURCE_REFERRING_TO_ is https://sodeve.net/2021/09/how-to-adjust-audio-balance-left-right-in-windows-11/
- _URL_DEST_REFERRED_ is https://sodeve.net/2015/09/how-to-adjust-audio-balance-left-right-in-windows-10/
The next step requires curl to be installed in your system. Once installed and accessible from console/command-line, we can execute below code in console/command-line:
curl -X POST -d @pingback.xml http://your-site.com/xmlrpc.php
For my case, it’s:
curl -X POST -d @pingback.xml https://sodeve.net/xmlrpc.php
If the post is successful, the response should be similar to this:
<?xml version="1.0" encoding="UTF-8"?> <methodResponse> <params> <param> <value> <string>Pingback from https://sodeve.net/2021/09/how-to-adjust-audio-balance-left-right-in-windows-11/ to https://sodeve.net/2015/09/how-to-adjust-audio-balance-left-right-in-windows-10/ registered. Keep the web talking! :-)</string> </value> </param> </params> </methodResponse>
Otherwise, we should able to find clue in the faultCode/faultString (specific to below response, I did make a mistake of putting the same url in source and destination 😀 ):
<?xml version="1.0" encoding="UTF-8"?> <methodResponse> <fault> <value> <struct> <member> <name>faultCode</name> <value><int>0</int></value> </member> <member> <name>faultString</name> <value><string></string></value> </member> </struct> </value> </fault> </methodResponse>
That’s about it, I hope it helps. Cheers!
loading...