Title: changing site domain
Last modified: September 5, 2020

---

# changing site domain

 *  Resolved [bimpra](https://wordpress.org/support/users/bimpra/)
 * (@bimpra)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/changing-site-domain/)
 * Hello,
 * I created website on domain [https://virtuerac.com](https://virtuerac.com)
    Once
   the website was ready, I copied all files to [https://pavlinoconsulting.com](https://pavlinoconsulting.com)
   The database for both url is same.
 * Now I have removed files from virtuerac.com but my site is now broken (no images).
   
   If I replace url virtuerac.com to pavlinoconsulting.com in database, the site
   completely breaks and looks like a fresh wordpress install.
 * How do I get back the images?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fchanging-site-domain%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [WebsiteGuider](https://wordpress.org/support/users/websiteguiderteam1618/)
 * (@websiteguiderteam1618)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/changing-site-domain/#post-13364725)
 * HI,
    You can’t use the same database for two sites. Use different databases for
   each installation. Then transfer your required data to both of the sites. Thanks
 *  Thread Starter [bimpra](https://wordpress.org/support/users/bimpra/)
 * (@bimpra)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/changing-site-domain/#post-13374949)
 * SOLVED. I have removed all files from Virtuerac. The database is now only for
   pavlino. As far as broken images are concerned, I used better find and replace
   plugin to change all instances of virtue domain to pavlino domain in database.
   
   I also had SSL unsecured issue. I solved it by opening the images in gallery 
   and selecting them again so that url is rewritten.

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

The topic ‘changing site domain’ is closed to new replies.

## Tags

 * [change URL](https://wordpress.org/support/topic-tag/change-url/)
 * [images](https://wordpress.org/support/topic-tag/images/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [bimpra](https://wordpress.org/support/users/bimpra/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/changing-site-domain/#post-13374949)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
