Hello,
I’m sorry to hear that you are facing issues with the codes to eliminate the sentiment and power words SEO tests in Rank Math. If adding those codes directly to the rank-math.php
file is causing errors on your site, there might be a conflict with the code or how it’s implemented.
To resolve this issue and successfully disable the sentiment and power words tests, please follow these steps:
-
Check Code Accuracy: Ensure that the code snippets you added to the rank-math.php
file are accurate and correctly formatted. Even a small error can cause issues.
-
Use functions.php: Instead of the rank-math.php
file, try adding the code snippets to your theme’s functions.php
file. This is a common practice and might help avoid conflicts.
-
One Code at a Time: Add and test one code snippet at a time. This way, you can identify which specific code is causing the issue.
-
Error Logs: Check your website’s error logs for more details on what might be causing the errors after adding the code snippets.
If you continue to face issues after following these steps, please reply to this ticket, and a human agent from our support team will assist you further.
Thank you for your understanding and patience.
Sources:
How to Disable Rank Math SEO Content Tests » Rank Math
Score 100/100 With Rank Math Post Tests » Rank Math
How to Disable All Rank Math Generated SEO Tags » Rank Math
This is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.
There are several headings under functions.php. What heading do the codes go under?
Hello,
If you choose to use your theme’s functions.php file, then you can paste the code at the bottom or the last line of it.
However, please share a screenshot of the rank-math.php file you have created and the code you used so we can check. You can upload screenshots using this tool and add the link here.
Meanwhile, ensure that you have added an opening PHP tag <php
in that file like this (Line 1)
Looking forward to helping you.