WordPress.org

Ready to get started?Download WordPress

Forums

Building a website, online vs offline? how are you do it? (11 posts)

  1. joni46
    Member
    Posted 1 year ago #

    hello everybody.
    I'm new on wordpress and i wondering what is the way that most of the people build their website.

    1. build it locally and then upload the final result to the network?
    2. put the website on hold with "coming soon" or other plugins and then working on a site directly on the server?

    I'd love to hear what is the way are you do it and maybe get some tips.
    Thanks in advance.

  2. I build on the server, and have a placeholder front page, when possible.

  3. pedjas
    Member
    Posted 1 year ago #

    I do all sites locally except if WordPress is used.

    My local development copies are run on local sever using virtual local domains so I can see both working version and version that is on site.

    That does not work with WordPress as it frequently stores domain in database so when you upload local version to remote site, and domain changes, whole site is wrecked.

    Thus, I have to do everything online and just make local backup copies that I do not run locally.

  4. That does not work with WordPress as it frequently stores domain in database so when you upload local version to remote site, and domain changes, whole site is wrecked.

    Acutally there's a very easy work around :)

    I made ipstenu.loc in my hosts file, and I built off of a local install using that. When I was ready to go live, I did a search/replace on my db for ipstenu.loc and changed to ipstenu.org before I uploaded the DB and files.

    Voila! No issues!

  5. joni46
    Member
    Posted 1 year ago #

    so when you want to get the site on air you just manually change the domain names and the links ?

  6. pedjas
    Member
    Posted 1 year ago #

    Ipstenu I do not see it as easy, and especially not as very easy workaround. O can handle it as I am experienced with WordPress database structure, and PHP/MySQL in general but I would not recommend everyone to go that way before good backup is created.

    I believe that is something that should not be an issue and everyone should be able to change his WordPress site domain.

  7. Well... A good backup goes without saying ;)

    joni46 - I export the DB, search/replace ipstenu.loc with ipstenu.org, and then upload to my 'real' site.

    But at the end of the day, HOW you change your site depends on your comfort level :)

  8. joni46
    Member
    Posted 1 year ago #

    thanks Ipstenu!
    what software do you work with to create the local hosts?

  9. MAMP.

  10. joni46
    Member
    Posted 1 year ago #

    on which file do you make the "domain name" change before you upload it?

    Thanks.

  11. /etc/hosts :)

Topic Closed

This topic has been closed to new replies.

About this Topic