WordPress.org

Ready to get started?Download WordPress

Forums

Changing WP1.5 to work on main domain (9 posts)

  1. c0y0te
    Member
    Posted 9 years ago #

    OK. I've installed and am very very happy with WP1.5 working on my website. I did this blog as a part of a larger experiment, but it's so good I'm thinking of replacing my main website with the blog itself.

    Right now I've installed the blog on http://www.avalon5.com/blog and it's working fine. If I now wanted to change it such that my blog is actually my main website (e.g. http://www.avalon5.com) - is this just a quick config change or am I destined to uninstall and reinstall it again only this time choosing the correct domain?

    Thanks in advance.

    Oh yeah - serious kudos to the developers behind this software. I'm mighty impressed with it's capability, structure and expandability. So much so that I'm abandoning my idea to install and configure a CMS engine in preference for this solution instead :)

  2. All you have to do is move the WordPress files and change the siteurl and home values in the database.

    http://www.tamba2.org.uk/wordpress/site-url/

  3. carthik
    Member
    Posted 9 years ago #

    Actually you can do the following:
    1) Login as admin and change the "WordPress Address" and "Blog address" to the new values.
    2) Move the files to the new location (corresponding to that specified in step 1 above).

    That's it! That will work for sure. I have tried it and used it thrice.

  4. prissed
    Member
    Posted 9 years ago #

    And remember, you have to do it in the order carthik listed, otherwise, you'll end up having to manually edit the database to change the urls. :)

  5. Kafkaesqui

    Posted 9 years ago #

    Actually, if one changed step 2 to "Copy the files to the new location," you can switch the steps (and cause little to no interruption in blog acccess for visitors), but should add a further one:

    3) Delete the files from the old location/directories.

  6. RosieMBanks
    Member
    Posted 9 years ago #

    Forgive me, but I am confused.

    In the Options tab of the Dashboard, there are two boxes where I may enter address values. My current settings are:

    WordPress address (URI): http://www.mysite.com/wordpress
    Blog address (URI): http://www.mysite.com/wordpress

    The instructions tell me "If you want your blog homepage to be different than the directory you installed WordPress in, enter that address here." (It seemed so easy!)

    Once I finished configuring my blog, I was going to type in "http://www.mysite.com" to the Blog Address field and be done with it (or so I thought).

    If I type the main address in, am I doomed to have to go mucking about in the database to reset everything? My host doesn't have Myphpadmin installed. There is a MySQL manager of some sort on my control panel, but it gives me a terminal screen and I don't know what to type into it.

  7. prissed
    Member
    Posted 9 years ago #

    You are correct. In those two boxes in the WP Admin, change the URL to yoursite.com

    When you do this it will break your site, but the settings will be changed in the db.

    Once the db changes are made, THEN, move (or as Kafkaesqui suggested, copy) the files to the main public_html directory.

    Once the files are moved (or copied) it'll bring your site back up as if nothing happened. :)

  8. c0y0te
    Member
    Posted 9 years ago #

    Thats superb lads - thanks for the info.

    c0y0te

  9. c0y0te
    Member
    Posted 9 years ago #

    Made the change this morning. Thanks for the info folks - it worked perfectly (as far as I can tell anyway!).

    "Howl @ the Moon" now resides at http://www.avalon5.com

    Coyote

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.