wp admin – Could not override the url in wp-config file
for the wordpress deployment purpose I have added the following code in wp-config.php file
define( 'WP_HOME', 'http://example.com'); define( 'WP_SITEURL', 'http://example.com');
I did not make any changes in wp-option table. there its shows localhost url. I don’t want to change here every time. so I tried to override using wp-config file.
issues is: it is not working on server. all the images are showing with localhost url