To change your URL you need to access functions.php file using Shell on Linux Server, functions.php file will be available in your current active theme.

We assume here our active theme is Twentyfifteen in our WordPress Site

root@www1:~# clear
root@www1:~# cd /usr/share/nginx/html/wp-content/themes/t
twentyfifteen/ twentyfourteen/ twentythirteen/ 

root@www1:~# cd /usr/share/nginx/html/wp-content/themes/twentyfifteen/

root@www1:/usr/share/nginx/html/wp-content/themes/twentyfifteen# vi functions.php 
update_option('siteurl','');## add your URL by replacing here##
 * Twenty Fifteen functions and definitions


Recommended For You.

Featured Video Play Icon
Canonical Livepatch Service Apply critical kernel patches without rebooting