- Get link
- X
- Other Apps
your website running on same server with ( NGINX and mysql php fpm 7)
you dont need to re upload complete website
same server you have all access of old website files and database
now you need to change a only configuration
in WordPress defined site url and home url you can change from database or wp-config.php file
wp-config file change domain URL
define( 'WP_HOME', 'http://example.com' );
define( 'WP_SITEURL', 'http://example.com' );
now you need to set host name -> /etc/hosts
ip url
need to change in nginx sites-available configuration file change server name
then reload a nginx server
sudo systemctl reload nginx
you dont need to re upload complete website
same server you have all access of old website files and database
now you need to change a only configuration
in WordPress defined site url and home url you can change from database or wp-config.php file
wp-config file change domain URL
define( 'WP_HOME', 'http://example.com' );
define( 'WP_SITEURL', 'http://example.com' );
now you need to set host name -> /etc/hosts
ip url
need to change in nginx sites-available configuration file change server name
then reload a nginx server
sudo systemctl reload nginx
This comment has been removed by the author.
ReplyDelete