changing the wordpress base url

I have switched this blog from to as I was finally able to obtain my preferred Domain.

In the process I had to change the wordpress base URL, which proved quite painful.

First I chose to edit wp-config.php which let the page load but not the CSS and JS for it. Then I opened the settings in wp-admin, went to the “General” section, commented out these two lines in wp-config.php, reloaded the settings page and edited the two url fields manually.

Only after saving this my site would show up correctly.