Hello,
Thank you for contacting Rank Math and bringing your concern to our attention.
You can use this filter to achieve that. Please paste this code at the bottom part of your theme’s functions.php file:
https://rankmath.com/kb/filters-hooks-api-developer/#disable-gutenberg-sidebar
I hope that helps. Thank you, and please don’t hesitate to contact us anytime if you need further assistance.
Hi I tried this and it didn’t work, I can’t code so not sure if that’s my fault.
I tried it after the ?> and it added the URL you gave me to the top of the WP dashboard. but didn’t disable RM in the sidebar.
I also tried adding it before ?> and it wouldn’t save and I got the warning that something went wrong.
Hello,
Thanks for getting back.
We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

It is completely secure and only our support staff has access to that section. If you want, you can use the below 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 use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/
We really look forward to helping you.
Okay thanks for your help. I’m really not comfortable giving out login details. It’s not that important, was just a preference to take RM out of the sidebar.
Hello,
Thank you for keeping in touch with us.
We understand that you cannot share your logins.
If adding the code in your functions.php file doesn’t work, please try adding the code using this handy plugin? https://wordpress.org/plugins/code-snippets/
Let me know how it goes.
We are 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.