Support » Fixing WordPress » Change site address

  • Leaving the install location unchanged, I just changed the site address from [] to []/old.

    It appears to work fine, except that it’s still also available at [].

    Why? And what’s the fix?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator t-p


    have you followed this codex:


    Yes, I did read it – after I’d originally changed the url in the dashboard – and since trying the edit wp.config and functions suggestions things are now worse… can’t log-in, and the site is minus the css (although the source shows a location of /old).

    UPDATE: I was reluctant to get into the db, but having done so and edited accordingly things are now working again at the previous url.

    FURTHER UPDATE: This is here in the hope it may help someone else who gets a problem, because I’m not sure the codex is sufficiently clear, and the page mentioned above seems to contradict another at

    I’ve frequently changed the ‘public url’ of my installs by editing the ‘Site Address’ in ‘general settings’. If it’s then publishing into a directory, I then create that directory and copy into it the old index.php and .htaccess files and appropriately edit them to show the correct paths. I then remove those older index.php and .htaccess files from the root/whatever other folder it was publishing into. Things then work as they should – available at the new location and not at the old.

    My error this time was to forget to create the new folder and add the files and then remove the old ones as explained above.

    If this isn’t the correct way to do it, I’m happy to be told just how it should be done.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change site address’ is closed to new replies.