-
Hello,
when I enable the Softaculous security feature to protect the .htaccess file, the SEO Analyzer returns the API Error: HTTP 400 error.
# SOFTACULOUS Block .htaccess and .htpasswd
<Files ~ “^.*\.([Hh][Tt])”>
Require all denied
</files>
# SOFTACULOUS Block .htaccess and .htpasswd EndIf I delete the above lines, the SEO Analyzer works again. Any suggestions on how to fix that, other than removing .htaccess file protection?
Regards,
JT
-
Hello
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
In this case, please also make sure to whitelist the IP
193.138.6.5
and the user-agentRankMathAPI/2.0.0; https://rankmath.com
.Here’s a URL you can follow to fix this issue: https://rankmath.com/kb/api-http-400-error/
Let us know how it goes.
Thank you.
Thank you for your time, I’ve excluded the IP as suggested.
Regards,
JTHello,
We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.
If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.
If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.
Hi Jeremy.
This hasn’t be resolved.
Hello,
Thank you for getting back to us.
If you’re still experiencing the HTTP 400 error, it most likely means that you have not excluded the Rank Math user agent and IP completely – or something somewhere is still blocking them. To get to the bottom of this, we’d advise you to reach out to your hosting company and let them know you’d like to exclude the Rank Math user agent:
RankMathAPI/2.0.0; https://rankmath.com
and IP:193.138.6.5
.Whatever they say, please keep us posted. We’ll leave this ticket open so we can continue to monitor this.
Thank you for choosing Rank Math!
Hi Great.
I’m not getting a HTTP 400 error. RankMath isn’t acknowledging that SEO has been completed, none of it.
Hello,
Since you’ve merely discussed the problem you’re dealing with, it’s hard to understand and provide solutions to that issue. Can you please share a bit more information about the issue you’re encountering? So that we can pinpoint the issue and assist you to overcome the situation.
Are you referring to the SEO analyzer? Or the Content analysis in post editor?
You can use tools like imgbb to share screenshots with us and tools like loom to share screencast with us.
We would love to assist you with this one.
Thank you.
Hi Sakib.
I did have both SEO analyzer and Content analysis in post editor API problems but when we excluded the Rank Math user agent and IP in the cPanel, the API error went away in the Content analysis editor.
The problem we have (still) is when we perform SEO Analyzer, it’s stating no SEO has been carried out on any of the website pages. But the pages have been SEO’d.
We are using Avada Theme and I know RankMath can’t see everything on the pages but on this website, it’s seeing nothing.
I’ve been moving all my website customers from Yoast SEO to RankMath but I don’t want to have to go back to Yoast SEO. Thanks, Sakib.
Here is the link for IMGBB, see screenshot. https://ibb.co/sJbYbGc
Hello,
Thank you for getting back to us.
To help you resolve this issue, we might need to take a closer look at your website and settings. Please follow these steps:
- Edit the first post on this ticket and include your WordPress and FTP logins in the Sensitive Data section. This is a secure section that only our support staff can access.
- Make sure you take a complete backup of your website before sharing the information with us.
- If you prefer, you can use this plugin to generate a temporary login URL to your website and share that with us instead: https://wordpress.org/plugins/temporary-login-without-password/
- You can also use this plugin to monitor what changes our staff might make on your website (if any): https://wordpress.org/plugins/wp-security-audit-log/
We appreciate your cooperation and patience. Thank you for choosing Rank Math.
Hi Guys, it’s been 4 days and I haven’t had a reply. Did you look into the problem? Thanks.
Hello,
Sorry that your reply was stuck in pending and we ain’t aware of that.
However, I was able to identify the issue you’re encountering.
Looks like your DNS is pointing to a service Incapsula / Imperva according to whois result.
Most likely BlueHost is using that. You should get in touch with them to make sure to whitelist the Rank Math user agent and IP in the Incapsula protection service.
Here’s the updated user agent and IP address of Rank Math:
IP
193.138.6.5
user-agentRankMathChecker/2.0.2; https://rankmath.com
.Once done, please head over to Rank Math > Status & Tools > Database Tools > and click the
Clear SEO Analysis
andRemove Transients
buttons to flush the SEO Analysis cache.Clear your website and any server-level caching on your site before doing the SEO analysis again.
Let us know how it goes. Looking forward to helping you.
Thank you.
Hi Sakib.
All this has now been completed and RankMath is working as it should.
Thanks for your assistance.Hello,
We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.
If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.
If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.
- Edit the first post on this ticket and include your WordPress and FTP logins in the Sensitive Data section. This is a secure section that only our support staff can access.
The ticket ‘SEO Analyzer API Error: HTTP 400 error.’ is closed to new replies.