• Resolved Rafa

    (@rsanchezpulido)


    I have installed the Siteground Security plugin but I always get this error:

    NO SE PUDO CONECTAR CON LA API REST DE WORDPRESS

    Un plugin de seguridad, una función personalizada o reglas en tu archivo ?.htaccess? están evitando que la API REST de WordPress funcione correctamente. SiteGround Security está usándola para almacenar sus opciones y otras funcionalidades, así que, por favor, asegúrate de que funcione correctamente.

    In my server logs I see the following entry with a 405 error:

    PUT /wp-json/siteground-settings/v1/update-settings HTTP/1.1

    I have checked with my hosting and they tell me that the PUT method is not enabled for security.

    Is there a solution by Siteground to this issue? My hosting tells me that they could enable the PUT method only for the IP that makes the PUT.

    Is it possible to know which IP performs the PUT in case of not having an alternative solution to using the PUT method?

    Thank you very much.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Vladimir Trandev

    (@vtrandev)

    Hello @rsanchezpulido,

    We discussed the case with our developers and at this stage the requested modification can not be applied. WordPress allows overriding HTTP methods used by the client but this is only a workaround for specific environments and not the standard. We strictly follow the standards and best practices.

    If you maintain such an environment, we would recommend allowing all default HTTP request methods required by WordPress.

    Regards,
    Vladimir

    Thread Starter Rafa

    (@rsanchezpulido)

    My hosting provider tells me that it blocks the PUT method but I am given the opportunity to enable it for the requesting IP. Could you provide me with this IP so that my provider can enable it and be able to use the plugin correctly?

    Plugin Support Vladimir Trandev

    (@vtrandev)

    This should be your public IP address. However, I would recommend you to also whitelist the server’s IP address(in case such restrictions are also imposed by your current hosting provider).

    Regards,
    Vladimir

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘COULD NOT CONNECT TO WORDPRESS REST API Error 405’ is closed to new replies.