Hello,
Thank you for contacting Rank Math, and sorry for any inconvenience caused.
5xx errors are usually caused due to server misconfiguration or other server issues.
Can you please share the error log 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.
However, please check if PHP values are not too low to handle the processes.
You can check that by going to WordPress dashboard > Tools > Site Health > Info tab > Server
If the values are low, please contact your web host and ask them to set the following values:
PHP Memory Limit: 512M
Max input time: 150
PHP time limit: 120
PHP max input variables: 1000
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.