• I need some clarification on replacing the WP core files. I have not been able to log into my dashboard for a while now and have tried disabling plugins along with other options. Now I am left with trying to replace my WP files in FTP.

    My question is… are the only things that I do not delete the wp-content folder and the wp-config.php file? Then when replacing the core files and uploading a fresh WP just remove the wp-content folder before uploading?

    I need to make sure that I do not lose my entire site when doing this.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Jason King

    (@jasoncharlesstuartking)

    Make a backup of your entire site plus data. Then it (almost) doesn’t matter if you make a mistake.

    You’re correct.

    You can delete wp-admin and wp-includes.

    But don’t delete wp-content.

    Delete all the files in the root folder except wp-config.php.

    Thread Starter jjpecoro

    (@jjpecoro)

    I did everything and now the whole site is down. Getting this message

    Warning: require(/home/readingedge/public_html/sa/wp-includes/load.php): failed to open stream: No such file or directory in /home/readingedge/public_html/sa/wp-settings.php on line 21

    Fatal error: require(): Failed opening required ‘/home/readingedge/public_html/sa/wp-includes/load.php’ (include_path=’.:/usr/local/lib/php’) in /home/readingedge/public_html/sa/wp-settings.php on line 21

    Any suggestions?

    Jason King

    (@jasoncharlesstuartking)

    Use FTP to check whether that file exists or not. If missing, re-upload it.

    Thread Starter jjpecoro

    (@jjpecoro)

    Ok, I replaced my original backup files just to get my site back to working. I retried replacing the core files the next day and that fixed my problem. Thanks for the help!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Replacing WordPress Core files’ is closed to new replies.