• Resolved magdmartin

    (@magdmartin)


    I accidentally removed my wp-config and .htaccess files from my WP.

    I have been successful reseting the wp-config, but now when accessing my website or admin login page, the install page is displayed instead of the content.

    I don’t want to overwrite my database of WP folder (everything is there), I just want to reset connections I broke.

    I suppose it might comes from the .htaccess but I’m not sure about it. Any other suggestion?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Your new wp-config.php file isn’t set up correctly.

    Thread Starter magdmartin

    (@magdmartin)

    before I set up my wp-config.php I get the message

    There doesn’t seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn’t work for all server setups. The safest way is to manually create the file.

    Now I have the install page.

    May it be linked to the Authentication Unique Keys and Salts ?

    No, but did you name the file correctly?

    Thread Starter magdmartin

    (@magdmartin)

    file is named properly. When I upload it on the server, I just have the install page displayed instead of my home page.

    Thread Starter magdmartin

    (@magdmartin)

    Ok people … thanks for your support it is fixed ??

    Problem was from the wp-config. The previous webmaster had changed table prefix in mysql. So just need to update the part with correct prefix

    * WordPress Database Table prefix.
    *
    * You can have multiple installations in one database if you give each a unique
    * prefix. Only numbers, letters, and underscores please!
    */
    $table_prefix = ‘THE_NEW_PREFIX’;

    I’ve also used this topic: Already Installed for months, WP keeps forwarding me to Install page
    But not relevant for my case.

    Thanks for your support!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Reset a WP configuration (.htaccess and wp-config removed)’ is closed to new replies.