• Plugin Author Code Machine

    (@xpointer)


    I’m going to write few steps that would help recovering wp-config.php file in case someone couldn’t access WordPress Dashboard after saving wp-config.php file through WordPress Config File Editor

    This method required FTP access to the website where the wp-config.php file is located

    1. Open the backup file through FTP
    2. Select and copy, the encoded content.

    The encoded content would looks like “return array( ‘content’ => ‘PD9waHAKLy……=’ )

    Copy all text that start from ‘PD9’ until the ‘=’ symbol

    The encoded data might looks different, I’m just given an example.

    3. Open the Web browser and go to https://www.base64decode.org/
    4. Paste the encoded data just copied into the first text box that lay down underneath “Decode from Base64 format” text
    5. Click Decode
    6. The decoded content would be generated down on the next text box
    7. Using FTP client open wp-config.php for edit and clear all the content inside
    8. Copy and Paste the decoded config file you get from https://www.base64decode.org/ in place of the old text
    9. Save the file
    10. Try to access WordPress Dashboard

    Thanks
    AHMeD

Viewing 1 replies (of 1 total)
  • Plugin Author Code Machine

    (@xpointer)

    I’m sorry I just forget to tell where the Backup file is located

    There is a sub directory created under wp-content directory. This sub directory name would looks like wcfe-061dab63d20b44338d99d770b6c6cc04. wcfe- would be static for every installation while the hash number “061dab63d20b44338d99d770b6c6cc04” would be changed on every installation.

    Under that directory there would be a file named “wp-config-backup.php”.

    The encoded content would be on line 8

    • This reply was modified 6 years, 8 months ago by Code Machine.
Viewing 1 replies (of 1 total)
  • The topic ‘HOW TO RECOVERY wp-config.php’ is closed to new replies.