Different Backend/Frontend Domains

#819099
  • Resolved Steve Sparks
    Rank Math free

    Hello there i use wordpress as backend with wpgraphql so my backend and frontend addresses are diffrent, when I click to connect account it gives me error because addresses are different. How can I achieve this?

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

    1. 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.
    2. Add Filter to Disable URL Check:

      • If the issue persists after adjusting the URLs, you can add a filter to disable the URL check. Add the following code snippet to your website:
        add_filter( 'rank_math/registration/do_url_check', '__return_false' );
      • This filter will prevent Rank Math from checking for URL mismatches during the account connection process.

    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.

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

The ticket ‘Different Backend/Frontend Domains’ is closed to new replies.