Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
Please head over to WordPress Dashboard > Settings > General and make sure there are no mismatches in the WordPress URL and Site URL in those options.
If you have different website URLs in there, that would explain the error message as they need to match for the connection to happen correctly.
Don’t hesitate to get in touch if you have any other questions.
URLs are different because installation is in a sub directory but is just the exact way other 4 sites are setup and those arre connected already.
Any other clue?
Hello,
Could you please try this step to fix the connection issue?
Head over to your website’s files /wp-content/plugins/ and edit the file seo-by-rank-math/includes/admin/class-admin-helper.php on line 164:
if ( isset( $options['site_url'] ) && site_url() !== $options['site_url'] ) {
Changing it to this:
if ( isset( $options['site_url'] ) && home_url() !== $options['site_url'] ) {
We also have noted this internally and will be updating the plugin to include these changes in the future.
Let us know how this goes.
Thank you.
Hello,
Glad that helped.
Please feel free to reach out to us again in case you need any other assistance.
We are here to help.
Thank you.