Title: moving wordpress
Last modified: August 31, 2016

---

# moving wordpress

 *  Resolved [ebeighe](https://wordpress.org/support/users/ebeighe/)
 * (@ebeighe)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/moving-wordpress-47/)
 * I decided to move my wordpress files; just where they are in/under my public_html.
   They are already in a subfolder.
    The url won’t change, and the database won’t
   change. After reviewing [https://codex.wordpress.org/Moving_WordPress](https://codex.wordpress.org/Moving_WordPress)
 * It seems like all I would need to do is move the files to where I want them, 
   and then point the document root for the domain (it’s an add-on domain in a cPanel
   hosting account) to the new location.
 * so before:
    public_html/foo after: public_html/newfolder/foo
 * let’s say the url is domain.com — that doesn’t change.
    When i do so, accessing
   domain.com causes a 500 Internal server error. If i move the foo folder back 
   to where it was before, directly under public_html, everything goes back to working
   again.
 * What am i missing?

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/moving-wordpress-47/#post-7021223)
 * Internal server errors are usually described in more detail in the server error
   log. If you have access to your server error log, generate the error again, note
   the date and time, then immediately check your server error log for any errors
   that occurred during that time period. If you don’t have access to your server
   error log, ask your hosting provider to look for you.
 *  Thread Starter [ebeighe](https://wordpress.org/support/users/ebeighe/)
 * (@ebeighe)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/moving-wordpress-47/#post-7021417)
 * Just a little follow up:
 * I re-did everything (on another hosting account) and everything worked as I expected
   it to, which is to say:
    wordpress doesn’t really care where it’s files are located(
   if the url changes, you have to make sure that in the database the home and url
   in the options table reflects the change) —-
 * In thinking back on what might have been wrong to cause an Internal Server Error;
   i’m guessing (guessing because I’m not able or sure about how to go back and 
   reproduce the error) it was something wrong with my .htaccess file.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/moving-wordpress-47/#post-7021418)
 * Glad to know it’s all working as expected 🙂

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

The topic ‘moving wordpress’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/moving-wordpress-47/#post-7021418)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
