Hello,
I apologize for the inconvenience you are facing with connecting your Rank Math account due to different backend and frontend domain addresses. To resolve this issue, you can follow these steps:
-
Check WordPress Settings for URL Mismatch:
- Go to your WordPress Dashboard and navigate to Settings → General.
- Ensure that both the WordPress Address (URL) and Site Address (URL) fields have the same URL. If there is a discrepancy in terms of
www
and http://
, set your preferred version in both fields and save your changes.
-
Add Filter to Disable URL Check:
By following these steps, you should be able to connect your Rank Math account successfully even with different backend and frontend domain addresses. If you encounter any further issues, feel free to reach out for additional assistance.
Thank you for bringing this concern to our attention.
Sources:
Sorry, You Are Not Allowed to Access This Page » Rank Math
Why Are Posts Redirecting to www or Non-www Incorrectly?
How to Fix Problems While Connecting Account Using Rank Math » Rank Math
Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
You can use the following filter on your website:
/**
* Filter whether we need to check for URL mismatch or not.
*/
add_filter( 'rank_math/registration/do_url_check', '__return_false' );
Here’s how you can add filter/hook to your WordPress site: https://rankmath.com/kb/wordpress-hooks-actions-filters/
Once done, please head over to your WP Dashboard > Rank Math > Dashboard > Help, and from there disconnect and reconnect your Rank Math Account and see if that works for you.
Let us know how it goes. Looking forward to helping 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.