configure wordpress

0

I'm trying to upload a page made in wordpress to a host but when modifying in settings leave the wordpress installation on the server and the url will leave it on the localhost by mistake As in the image, I need to know in which file that configuration is found

    
asked by D4rk4ng3l 03.02.2018 в 23:26
source

1 answer

0

You find that in the database inside the table wp-options > siteurl and home, in your database editor or by means of command assign the url or otherwise insert in your functions.php:

update_option( 'siteurl', 'http://example.com' );
update_option( 'home', 'http://example.com' );

Or in your wp-config:

define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');
    
answered by 04.02.2018 в 00:26