Answers for "wordpress address url accidentally changed"

SQL
0

wordpress address url accidentally changed

USE wp_database_name
UPDATE wp_options SET option_value="new_value" WHERE option_name="siteurl";
UPDATE wp_options SET option_value="new_value" WHERE option_name="home";
Posted by: Guest on June-26-2020
0

wordpress address url accidentally changed

// wp-content/theme_name/functions.php

update_option( 'siteurl', 'new_value' );
update_option( 'home', 'new_value' );

// wp-config.php

define( 'WP_HOME', 'new_value' );
define( 'WP_SITEURL', 'new_value' );
Posted by: Guest on June-26-2020

Code answers related to "wordpress address url accidentally changed"

Code answers related to "SQL"

Browse Popular Code Answers by Language