Title: Reinstalling Database Issue
Last modified: August 21, 2016

---

# Reinstalling Database Issue

 *  [ehwdesign](https://wordpress.org/support/users/ehwdesign/)
 * (@ehwdesign)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/reinstalling-database-issue/)
 * Hi,
 * I first created my website under another website in a sub directory. I then backed
   up the FTP files and copied them to the correct web directory. For starters the
   website was live however all the pages and login were still pointing to the old
   sub directory. I then created a database and exported the SQL from the old database
   and found and replaced all instances of the old url. This consequently gave me
   500 server errors on all pages except the home page. I then logged into the back
   end of wordpress and changed the permilinks to default and that fixed the pages.
 * The issue I am having now is most of my images are missing, title styling has
   disappeared, alot of my widget are missing and a few weird things are coming 
   up that shouldn’t be there.
 * I don’t know much about databases and have read somewhere that the length of 
   the url could be an issue? If so how do I go about this please help! I am using
   cpanel if this is any help.

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/reinstalling-database-issue/#post-4093734)
 * I think you need to review [Moving_WordPress](http://codex.wordpress.org/Moving_WordPress).
 *  Thread Starter [ehwdesign](https://wordpress.org/support/users/ehwdesign/)
 * (@ehwdesign)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/reinstalling-database-issue/#post-4093737)
 * thanks I will check it out.
 *  Thread Starter [ehwdesign](https://wordpress.org/support/users/ehwdesign/)
 * (@ehwdesign)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/reinstalling-database-issue/#post-4093807)
 * Hi just to clarify. I would be looking at the section “when your domain name 
   or URLs Change” it is asking me to search and replace the wp_posts table. Now
   do I only export that table and search and replace or do I export all table and
   just search and replace the wp_posts table? Sorry if this may be a obvious question.
 *  Thread Starter [ehwdesign](https://wordpress.org/support/users/ehwdesign/)
 * (@ehwdesign)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/reinstalling-database-issue/#post-4093812)
 * Hi Esmi,
 * I followed the instructions and they did not seem to work. I also decided to 
   create a new database and move everything to that database. Still having the 
   same issues.
 * Link to what is is suposed to look like – [http://ehwdesign.com.au/rotary/](http://ehwdesign.com.au/rotary/)
   
   Link to what it does look like – [http://www.rotary9570.org/](http://www.rotary9570.org/)
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/reinstalling-database-issue/#post-4093837)
 * You need to download a database backup, run the search & replace and then re-
   import the backup into the old, empty, database.

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

The topic ‘Reinstalling Database Issue’ is closed to new replies.

## Tags

 * [cPanel](https://wordpress.org/support/topic-tag/cpanel/)
 * [database](https://wordpress.org/support/topic-tag/database/)
 * [sql](https://wordpress.org/support/topic-tag/sql/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/reinstalling-database-issue/#post-4093837)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
