# Export a WordPress Site – and the domain name?

**URL:** <https://community.localwp.com/t/export-a-wordpress-site-and-the-domain-name/36825>\
**Category:** Support\
**Tags:** site-export\
**Created:** [May 6, 2023, 1:39pm UTC](https://community.localwp.com/t/export-a-wordpress-site-and-the-domain-name/36825 "2023-05-06T13:39:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thobie](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/thobie/32/21704_2.png) [@Thobie](https://community.localwp.com/u/Thobie)\
**Post date:** [May 6, 2023, 1:39pm UTC](https://community.localwp.com/t/export-a-wordpress-site-and-the-domain-name/36825/1 "2023-05-06T13:39:41Z")

</div>

Hello,

I know how to export a local WP website.

However, when exporting and uploading to the web space of the hoster’s server, how is it ensured that the previous domain name for the local website localhost:xxxx is replaced with the URL of the online website [www.my-club.de](http://www.my-club.de) and thus the website works online with the URL as well?

Regards

Thobie

---

<div class="post-metadata">

**Author:** ![sambrockway](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/sambrockway/32/18726_2.png) [@sambrockway](https://community.localwp.com/u/sambrockway)\
**Post date:** [May 9, 2023, 12:55pm UTC](https://community.localwp.com/t/export-a-wordpress-site-and-the-domain-name/36825/2 "2023-05-09T12:55:32Z")

</div>

Hi there @Thobie -

When you upload your site to your hosting provider, they should be running a search & replace behind the scenes to swap the Site Domain throughout the database from the Local version to the live version you’ve indicated.

Please let me know if you have any more questions!

Sam

---

<div class="post-metadata">

**Author:** ![Thobie](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/thobie/32/21704_2.png) [@Thobie](https://community.localwp.com/u/Thobie)\
**Post date:** [May 9, 2023, 3:21pm UTC](https://community.localwp.com/t/export-a-wordpress-site-and-the-domain-name/36825/3 "2023-05-09T15:21:29Z")

</div>

So this doesn’t happen automatically when exporting the local website or uploading to the web space?

Then I have to do this with a plugin in the site and in the database itself, because the hoster does not do this.

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [August 7, 2023, 3:21pm UTC](https://community.localwp.com/t/export-a-wordpress-site-and-the-domain-name/36825/4 "2023-08-07T15:21:58Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
