Site not connected with rank math account

#402932
  • Resolved Rafael Granados
    Rank Math free

    Site is set in Rank Math account as connected but in website it indicates that site is not connected…

    We have disconnected from Rank Math account and try some times more but it is not connected yet (As the message we get in backend)

    Your site URL has changed since you connected to Rank Math. Click here to reconnect.

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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.

    Done!

    Thank You Reinelle!

    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.

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this ticket.