Install or Move your wordpress blog to live host in 7 Easy Step
It always had been a pain for a developer to migrate project from one environment to another and with php and static web site which can’t be bundle it like war, dll and exe.
3 years back I use to be a freelance web developer, primarily working with wordpress. When I use complete project and hand it over to client I have sit long hour and support them over remote and phone to make there site live and client don’t want to share there live credential with a freelance(why would they anyway). Then wrote this post and use to give them this doc.
Now there are better way to do this like docker and other. But with small business manually migrating website is the only way.
Step 1. At your hosting server install wordpress. I am using my cpanel godady.
Now wordpress ready with default theme and with Hello Post.
Step 2. Go to your local database or database client in my case I am using phpMyAdmin to connect my database. Then Select your wordpress database and select export option. And you will get a SQL script file like your_database_name.sql
Step 3. Now open the sql file in any of your preferred text editor I am using SciTE but even Notepad will work then open find and replace and replace all localhost address to your site address. Like in this case http://localhost/sam to http://www.get24sevensupport.com
Step 4. Go to hosting database and select all wordpress table by Check All checkbox then select Drop option from the dropdown menu.
Step 5. A confirmation screen will appear onto your with name (or drop table sql) of all the table to drop. then press Yes
All of your wordpress data is moved. Now it’s time to move all of media and themes content to live server.
Step 6. Now connect to your FTP Account via a FTP Client your can use any client you like I am using FileZila. You can even access your FTP via cpanel’s file manger (if your got one in your cpanel). Open the folder www or public_html and their you will get a folder name wp-content. Now delete that folder and upload your local wp-content folder to web host.
Note: With FileZila delete wp-content on the right and drag and drop wp-content from left to right.
Step 7. Now got to your browser and open your web site and your are done.
For any concern and queries comment below
Subscribe to this blog via RSS.