• Resolved lukasmainka

    (@lukasmainka)


    Hi,

    I tried to install iThemes Security, which now is Solid Security. I can’t get further in the setup process then step 1 after selecting the type of the site.

    I opened the console and saw this:

    /wp-json/ithemes-security/v1/admin-notices/welcome-solidwp/dismiss/?_locale=user:1 
            
            
           Failed to load resource: the server responded with a status of 404 ()

    Other wp-json endpoints are working. Does someone have an idea?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support chandelierrr

    (@shanedelierrr)

    Hi @lukasmainka, thanks for reaching out! I see you’re having issues installing Solid Security on your site.

    Does it help if you deactivate the plugin and re-activate it?

    If not, I’d suggest verifying that all the REST HTTP methods the plugin needs are allowed on your server: GET, POST, PUT, PATCH, DELETE, and OPTIONS.

    Once confirmed, resave your WP Permalinks settings. If you’re on an Apache server, double-check that mod_rewrite is supported. If you’re using NGINX server, make sure the appropriate rewrite rule for permalinks is added (check this guide).

    Try also to clear all sorts of cache, preferably in this manner: server cache -> CDN cache (if you use it) -> plugin cache -> browser cache.

    Then, re-install a freshly downloaded copy of Solid Security Basic to see if it works this time.

    Hope this helps, and let us know how it goes.

    Thread Starter lukasmainka

    (@lukasmainka)

    Reactivating doesn’t work. Tried that a few times. mod_rewrite seems to work because I get pretty URLs.

    REST HTTP works for all REST-Routes but for solid security. I got an error in the console when I try to config solid security in the dashboard. When I try to get to the endpoint I get:

    // https://ptk-hessen.de/wp-json/ithemes-security/rpc/global/detect-ip/?_locale=user
    
    {
      "code": "rest_no_route",
      "message": "Es wurde keine Route gefunden, die mit der URL und der Request-Methode identisch ist.",
      "data": {
        "status": 404
      }
    }

    There’s no route for Plugin Root https://ptk-hessen.de/wp-json/ithemes-security/.
    This is a really unusual behaviour

    Hi @lukasmainka,

    The SolSec plugin adds 2 namespaces to the REST API:

    Additionally I can confirm that a POST request to:

    https://ptk-hessen.de/wp-json/ithemes-security/rpc/global/detect-ip/?_locale=user

    results in a 404. When accessing the same route in my test env I get:

    {    

    “code”: “rest_missing_callback_param”,

        “message”: “Missing parameter(s): proxy”,

        “data”: {

            “status”: 400,

            “params”: [

                “proxy”

            ]

        }

    }

    So it seems something in your env is not allowing the POST request. You may need to contact your hosting provider to fix this.

    • This reply was modified 2 years, 4 months ago by nlpro.
    • This reply was modified 2 years, 4 months ago by nlpro.
    Plugin Support chandelierrr

    (@shanedelierrr)

    Hi @lukasmainka, I hope the reply from @nlpro helped resolve the issue with the Solid Security setup on your site.

    To add, please make sure that your server allows all the REST HTTP methods: GET, POST, PUT, PATCH, DELETE, and OPTIONS.

    Due to inactivity, I’ll be marking this post resolved. If you still require further assistance, feel free to open a new support topic, and we’d be happy to assist.

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Solid Security can’t setup’ is closed to new replies.