Title: Basic domain/URL question
Last modified: December 8, 2019

---

# Basic domain/URL question

 *  [ddas](https://wordpress.org/support/users/ddas/)
 * (@ddas)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/basic-domain-url-question/)
 * I know it’s basic but I still keep goofing it up. I designed a new WordPress 
   site in a subdirectory of a domain I own (mycustomdomain.com/sites/sitename).
   I did all the work on it by going to that URL.
 * The site is now done and I’m ready to point the real domain at it, which I did
   at the registrar.
 * So now when I go to newsitename.com, it simply redirects to the full path (mycustomdomain.
   com/sites/sitename).
 * I thought the solution was to go into WP’s Settings > General and update the 
   WP Address and Site Address to newsitename.com. But when I did that, I broke 
   the site.
 * I had to go back in via FTP and manually hardcode the wp-config like this:
 * `define('WP_HOME','http://mycustomdomain.com/sites/sitename'); define('WP_SITEURL','
   http://mycustomdomain.com/sites/sitename');`
 * So now I’m back to where I started. Can someone please help me understand how
   to update it all so that it’s now all at newsitename.com?

Viewing 1 replies (of 1 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/basic-domain-url-question/#post-12216215)
 * You’ll move the site following this guide: [https://wordpress.org/support/article/moving-wordpress/](https://wordpress.org/support/article/moving-wordpress/)

Viewing 1 replies (of 1 total)

The topic ‘Basic domain/URL question’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/basic-domain-url-question/#post-12216215)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
