Hello,
We apologize for the issue you are facing with the localhost link appearing in your source code. This typically happens when the site URL settings are not updated after migrating from a local environment to a live server.
To resolve this, please follow these steps:
-
Update Site URL in WordPress Settings:
- Go to your WordPress Dashboard.
- Navigate to Settings → General.
- Ensure that both the WordPress Address (URL) and Site Address (URL) are set to `https://rankmath.com/offer/.
-
Check Rank Math Settings:
- Go to Rank Math → General Settings.
- Ensure that the settings reflect your live site URL instead of the localhost URL.
-
Update any Hardcoded URLs:
- If you have any hardcoded URLs in your theme files or database, you may need to update those as well. You can use a plugin like Better Search Replace to find and replace
https://rankmath.com/offer/ with
https://rankmath.com/offer/ in your database.
-
Clear Cache:
- After making these changes, clear your browser cache, website cache, and any caching plugins you might be using.
If you would like more comprehensive assistance with setting up Rank Math correctly, we recommend our professional setup service which requires a PRO subscription. This service ensures that your plugin setup adheres to the latest SEO standards.
Thank you for raising this concern! If you have any further questions or need additional help, feel free to reply to this ticket, and a human agent will assist you further.
Sources:
How to Fix Problems While Connecting Account Using Rank Math » Rank Math
How to Fix Problems While Connecting Account Using Rank Math » Rank Math
Hello,
We checked your page but were not able to find that URL in the source code:

Can you please confirm if you have already managed to remove that from your website?
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.