Updated wp-config to make it more robust