Connected to wrong site

#1112776
  • SC
    Rank Math free

    Hi, I just added RankMath and I’m using Hostinger. When I use setup wizard I put the website name as my site sportscardsflips.com. But when I go back to it later it will revert to a hostinger.com site instead. How can I fix this to make sure it is going to https://sportscardsflips.com. I have cleared cache, disconnected and reconnected and made sure the WordPress address and Site address were both https://sportscardsflips.com. Can you help?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    I apologize for the issue you are facing with your Rank Math setup. It sounds like there may be a configuration issue causing the site URL to revert to the Hostinger domain.

    Here are a few steps you can take to ensure that your website is correctly set up:

    1. Check WordPress Address & Site Address: You’ve mentioned that you’ve already checked this, but it’s crucial to ensure that both the WordPress Address and Site Address in Settings → General are set to `http://example.com.
      Website Address and Site Address - WordPress General Settings

    2. Edit .htaccess File: If the issue persists, you may need to add redirection rules to your .htaccess file to ensure that all traffic is directed to your desired URL. You can edit the .htaccess file directly from the Rank Math dashboard:

      • Navigate to WordPress Dashboard → Rank Math SEO → General Settings → Edit .htaccess.
      • Add the following code snippet after #END WordPress:
        RewriteEngine On
        RewriteCond %{HTTP_HOST} ^www.sportscardsflips.com [NC]
        RewriteRule ^(.*)$ http://example.com [L,R=301]

        Add .htaccess redirection for URL version (www or non-www)

    3. Clear Cache Again: After making these changes, clear your website cache again and check if the issue is resolved.

    If you continue to experience problems, we recommend replying to this ticket with your site URL so that a human agent from our support team can assist you further. Thank you for raising this concern, and we hope to help you resolve it soon!

    Sources:
    Why Are Posts Redirecting to www or Non-www Incorrectly?

    This is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.

    Hello,

    Thank you for your query and we are so sorry about the trouble this must have caused.

    Please follow this guide to help resolve the issue: https://rankmath.com/kb/settings-not-saved/

    If that doesn’t help, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.

    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

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

You must be logged in to reply to this ticket.