Home>Support>changing a domain name

changing a domain name

By yurigoul, 10 years ago. Last reply by yurigoul, 10 years ago.
Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi,

I changed my domain name from a development subdomain (dev2.mysite.com) to my main domain. I did a mysql export, changed all references to dev2.mysite.com to www.mysite.com and after an import all content is there – the only thing is that it is no longer in pagebuilder, but directly in the content field – which messes up the layout in an enormous way.

Is there any way this can be reversed? Is there file somewhere where this is stored and where I can simple change a setting? Because it is the same website, I merely changed the name of the folder (and did the database thing of course).

Only today I read about the problem regarding import export with page builder, otherwise I would have done it all different :-)

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 8 months ago yurigoul

    The thing is: I’m looking at the database and the only thing I can see is that all the data is there in the postmeta table, pointing to the right post. So I am wondering what I am missing? I’m looking for a switch I can turn, or a search and replace or some grep thing I can do.

  2. 10 years, 8 months ago yurigoul

    Ok I solved it using the hack from ‘Mike’ (you might remember – note that the line numbers have changed a bit in WP 4) – And I already tested that opening and saving all my posts brings everything back to normal, which means that I can then remove the hack after I am done. :-)

  3. 10 years, 8 months ago Andrew Misplon
    Hi, I Work Here

    Hi yurigoul

    Glad you managed to resolve. Thanks for sharing your solution with everyone.

    All the best.

  4. 10 years, 8 months ago yurigoul

    And thank you for a wonderful plugin!

  5. 10 years, 8 months ago Andrew Misplon
    Hi, I Work Here

    For sure. We appreciate your support.

  6. 10 years, 6 months ago dogeis

    Hi yurigoul,
    I´ve got the same Problem – and I´m glad there is a solution…
    But what is this “Hack from Mike”? Is there a Link?
    Thanks :)

  7. 10 years, 6 months ago yurigoul

    Here:

    Thread: Migration from local to server

    (Note that the linenumbers have changed)

    Before doing it make a backup of functions.php

    If your site looks the way it was before after the change, then open and save your posts and pages. It might be that you have to make a change, like adding a space somewhere or to copy widgets to a new container and back to make it really register that it is a save.

    Then undo the change in the functions.php with the backup. Everything should still be ok.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More