• Resolved JibsouX

    (@jibsoux)


    Hello !
    I’m here to report that the “desactivate xmlrpc pingback” option is not working, the link is also still in the wphead

    • This topic was modified 2 years, 11 months ago by JibsouX.
    • This topic was modified 2 years, 11 months ago by JibsouX.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Nawawi Jamili

    (@nawawijamili)

    Hi there,

    Thank you for your report. I did not find any issue as reported. Please confirm it by doing this on your site:

    1. Browse your-site-url/xmlrpc.php. It should display “xmlrpc.php not available.” if “deactivate xmlrpc pingback” is enabled, otherwise it will show “XML-RPC server accepts POST requests only.”

    2. Browse your-site-url/?nocache=1 or disable any page cache plugin, and check the link if still exists.

    Thanks.

    Thread Starter JibsouX

    (@jibsoux)

    Effectively (my bad) on the other hand it would be necessary also to clean the link of the head
    <link rel=”pingback” href=” https://mysite.com/xmlrpc.php ” />

    You can check how clearfy does it : https://pastebin.com/r3Xq4nP3

    • This reply was modified 2 years, 11 months ago by JibsouX.
    • This reply was modified 2 years, 11 months ago by JibsouX.
    • This reply was modified 2 years, 11 months ago by JibsouX.
    • This reply was modified 2 years, 11 months ago by JibsouX.
    Plugin Author Nawawi Jamili

    (@nawawijamili)

    Thank you for your suggestion. The hook remove_action(‘wp_head’, ‘rsd_link’), we already place in “Remove WP Header Junk” and maybe need to place in “Deactivate XML-RPC / Pingbacks” as well.

    Here is a code reference how we do it:

    Deactivate XML-RPC / Pingbacks:
    https://github.com/nawawi/docket-cache/blob/master/includes/src/Tweaks.php#L123

    Remove WP Header Junk:
    https://github.com/nawawi/docket-cache/blob/master/includes/src/Tweaks.php#L98

    Thanks.

    Thread Starter JibsouX

    (@jibsoux)

    So weard, i know the hook action, but the pingback link in the head is always here..
    I use litespeed plugin too with docket cache since i dont have object cache plan for the server i’m on.

    i think clearfy does it by ob_start method to be effective with cache

    • This reply was modified 2 years, 11 months ago by JibsouX.
    Plugin Author Nawawi Jamili

    (@nawawijamili)

    Yes, clearfy used the “buffer” technique with template_redirect hook, altering the output content to remove the link. The reason we didn’t implement it, because it is more effective doing it with page cache plugins.

    Thanks.

    Thread Starter JibsouX

    (@jibsoux)

    Yes you are right, I will see with LiteSpeed team to implement this function in addition ??

    Thanks for you plugin it’s the best for file object caching on disk !

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘XMLRPC.PHP still on’ is closed to new replies.