Title: Domain redirected to .com/install.php after database error
Last modified: August 20, 2016

---

# Domain redirected to .com/install.php after database error

 *  Resolved [RavenMoon](https://wordpress.org/support/users/ravenmoon/)
 * (@ravenmoon)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/domain-redirected-to-cominstallphp-after-database-error/)
 * **why does wordpress redirect domain to wp-admin/install.php**
 * So while working on my website justwicca.com, I went to post a 700 word article.
 * I got the dreaded database error. Site wouldn’t load, googled it someone said
   to redo my wp-config and I did. THEN its was pointing me to the famous five minute
   install.
 * Googled some more and found out my best bet would be to delete the install.php
   and make sure the database prefix was correct.
 * I did that LUCKILY There’s my blog! pages and all in tact!
 * Only issue is that now justwicca.com’s main page doesn’t show my blog posts and
   instead redirects to a 404. It redirects to [http://justwicca.com/wp-admin/install.php](http://justwicca.com/wp-admin/install.php).
   Just Wicca is just a blog, not in a sub folder. So if i can get rid of the redirect
   to install.php I am sure my blog posts will be there.
 * I think one of my seo plugins isn’t compatible to 3.3 I have disabled them ALL
   for the time being. Luckily I can log in now and still have my posts. but would
   love to get this fixed!
 * seems like maybe this ->>>[http://www.justanswer.com/computer-programming/53xlh-does-wordpress-redirect-domain-wp-admin-install-php.html](http://www.justanswer.com/computer-programming/53xlh-does-wordpress-redirect-domain-wp-admin-install-php.html)
 * Also I don’t have a recent backup and I don’t want to loose 100 posts…

Viewing 1 replies (of 1 total)

 *  Thread Starter [RavenMoon](https://wordpress.org/support/users/ravenmoon/)
 * (@ravenmoon)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/domain-redirected-to-cominstallphp-after-database-error/#post-2454282)
 * **I FIXED IT!**
 * Thanks Anyway bros…

Viewing 1 replies (of 1 total)

The topic ‘Domain redirected to .com/install.php after database error’ is closed
to new replies.

## Tags

 * [domain](https://wordpress.org/support/topic-tag/domain/)
 * [install.php](https://wordpress.org/support/topic-tag/install-php/)
 * [redirect](https://wordpress.org/support/topic-tag/redirect/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [RavenMoon](https://wordpress.org/support/users/ravenmoon/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/domain-redirected-to-cominstallphp-after-database-error/#post-2454282)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
