Make your CMS faster

Platform Optimised Hosting

Back to blog

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.

Changing Your 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:

define('WP_HOME','https://yourdomain.com');
define('WP_SITEURL','https://yourdomain.com');

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 …

 Changing Your WordPress Site URL through PHPmyadmin

Finally, we have a number of other articles written around the WordPress Content Management system which you may find useful on our blog

Did you know…

At Clook, one of our specialisms is providing WordPress hosting, if you’d like to find out more, please get in touch with us.


Carl Lipthorpe
Carl

Technical Support

Carl plays a crucial role in our Client Technical Support team, bringing extensive knowledge in migrations and DNS management. Carl's methodical approach ensures smooth transitions and seamless DNS configurations for our clients. Always ready to tackle complex challenges, Carl’s technical knowledge guarantees that even the most intricate migration projects are executed flawlessly.

@clookinternet