How can we change Wordpress site URL and home URL in Wordpress?

bhawanisingh

Administrator
Staff member
Wordpress site URL and home URL are both important to access your wordpress website.

Wordpress site URL : This is the address when visitor type in browser to access your website. For example: Your domain name is mydomain.com then your site URL is http://mydomain.com.

Wordpress URL : It is a address of your Wordpress core files, as if you have put your files in separate folder then you have to change Wordpress URL. For example: If you have install Wordpress in “website” folder then your URL will be http:// mydomain.com/website/wp-admin. And your Site URL is http:// mydomain.com/website.

Let’s see steps to change both URL in Wordpress if you need it:
  • Login to Wordpress admin panel.
  • Click on “Settings” option in left side corner and then click on “General”.
  • You can enter the new URL and then click on “Save changes”.

You can also change both URL from database and wp-config.php file too. But this is the simplest option to change your Wordpress URL.
 
Top