How to update site URL or home URL without phpmyadmin page access?
Update via wp-config.php
1 2 | define( 'WP_HOME' , 'http://www.example.local' ); define( 'WP_SITEURL' , 'http://www.example.local' ); |
Update via functions.php
1 2 | update_option( 'siteurl' , 'http://www.example.local' ); update_option( 'home' , 'http://www.example.local' ); |