Support » Networking WordPress » Building a website, online vs offline? how are you do it?

  • 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.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

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

    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.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    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!

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

    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.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    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 🙂

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

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    MAMP.

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

    Thanks.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    /etc/hosts 🙂

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Building a website, online vs offline? how are you do it?’ is closed to new replies.