Hello,
We apologize for the issue you are facing with your website. It sounds like there may be a conflict with the Rank Math plugin that is causing the errors and slowing down your site.
To troubleshoot this issue, we recommend checking the following:
-
Check Website Status: Ensure your website is returning a 200 status code. You can check the status of your website here. Enter your URL and click Check Status. If there are any errors, they will be displayed, and you can address them accordingly.
-
API Timeout: If your website takes more than 30 seconds to load, it may result in a timeout error.
-
API Requests Blocked by Firewall: Sometimes, server security or firewall settings can block API requests. If this is the case, you may need to whitelist the IP 193.138.6.5
and the user-agent RankMathApi/2.0.2; https://rankmath.com
in your firewall settings.
-
Locally Hosted Website: If your site is hosted locally, the SEO Analyzer module will not work and may return an API error.
If you continue to experience issues after checking these points, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further. Thank you for raising this concern, and we appreciate your patience as we work to resolve it!
Sources:
Why Am I Getting "API Error: HTTP 400" Error » Rank Math
Thank you.
Luckily I could directly reproduce it with my first try.
It is a “500”, internal server error.
Problem is -as said- that if I remove Rankmath, then I do not have that error anymore.
I contacted my hoster before.
What makes me wonder, I get 2 error messages;
Status code 500 and then a 301 redirect “moved permamnently”.
The Response header:
date
Thu, 29 Aug 2024 19:58:37 GMT
server
Apache
x-ua-compatible
IE=edge
x-redirect-by
WordPress
location
https://run2know.com/
content-length
0
keep-alive
timeout=5, max=100
connection
Keep-Alive
content-type
text/html; charset=UTF-8
set-cookie
pll_language=en; expires=Fri, 29-Aug-2025 19:58:38 GMT; Max-Age=31536000; path=/; SameSite=Lax
<— does not tell me anything.
And as mentioned, now I do a second try, I get a 301 (redirect from http to https with 671 ms latency) and then a 200
Could it be that rankmath takes over the redirect from http to https and that this is causing the error?
Hello,
Thanks for contacting us and sorry for any inconvenience that might have been caused due to that.
5xx errors are usually caused due to server misconfiguration or other server issues.
To further investigate and resolve the issue you will have to enable debugging mode on your WordPress installation and share the error logs with us.
Having the error log file will give a clear idea of why this might be happening.
You can follow this guide to enable debugging in WordPress
https://wordpress.org/support/article/debugging-in-wordpress/ or you can get in touch with your web host, they will help you locate the log file.
Or simply by installing the following plugin: https://wordpress.org/plugins/wp-debugging/
You can use a tool like Dropbox/Pastebin to upload the log files and share the generated links here.
We look forward to helping you.
Thank you.
I downloaded the plugin now and will post the log information as soon as I have it ,)
Hello,
Sure, let us know how this goes.
Meanwhile, if you have any other concerns, please don’t hesitate to contact us anytime so we can assist you further.
Looking forward to helping you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.