Viewing 1 replies (of 1 total)
  • You need to do the following:

    • Download a fresh copy of WordPress to your desktop and unzip.
    • Open the wp-config.php file in a text editor and edit the database name, username and password to the same database name, username and password to what you have in your hosting.
    • If you do not know the database password you can generate a new password in yoru hosting. Leave the database user the same.
    • Google ‘WordPress salts’ and you will geta page that gives you some random salt strings. Update these in the config file too.
    • Upload the only the config file to your WordPress install this will kick your website back in to action.
    • Do not upload a fresh copy of WordPres. Do not upload a fresh wp-content folder – both of these could wipe your website.
Viewing 1 replies (of 1 total)

The topic ‘Delete wp-config.php’ is closed to new replies.