Seems like your site URL has changed since you connected to Rank Math. Click her

#850345
  • Resolved Philippe Longchamp
    Rank Math free

    Hi, this message doesn’t go away.

    What are the settings for the “Filter whether we need to check for URL mismatch or not?”

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello, we apologize for the issue you are facing with the message regarding the site URL change. To resolve this, you can add a filter to your website that will prevent Rank Math from checking for URL mismatches.

    Here’s how to do it:

    1. Add the following code snippet to your theme’s functions.php file or a custom plugin:

      /**
      * Filter whether we need to check for URL mismatch or not.
      */
      add_filter( 'rank_math/registration/do_url_check', '__return_false' );
    2. After adding this filter, try reconnecting your Rank Math account again.

    If you continue to see the message after implementing this solution, please ensure that you have cleared your browser, website, and site-level cache. You can find more details on how to clear cache in our guide here.

    If you have any further questions or if the issue persists, feel free to reply to this ticket, and a human agent from our support team will assist you further!

    Sources:
    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.

    Please head over to Rank Math> Status & Tools > Database Tools and from there remove Rank Math transients and see if that works for you.

    Let us know how it goes. Looking forward to helping you.

    Thank you.

    Two transients were removed but the message asking to reconnect because the URL has changed is still here.

    phl

    Hello,

    Some steps can be taken to debug the issue further.

    Once the website is connected normally, look for the presence of the rank_math_connect_data in the WordPress options database table. You should see this present there.

    Here is a guide to locate your database table:

    1. Go to your database panel which can be found in your hosting’s Cpanel. Usually, the database panel is PHPMyAdmin. If you are having trouble locating that, contact your hosting provider.

    2. Once you gain access to your database panel, locate your website’s database and look for the table wp_options (see screenshot below). Open that table and you can look for the option key rank_math_connect_data

    Rank Math support

    When the activation fails again, check for the same option in the database table mentioned above.

    If that option is missing then, the reason for the deactivation is that something either on the website or the server is deleting that option even though it’s getting autoloaded.

    Let us know how it goes.

    Thank you.

    I couldn0t find the option key rank_math_connect_data.

    Hello,

    If the rank_math_connect_data option is not present in the wp_options table, it means something on your site is removing the option. Adding it manually won’t work.

    Please ask your host to check the MySQL log to figure out which action or plugin is removing the option from the wp_options table.

    Let us know how that goes.

    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.

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

The ticket ‘Seems like your site URL has changed since you connected to Rank Math. Click her’ is closed to new replies.