This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

changing a domain name

11 years ago · Last reply by yurigoul 11 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

7
  1. yurigoul 11 years, 4 months ago

    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. yurigoul 11 years, 4 months ago

    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. Andrew Misplon Staff 11 years, 4 months ago

    Hi yurigoul

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

    All the best.

  4. yurigoul 11 years, 4 months ago

    And thank you for a wonderful plugin!

  5. Andrew Misplon Staff 11 years, 4 months ago

    For sure. We appreciate your support.

  6. dogeis 11 years, 1 month ago

    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. yurigoul 11 years, 1 month ago

    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.

Have a different question or issue?

Start New Thread