Ready to get started?Download WordPress


How can I move my local WP installation and content to my domain? (8 posts)

  1. rperezmicheli
    Posted 4 years ago #

    I've searched and searched and found somewhat related articles and support topics.

    Here's my my situation:

    - I have a brand new domain with Yahoo.

    - I installed WP with Yahoo's 1-click install.

    - I decided to write my own theme, so I set up a local PHP server with MAMP (mac) and a local installation of WP in my laptop.

    - In addition to making my own theme, I went ahead and set up my content pages--uploaded a bunch of images and set up pages with image galleries. I entered titles and description for a ton of images.

    - I tried to simply upload everything into the "/blog" directory where the remote WP files were. It broke everything and All I saw was a blank page when visiting my domain/blog. I could still see the "Under Construction" plain HTML file if I went to my domain.com

    - I called Yahoo support and they helped me de-activate my WP blog using the web hosting control panel. It deleted everything. Now All there is in the remote directory is the plain HTML "Under Construction" page and a tmp folder.

    - I guess now I'm ready to take the necessary steps to move everything I have to my domain via FTP.

    - What steps do I take? Install through Yahoo again? Install it on my own by copying everything again?

    - One thing I've read about is about wp-config.php and that I have to edit it to include my domain instead of "http://localhost:8888".

  2. figaro
    Posted 4 years ago #

    Maybe the following video will help...in your case, you just reverse the process.


  3. rperezmicheli
    Posted 4 years ago #

    Looks very doable.

    If I reverse the process, It would mean that I would have to use the PHP myAdmin control panel remotely.

    How can I set that up? manually or through Yahoo?

  4. figaro
    Posted 4 years ago #

    It's already set-up at Yahoo...you should be able to access it through your hosting account.

  5. rperezmicheli
    Posted 4 years ago #

    Not having such great luck.

    + I can see my site.

    - No themes applied

    - Images are broken (they don't show up.

    - Worst of all, I lose access to the dashboard.

    + I can get to domain.com/blog/wp-login.php. I enter my information.

    - I get to a not found page at domain.com/wp-login.php

  6. rperezmicheli
    Posted 4 years ago #

    I think I did it!

    The video is right.

    But I had to experiment on my own because it seemed like I was halfway there.

    The content was showing--but no theme.

    I could see the login page, but after entering my credentials I went to a 404 page not found page.


    What I had to do:

    When I opened the exported database in a text editor (as the video says--and reversed) I had to run a Find & Replace. I had to replace "http://localhost:8888" with (in my case) "/blog".

    Let me repeat. "/blog"

    I started by replacing the string in question with "http://www.domain.com". Of course that didn't work. I kept trying several things until I found the right replacement for the string.

    Others may need to do this as well if their WP installation is in "domain.com/blog". Who know what else if it's in root or another folder.

    Just wanted to post this so others know how to do it.

    I spent some hours stumbling through it, but still not as much time as if I had to re-upload the content and set up all my pages, install plugins, etc.


    Oh, and BTW, I had to go to the Yahoo web hosting control panel and install the php myAdmin utility. It wasn't set up by default. Just FYI for others.

  7. Samuel Wood (Otto)
    Tech Ninja
    Posted 4 years ago #

    I had to replace "http://localhost:8888" with (in my case) "/blog".

    Bad idea. You should have replace it with "http://www.domain.com/blog". Why? Permalinks. When you start using non-default permalinks, then your relative links might not work anymore.

    In your particular case, you'll probably be okay. But in the future, remember that fully qualified links are your friend.

  8. figaro
    Posted 4 years ago #

    ...or replaced "localhost:8888" with "domain.com/blog"

    No need to go further back in the url and include http://www. or http://

    You could have both in various places in the db and if you replace on one, then you don't get the other...

Topic Closed

This topic has been closed to new replies.

About this Topic