Title: Change WordPress URL in Mail
Last modified: August 13, 2019

---

# Change WordPress URL in Mail

 *  Resolved [bauralex](https://wordpress.org/support/users/bauralex/)
 * (@bauralex)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/chrange-wordpress-url-in-mail/)
 * Hi
 * we have your pro plugin on our website and recently finished developing the site…
   Now it is on a different domain than the staging site and when we got an email
   from wordfence, e.g. a user signed in, there is the wrong domain inside the mail
 * How can I change that?
 * Thank you
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fchrange-wordpress-url-in-mail%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [wfdave](https://wordpress.org/support/users/wfdave/)
 * (@wfdave)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/chrange-wordpress-url-in-mail/#post-11827673)
 * Hi [@bauralex](https://wordpress.org/support/users/bauralex/),
 * When you migrated your staging to your live website, some settings in the database
   were not updated.
 * Can you run this query to see if your URLs are up-to-date?
 * `select name, val from wp_wfconfig where name = 'wp_home_url' or name = 'wp_site_url';`
 * If it’s not, you can manually update it by using these queries:
 * `update wp_wfconfig set val = 'http://your_site_url' where name = 'wp_home_url';`
   `
   update wp_wfconfig set val = 'http://your_home_url' where name = 'wp_home_url';`
 * Dave
 *  Thread Starter [bauralex](https://wordpress.org/support/users/bauralex/)
 * (@bauralex)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/chrange-wordpress-url-in-mail/#post-11827705)
 * Thanks
    the wfconfig entry was false

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

The topic ‘Change WordPress URL in Mail’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [bauralex](https://wordpress.org/support/users/bauralex/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/chrange-wordpress-url-in-mail/#post-11827705)
 * Status: resolved