Not signed in (Sign In)

Categories

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

RecentTags

Vanilla 1.1.5a is a product of Lussumo. More Information: Documentation, Community Support.

This discussion has been inactive for longer than 90 days, and is thus closed.
    • CommentAuthorelmgator
    • CommentTimeOct 9th 2006
     permalink
    What is the best way to move a currently active blog from a subdirectory of my url to the root of my url. I have decided that the blog needs to be the "main event" on my site and it is time to do it. I suspect I need to update to the lastest release candidate and use the clone feature, but not sure if there is an easier way to just move it and change some config settings. Thanks in advance for suggestions!

    Eric
    • CommentAuthorDenis
    • CommentTimeOct 10th 2006
     permalinkBuy a Drink

    there is an easier way indeed, it can get tricky, so follow the steps exactly as listed below:

    1. be sure you have a backup of your database
    2. in options / general, change the site's home page and site url to the new location
    3. notice that you'll be logged out and that your site won't work at that point. do not worry about it
    4. move your files to their new location
    5. run the following query, with phpmyadmin for instance:

      update wp_posts set post_content = replace(post_content, 'old_url_goes_here', 'new_url_goes_here');

    and things should work fine from there.

    if anything crashes or seems to malfunction, shoot me an email (support at semiologic dot com) with your phpmyadmin details.

    Cheers, Denis


This discussion has been inactive for longer than 90 days, and is thus closed.