When wp-config.php isn't in root
-
I have a site that has its wp-config.php file moved up one level from the directory where WordPress is installed (which is apparently a recommended security practice). If I migrate this site, the new installation does create a wp-config.php file, but it becomes just an empty/blank file.
I’m not sure whether something can be done to fix this. I think it will kind of technically impossible to access this file when it’s outside the WordPress territory? Not sure though…
Of course, I can just manually copy the content of the old file and then change what’s necessary.
The topic ‘When wp-config.php isn't in root’ is closed to new replies.