Forums

Change from dev URL to subdomain of client site w/out moving files (3 posts)

  1. joshkadis
    Member
    Posted 1 month ago #

    I've been working on a site for a client with a dedicated URL (let's stay http://www.devsite.com) and hosting plan during development. When it goes live, it be a subdomain of the client site (let's say site.client.com) but will stay on the same separate hosting plan. Here's what I think the steps should be, can anyone confirm that I'm planning this right? Many thanks.

    1. Set up DNS for site.client.com to point to the server where I've been doing the development.
    2. Set http://www.devsite.com permalinks to default.
    3. Change http://www.devsite.com WordPress address and blog address to site.client.com
    4. Find-replace http://www.devsite.com with site.client.com in MySQL database (backed up, of course)
    5. Site should now be working at site.client.com
    6. Log in and reset permalinks.

    Anything I'm missing or wrong about?

    Thanks!

  2. andrea_r
    Member
    Posted 1 month ago #

    Step #3 - that's in wp-config? Cuz you have to check in there too. :)

  3. joshkadis
    Member
    Posted 1 month ago #

    Oh yeah.

    I was thinking about Site Admin -> Blogs -> Edit Blog but I suppose that info is in wp_blogs and wp_[Blog ID]_options tables of the database so #4 would take care of all that.

    Thanks Andrea!!

Reply

You must log in to post.

About this Topic