Hello,
We apologize for the issue you are facing with the persistent 500 Internal Server Error when saving posts with Rank Math SEO enabled. This type of error can often be caused by conflicts with other plugins, themes, or server configurations.
Here are a few steps you can take to troubleshoot and potentially resolve the issue:
-
Check for Plugin Conflicts: Temporarily deactivate all other plugins except Rank Math and see if the issue persists. If it resolves, reactivate the plugins one by one to identify the conflicting plugin.
-
Theme Conflict: Switch to a default WordPress theme (like Twenty Twenty-One) to see if the issue is related to your current theme.
-
Error Logs: Check your server’s error logs for more detailed information about the 500 error. This can provide insights into what might be causing the issue.
-
Increase PHP Memory Limit: Sometimes, increasing the PHP memory limit can help resolve such issues. You can do this by adding the following line to your wp-config.php
file:
define('WP_MEMORY_LIMIT', '256M');
-
Firewall Settings: Ensure that your firewall is not blocking any requests made by Rank Math. If you are using a security plugin, check its settings to ensure Rank Math is whitelisted.
-
Check for JavaScript Errors: Open the Developer Tools Console in your browser (usually accessible via F12 or right-click > Inspect) and check for any JavaScript errors that may be affecting the functionality of Rank Math.
If none of these steps resolve the issue, we recommend replying to this ticket with your site URL so that a human agent from our support team can take a closer look at your specific setup and provide further assistance.
Thank you for bringing this concern to our attention, and we look forward to helping you resolve it!
Sources:
Why Your SEO Title, Description & Focus Keyword Aren’t Being Saved » Rank Math
Why Your SEO Title, Description & Focus Keyword Aren’t Being Saved » Rank Math
Hello,
Thank you for your prompt bot response 😛 and the helpful troubleshooting suggestions.
I have already performed most of these checks:
Deactivated all other plugins except Rank Math — the error still occurs.
Switched to a default WordPress theme — the issue remains.
Checked server error logs — the 500 error is linked specifically to updating the meta key _elementor_template_type
.
Verified firewall and security plugin settings.
Monitored browser console — the 500 error consistently happens on REST API calls involving _elementor_template_type
.
Given the error is specifically about Rank Math trying to update _elementor_template_type
, which is related to Elementor templates but appears on regular posts and pages, I believe the root cause lies in how Rank Math handles this meta field during REST API save requests.
I also attempted the recommended filter in functions.php to disable Rank Math’s REST API meta field handling:
add_filter( ‘rank_math/rest/disable_post_meta_fields’, ‘__return_true’ );
Unfortunately, this did not resolve the error.
Could you please have a closer look at this specific meta conflict?
Hello,
5xx errors are usually caused due to server misconfiguration or other server issues.
Can you please share the website error log with us? Having the error log file will give a clear idea of why this might be happening.
If you’re not able to find the error log, you can get in touch with your hosting provider, and they will help you locate the log file.
Looking forward to helping you.
Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
The log you shared doesn’t reference Rank Math. Please ensure you are using the latest versions of both Rank Math and the Elementor plugins. You can verify the latest versions from our changelog here: https://rankmath.com/changelog
It seems that you’re currently using the Rank Math PRO plugin, but the account you used to open this ticket is a free account.
Can you please search and forward a receipt from FastSpring.com so we can locate your account and verify it?
We look forward to hearing back from you.
Thank 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.