Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

[-]
Tags
to wordpress move localhost wamp site internet how

TUTORIAL- How To Move A WordPress Site From LocalHost WAMP to Internet
#1
Better response on post How To Move A WordPress Site From LocalHost WAMP to InternetHere is a run down on the various stages we are going to go through in order to successfully move our wordpress site or blog to the internet from WAMP.

moving wordpress from WAMP to the internet
Changing URL
We need to change the URL of our wordpress site from wordpress dashboard so that after moving our site, it would successfully load when we visit the domain we purchased from the webhost. Follow the below steps to achieve that.

1. Once logged into your wordpress dashboard which is loaded from localhost WAMP server on your PC, click on Setting > General from the left sidebar.

Go to wordpress settings
2. On the page that loads up, change the WordPress Address and Site Address you can find to your already purchased domain. In my case, i’m changing http://jtrends/pf to http://www.jdtrendz.com . Then Click on Save Changes at the bottom of the page.

Changing the URL
After you must have done this, your site would no longer be accessible via the former URL on your PC (Might load up, but not correctly with the theme and other settings). Don’t worry, that’s what we need.

Backing up and Restoring the WordPress Files
Now it’s time to move your site files to your web server, firstly you have to compress your wordpress site into an archive so you could easily upload it to your servers.

3. You should know your way around your WAMP installation folder. I installed my wordpress site in D:\wamp\www\pf .

Go to your wordpress installation folder, select all files and compress to an archive using 7zip, preferably a .tar file.
compressing using 7zip
Uploading to Server

4. Create an FTP account on your webhost cPanel server and upload the file to the domain directory. If the domain is not an addon domain, you must likely would have to upload the compressed file to public_html directory.

Note: Make sure you delete all files in this directory. Then extract or uncompress your uploaded file here by Right clicking on your upload and click on Extract from cPanel’s File Manager.

Backing Up and Restoring the WordPress Database
Now it’s time to backup your blog’s database. I’m assuming you know the database name you installed your wordpress site to on your pc. Follow the below steps to grab a copy of the database.

5. Visit http://localhost/phpmyadmin on your browser to access phpMyAdmin. Then select the wordpress’ database from the left sidebar.

6. Click on the Export tab, then click on Go to export the database to your pc.
Exporting a database
Creating and Importing the Database into your webserver

7. Now log in to your cPanel’s dashboard, create a new MySQL database, User and connect the user to the database.

8. In your web-server’s cPanel, click on phpMyAdmin, and locate the new database you just created from the left sidebar, click on Import, click on browse your computer to select the sql file you backedup earlier, then click on Go at the bottom of the page to initiate the upload process.
importing the database

9. Here’s what you get after a successful database upload. Now it’s time to link the already uploaded wordpress files to this MySQL database.
mysql upload successful
Connecting WordPress To New Database

10. Launch File Manager via cPanel, and navigate to the directory where you uploaded your wordpress file earlier (most likely the public_html path if the domain isn’t an addon to your hosting plan).

11. Edit the wp-config.php file and replace the database name, database user and password with the details you created while setting up the fresh database, then save.
Replace DB


Load your live domain URL and your website should be live over the internet.
#2
Nice tutorial
Do you want to purchase credits? Click here!
  


Possibly Related Threads...
ThreadAuthor Replies Views Last Post
  HELP: How To Clone A Wordpress Theme adegoldop6 0 26 03-27-2018, 07:45 AM
Last Post: adegoldop6
  MUST READ: Levels Of The Web/internet sholasunshine 0 138 10-20-2017, 09:19 AM
Last Post: sholasunshine
  15 Ways To Secure Your Wordpress Site James 0 132 10-11-2017, 01:01 PM
Last Post: James
  MUST READ: Wordpress Versoin 4.8 To Be Released. sholasunshine 0 103 10-07-2017, 03:38 PM
Last Post: sholasunshine
  TUTORIAL: How To Code/clone A Wordpress Theme? major 12 289 10-02-2017, 03:47 PM
Last Post: major
  How To Know Wordpress Theme A Site Is Using starkit 2 121 10-02-2017, 08:57 AM
Last Post: Pedro
  TUTORIAL: How To Remove The http:// Onclkds.com ad virus From Your Wordpress Site Pedro 2 640 09-19-2017, 07:41 AM
Last Post: cyberhope
  TUTORIAL: How To Know Any Wordpress Theme A Site Is Using? Plus 2 191 09-12-2017, 11:06 AM
Last Post: sholasunshine



Users browsing this thread:
1 Guest(s)

List of Users who browsed this thread: Adewunmi002, Gift, pixblog, remiproxy, SkyLord, Sulaimon, tyroklone
How To Move A WordPress Site From LocalHost WAMP to Internet00