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.
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.
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!