Changing Your WordPress Site URL
Firstly it’s worth noting that once you change your WordPress site URL the old one will stop working. Visitors will not be forwarded to the new site address unless you add web forwarding against the previous domain name.
3 Easy Ways to Change your WordPress Site URL…
1) Through the Admin Dashboard
The most common and simplest way to change your WordPress site URL is from the admin dashboard after logging in at wp-admin. On the left hand menu you should navigate to Settings > General. On the page that loads you will be presented with your Site Title, Tagline and then WordPress Address (URL) & Site Address (URL). You should change the address entered in these boxes and hit Save to complete the change of WordPress Site URL.
Once saved you may need to clear your cache otherwise you may encounter a redirect error.
2) By editing your WP Config File
Another option is to access your WP Config file and make the change there.
The file should be located within the directory of your WordPress site and can be accessed via FTP or via File Manager within cPanel. To hard code the WP_HOME and WP_SITEURL, add the following code towards the top of the file, changing ‘yourdomain.com’ to reflect your domain name:
Using this method will make option 1 unavailable through your WP Admin dashboard.
3) Through the Database via PHPMyAdmin
Another option available to change your WordPress Site URL is via PHPMyadmin which is located on your cPanel home page.
Once you have opened phpMyAdmin, click on your database from the left-hand menu, scroll down and click on ‘wpbr_options’. This opens up a section which includes ‘siteurl’ and ‘home’. It is these value that you should edit in order to change the WordPress Site URL …
Finally, we have a number of other articles written around the WordPress Content Management system which you may find useful on our blog…
Office Manager & Customer Account handler at Clook Internet. SEO Enthusiast & WordPress Web Developer in my spare time. Outside work I’m a supporter of Blackburn Rovers, like fast cars and watching fast bikes…