Title: Install error when replacing html with wordpress
Last modified: August 20, 2016

---

# Install error when replacing html with wordpress

 *  [djkeith](https://wordpress.org/support/users/djkeith/)
 * (@djkeith)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/install-error-when-replacing-html-with-wordpress/)
 * I’ve been working on a new wordpress site design whilst leaving my html site 
   up and running.
 * I published a page, set up a redirection plugin and now I can’t log on at all
   to my wordpress site. I’m getting a ‘Http error 404 not found’. I’m not sure 
   the plugin worked as I got an error message ‘Warning: Missing argument 2 for 
   wpdb::prepare(), called in E:\Domains\t\toponlinecasino.tv\user\htdocs\wp-content\
   plugins\redirection\models\group.php on line 70 and defined inE:\Domains\t\toponlinecasino.
   tv\user\htdocs\wp-includes\wp-db.php on line 990’
 * I then change the url in the general settings as stated elsehwere and now getting
   the 404 error message. I tried to change it back and still getting the same error
   message.
 * WordPress is installed in the root directory and I did not want to delete the
   html files, just redirect. I was also told I should consider a mod rewrite script?
   If so, where would I put this?
 * Can anyone help me point out where I have gone wrong with this installation and
   point my in the direction of what I can do next?
 * Thanks

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/install-error-when-replacing-html-with-wordpress/#post-3436964)
 * Try:
    – switching to the default theme by renaming your current theme’s folder
   inside wp-content/themes and adding “-old” to the end of the folder name using
   [FTP](http://codex.wordpress.org/FTP_Clients) or whatever file management application
   your host provides.
 * – [resetting the plugins folder](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)
   by FTP or phpMyAdmin.

Viewing 1 replies (of 1 total)

The topic ‘Install error when replacing html with wordpress’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/install-error-when-replacing-html-with-wordpress/#post-3436964)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
