Support » Installing WordPress » Switching Domain Names But Keeping Content

  • I have a wordpress blog but I would like to change the name of my website, how do I move a blog from to without losing any content, comments, etc?

Viewing 15 replies - 1 through 15 (of 15 total)
  • Have a look at Moving_WordPress in the docs section of the site.

    I don’t want to switch servers I want to switch domains and that doc does not address switching domains




    switching domains is a dns issue.

    furthermore, that doc does address it, since part of moving wordpress includes changing your 2 urls.. one of which is directly tied to what domain is being used.

    if you stay with your same host, they host the domain, they tell you where the files for that domain go — you move the files — change the settings.

    blah blah ..

    If they set it up so that your new domain uses the same directory (that would only work if the other domain wasnt being used) that houses your current install’s files.. then you leave off moving the files, and just change the url.

    Its not THAT hard, and that doc does apply.

    Can someone more helpful perhaps with less attitude please help me on this issue. I was under the impression that support forums were mainly for those who were not advanced users so “blah blah blah” isn’t helpful. I am new at wordpress and would like to transfer my site to a new domain. I use bluehost and bluehost support told me to come here for guidance so can some please HELP me.




    Volunteer Moderator

    KD22, if you read the document, as HandySolo, moderator, and whooami, long-time expert volunteer, have told you to do, you’d read further down that if you want to change domain names you have to follow certain steps including going into database to make changes – and that’s the blah blah. Just read the document linked.

    Its really quite simple once you’ve learned how to configure it. If you plan on keeping the same database, just disable all of your plugins, and login to your blog, go to the settings page and change the Blog URL and WordPress URL to, then copy all of your files from directoryA to directoryB. If you forget to change the Blog URL before you transfer you can do so through PHPMyAdmin. That’s kind of it in a nutshell(hope I didn’t forget anything). The article HandySolo linked to will probably help clear up some things from my description. If you plan on switching databases… that’s another topic, so I’m not going to go there unless I have to. 🙂

    I went into settings to change the url and domain and then this message showed up:

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
    Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8g DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/ Server at Port 80

    I don’t know what that means or how to undo it I just know it’s stuck that way and whenever I try to access my old domain or my new one that appears

    There are lots of different things which can cause an Internal Server Error. Usually its a misconfiguration/problem in your .htaccess file, but not always.
    Try renaming your .htaccess file (This is a hidden file, so you will have to have hidden files enabled in order to take care of it. If you aren’t sure how to do that, check your ftp program or contact Bluehost to show you how to do it with the File Manager). If there is a problem in that file, renaming it may fix it… if it doesn’t, you can always rename it right back again, or look to the old .htaccess for errors.
    Also check the version of PHP you are running, try PHP5, or PHP5 Fast CGI and see which one works best.
    There are lots of other things which it could be, but Bluehost support could help you with those.

    Once I moved my files from the old domain to the new the website seemed to function fine except the task bar still said the old name. Bluehost said to change the domain in phpmyadmin by selecting wp_options but once I select wp_options I have no idea what to do to change the domain. It is not clear, there are just a bunch of tables. Can any one explain how to change the domain please?

    In phpmyadmin select wp_options, then click “Browse”, then “option_name” section, find the table named “siteurl” and make sure it is set to the proper URL, then go to the second page and find the table named “home” and make sure this, too, is set to the proper URL.

    I am sort of in the same boat as this guy. My problem is, that once I have my database copied to my new domain, I go into wordress and change the url to my new domain, change the url and home (in my database) to my new domain, and my blog does appear, however, if you click on any of the links, posts, etc, it goes directly to an error page. What am I missing?

    Hmmm, I checked everything Bernard said and it was all set to the correct domain yet whenever I go to my new domain the old site name still appears in the task bar. Is there anything else I should make sure was changed?

    Empty your browser cache might help for starters. Did you check the path? Doest it go to e.g. Is the path correct in PhpMyAdmin too? identical in all cases, as described above? home and site url?

    I searched through the tables and found one that still said the old domain and everything works fine for now. Thanks!

    Always happy to be of service

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Switching Domain Names But Keeping Content’ is closed to new replies.