Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Is there any video to teach about how to upload wordpress site from local to hosting company like godaddy ?

I am making my own wordpress template and develop the site at localhost, however, I don't know how to upload the website to host company like godaddy, and it seems hard because it related to data base like php admin or something. I wish there is a video to explain the all steps, thanks you.

1 Answer

It's not hard at all, you need to understand the process and have the correct tools available.

First, I really hope you are not using godaddy for your hosting. if you are, I will highly suggest you change and use something like siteground or bluehost. Honestly godaddy, is horrible especially with WP sites as you will come across issues with Database name changes that will become an issue during the process that you want to do. Pushing to a live site.

The first thing is before you start this process always do a git pull, from your github repo. If you are not using github, Do it! it takes 10 minuets to learn and there is some simple software that works great. like sourceTree. So after you git pull meaning you have the latest code from your last commit there are several ways to do this.

  1. plugins: a) All in one Migration. If this is your first time doing this kinda thing I would suggest you download this plugin and use it. The process is you allow the plugin to copy a file of the WP build ie. export then on your live site go to import and drag and drop the downloaded file into the live site. refresh the permalinks twice and reset the cache and you should be good to go.

b) Migrate DB Pro: This is a great/the best plugin for migrating your database the only issue is that it costs. All you need to do is add the urls of the local and live and DB Pro handles the rest. you need to FTP the Frontend of the site though.

  1. there is also SSH. If you want look it up, but if this is your first time, I wouldn't worry about this for a bit, but you should be aware of the process.

If you need help on any of this, just let us know.