Title: Moving/Renaming WordPress gives get_permalink() Error
Last modified: August 19, 2016

---

# Moving/Renaming WordPress gives get_permalink() Error

 *  [jahjr1989](https://wordpress.org/support/users/jahjr1989/)
 * (@jahjr1989)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/movingrenaming-wordpress-gives-get_permalink-error/)
 * I moved my wordpress files and updated the Site URL etc (and htaccess). My old
   URL is nowehere in the database or files as far as I can see but when I try to
   add/edit pages or posts I get a 500 Internal server error.
 * ERROR:
    _Internal Server Error The server encountered an internal error or misconfiguration
   and was unable to complete your request.
 * Please contact the server administrator, [webmaster@mystoryabroad.john-huston.com](https://wordpress.org/support/topic/movingrenaming-wordpress-gives-get_permalink-error/webmaster@mystoryabroad.john-huston.com?output_format=md)
   and inform them of the time the error occurred, and anything you might have done
   that may have caused the error.
 * More information about this error may be available in the server error log.
 * Additionally, a 500 Internal Server Error error was encountered while trying 
   to use an ErrorDocument to handle the request.
 * OLD URL: [http://mystoryabroad.com/SEARCHFORTHIS_SignupURL](http://mystoryabroad.com/SEARCHFORTHIS_SignupURL)
   
   NEW URL: [http://mystoryabroad.com/johnhuston](http://mystoryabroad.com/johnhuston)
 * I have changed the theme to 2010 and disabled all plugins and the problem persists.

Viewing 1 replies (of 1 total)

 *  Thread Starter [jahjr1989](https://wordpress.org/support/users/jahjr1989/)
 * (@jahjr1989)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/movingrenaming-wordpress-gives-get_permalink-error/#post-1838249)
 * To clarify, I copied all of the files (replacing any instance of “SEARCHFORTHIS_SignupURL”
   with “johnhuston”) and renamed the directory johnhuston.
    I then copied all of
   the tables into the same database but with a different table prefix (which I 
   also updated in wp-config.php) and changed any instance of “SEARCHFORTHIS_SignupURL”
   with “johnhuston” in the tables.

Viewing 1 replies (of 1 total)

The topic ‘Moving/Renaming WordPress gives get_permalink() Error’ is closed to new
replies.

## Tags

 * [move](https://wordpress.org/support/topic-tag/move/)
 * [rename](https://wordpress.org/support/topic-tag/rename/)
 * [url](https://wordpress.org/support/topic-tag/url/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [jahjr1989](https://wordpress.org/support/users/jahjr1989/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/movingrenaming-wordpress-gives-get_permalink-error/#post-1838249)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
