morning all, I have a doubt regarding these two defined I added last night to my site after getting locked out redirecting to another site I migrated by error:
define(‘WP\_HOME’,’http://example.com’);
define(‘WP\_SITEURL’,’http://example.com’);
The question is, I added those lines to my wp-config.php file, as I understood from other posts this will OVERRIDE the values that are on the database but not necessarily changing them. But then the question, even if it doesn’t replace them, If i go to the setting through the admin panel (seeing them greyed out) modify something like the tittle and save again, wouldn’t these values get taken to the database and eventually update them?
I ask this because i want to try removing those lines and have the database alligned, but my main issue is that I dont have access to the database on that site, just to the FTP.
Thanks in advance guys,
[ad_2]
Whatever those values are will be what is used when you make updates to the site and upload files.
Use the Better Search Replace plugin to fix the URLs in the database.