500 Error Moving WP directory to root

[ad_1]

An error 500 should be reflected in an error log entry. Have a look at the error log of your hosting. You should be able to see what the actual cause is.

I saw a couple of firewall rules getting hit, but once I disabled them (for now), I still get the 500.

In /var/log/apache2/error_log, I don’t see anything pointing to this site, only a bunch of PHP eact-server.ini syntax errors (we’re running an old version of PHP on the server, but the site is using PHP 7.4).

I’m not much of an admin, so if there is a different error log I should be checking, I welcome the help.

Thanks, much.

A bit of progress (and I uninstalled Wordfence before seeing this). Now the error is:

Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0

Fatal error: Unknown: Failed opening required ‘/home/corps/public_html/wp/wordfence-waf.php’ (include_path=’.:/opt/cpanel/ea-php74/root/usr/share/pear’) in Unknown on line 0

I got this after moving files to the root folder. This is a link to the original folder (wp) folder, but I don’t know where the link is being referenced. Hunting…

This is definitely a Wordfence migration issue. This error shows up often. Sorry for the bother.

For folks who got this far, when you deactivate WF, you will be walked through a series of steps that will remove WF properly, allowing for the director migration to happen. If I get other errors, I’ll update this, but assume that a proper deactivation of WF before migrating the directory works as WP says it does (which is quite easy, otherwise).

[Update: no errors now, though I can’t access site-editor.php for some reason.]

[Update: no errors now, though I can’t access site-editor.php for some reason.]

Anything in the logs about this? If you haven’t done so already, turn on WordPress debugging.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer