Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Move WordPress From Local Server to Live Site (2 Methods)

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Many WordPress users prefer to work on their websites using a local server on their computer before transferring it to a live hosting server.

It allows you to work on your website privately before making those changes available online.

Eventually, you’ll need to move it to a live server to make it available for online visitors.

In this article, we will show you step-by-step instructions on how to move WordPress from a local server to a live site.

How to move WordPress from local server to live site (2 methods)

Why Move WordPress From a Local Server to a Live Site?

Building your WordPress blog on a local server is a safe way to test changes on your website without affecting visitors.

When you have finished perfecting your website, the next step is to move from your local server to a live site.

Let’s show you two ways to move your site from a local server to a live site.

The first method uses a WordPress migration plugin and is recommended for beginners.

In the second method, we will show you how to manually move WordPress from a local server to a live site.

You can choose the method that works best for you:

Before You Migrate Your WordPress Site

To migrate WordPress from a local server to a live server, you need to have a few things in place.

First, we are assuming that you have a WordPress site running on a local server (also called localhost) on your computer and you have full access to it.

Next, you’ll need to have a domain name and web hosting.

To make your decision easier, we recommend using Bluehost. They are an officially recommended WordPress hosting company, and they are giving WPBeginner users an exclusive discount + free domain and SSL.

Basically, you can get started for as little as $1.99 per month.

If you want a great Bluehost alternative, you can look at Hostinger. They are also offering an exclusive discount to WPBeginner users with a free domain name.

If you can afford to pay a little more, then check out SiteGround. They also have a special deal for WPBeginner readers.

If you need help setting up your website, then follow our step-by-step guide on how to make a website.

Finally, you will need an FTP program and know how to use FTP to upload your local server site to the live site.

Ready? Let’s begin migrating your WordPress site.

Video Tutorial

Subscribe to WPBeginner

If you’d prefer written instructions, then just keep reading.

Method 1: Transfer WordPress From The Local Server to Live Site Using a Migration Plugin (Recommended)

This method is easier and recommended for beginners. We will be using a WordPress migration plugin to move WordPress from localhost to a live site.

Step 1: Install and Set Up the Duplicator Plugin

First, you need to install and activate the Duplicator plugin on your local site. For more details, see our step-by-step guide on how to install a WordPress plugin.

Pro Tip: There is also a pro version of Duplicator that offers secure backups, cloud storage, easy site restore, and more.

Upon activation, you need to go to the Duplicator » Packages page and click on the ‘Create New’ button.

Create new package for migration

This brings you to a screen where you can give your backup a name.

Then, click the ‘Next’ button.

Name backup package

Duplicator will now run some tests to see if everything is in order.

If all items are marked ‘Good’, then click on the ‘Build’ button.

Build package

This process may take a few minutes, depending on the size of your website. You need to leave this tab open until the process is complete.

Once finished, you’ll see download options for ‘Installer’ and ‘Archive’ packages. You need to click on the ‘One-Click Download’ link to download both files to your computer.

Download package files

The ‘Archive’ file is a complete copy of your WordPress site. It includes all WordPress core files as well as your images, uploads, themes, plugins, and a backup of your WordPress database.

The ‘Installer’ file is a script that will automate the entire migration process by unpacking the archive file containing your website.

Step 2: Create a Database for Your Live WordPress Website

Before you can run the installer or upload the WordPress website from localhost to your hosting server, you need to create a MySQL database for your new live website.

If you have already created a MySQL database, then you can skip this step.

To create a database, you need to visit your hosting account’s cPanel dashboard. Then, locate the ‘Databases’ section and click on the ‘MySQL Database Wizard’ icon.

MySQL Database Wizard

On the next screen, there’s a field to create a new database.

Simply provide a name for your database and click on the ‘Create Database’ button.

Name new database

cPanel will now create a new database for you.

After that, you need to enter a username and password for your new user and then click the ‘Create User’ button.

Create new database user

Next, you need to add the user you just created to the database.

First, click the ‘All Privileges’ checkbox.

Check all privileges

Then, scroll down and click the ‘Make Changes’ button to save your changes.

Your database is now ready to be used with your WordPress site. Make sure to note down the database name, username, and password. You’ll need this information in the next step.

Step 3: Upload Files from Local Server to Live WordPress Website

Now, you need to upload the archive and installer files from your local site to your hosting account.

First, connect to your live site using an FTP client. Once connected, make sure that the root directory of your website is completely empty.

Normally, the root directory is the /home/public_html/ folder.

Some WordPress hosting companies automatically install WordPress when you sign up. If you have WordPress files there, then you need to delete them.

After that, you can upload the archive.zip and installer.php files from Duplicator to your empty root directory.

Upload archive and installer files

Step 4: Running the Migration Script

After you have uploaded the migration files, you need to visit the following URL in your browser:

http://example.com/installer.php

Don’t forget to replace ‘example.com’ with your own domain name.

This will launch the Duplicator migration wizard.

The installer will run a few tests and will initialize the script.

Duplicator migration wizard step 1

Under the Setup section, you will be asked to enter your MySQL host, database name, username, and password.

Your host will likely be localhost. After that, you will enter the details of the database you created in the earlier step.

Then, click on the ‘Validate’ button to make sure the details you entered are correct.

Validate settings

After that, click on the ‘Next’ button to continue.

Duplicator will now import your WordPress database backup from the archive into your new database.

It will also update URLs pointing to the local site to your new live site.

You can now click on the ‘Admin Login’ button to enter the WordPress admin area of your live site.

Admin login

Once you log in to your live site, Duplicator will automatically clean up the installation files.

That’s all. You have successfully moved WordPress from the local server to your live site.

Method 2: Manually Transfer WordPress From the Local Server to the Live Site

In this method, we will show you how to manually move WordPress from the local server to your live site. It will be useful if the first method doesn’t work or if you prefer to do it manually.

Step 1: Export Local WordPress Database

The first thing you need to do is export your local WordPress database. We will be using phpMyAdmin to do that.

If you are unfamiliar with it, then you might want to take a look at our guide to WordPress database management using phpMyAdmin.

Simply go to http://localhost/phpmyadmin/ and click on your WordPress database. Next, click on the ‘Export’ button from the top menu bar.

Export from localhost

In the ‘Export method:’ option, you can choose ‘Quick’ or ‘Custom’. Custom will provide you with more options to export your database.

But we recommend choosing ‘Quick’ and then clicking the ‘Go’ button to download your database.

Export WordPress database using phpMyAdmin

Step 2: Upload WordPress Files to Live Site

Now, we will need to move all your website files to the live site.

To get started, go ahead and open your FTP client and connect to your web hosting account.

Once you are connected to your live site, make sure you upload the files in the right directory. For example, if you want the site to be hosted on ‘yoursite.com’, then you will want to upload all the files in your public_html directory.

Now select your local WordPress files and upload them to your live server.

Upload WordPress files FTP

Step 3: Create a MySQL Database on Your Live Site

While your FTP client is uploading your WordPress files, you can start importing your database to the live server.

Most WordPress hosting providers offer cPanel to manage your hosting account, so we will show you how to create a database using cPanel.

First, you need to log in to your cPanel dashboard and click on the ‘MySQL Database Wizard’ icon, which can be found in the ‘Databases’ section.

Select MySQL database wizard

On the next screen, you can create a new database.

You need to provide a name for your database, then click ‘Create Database’.

Name and create new database

cPanel will now automatically create a new database for you.

Next, you need to enter a username and password for your new user, and then click ‘Create User’.

Create new database user

After that, you need to add the user you just created to the database.

First, check the ‘All Privileges’ checkbox.

Check all privileges checkbox

Then, scroll down and click ‘Make Changes’ to save your changes.

You’ve successfully created a new database for your live WordPress site.

Step 4: Import WordPress Database to Live Site

The next step in the process is to import your WordPress database.

Go to your cPanel dashboard, scroll down to the ‘Databases’ section, and click on ‘phpMyAdmin’.

Click on phpMyAdmin

This will take you to phpMyAdmin, where you want to click on the database you just created above. phpMyAdmin will show your new database with no tables.

Next, click on the ‘Import’ tab in the top menu. On the import page, click on the ‘Choose File’ button and then select the database file from the local site you saved in the first step.

Import database via phpMyAdmin

After that, click the ‘Go’ button at the bottom of the page. Your database will automatically be imported to phpMyadmin.

Step 5: Change the Site URL

Now, you need to change the site URL in your database so that it will connect with your live WordPress site.

In phpMyAdmin, look for the wp_options table in your database that you just imported above.

If you changed your database prefix, then instead of wp_options, it might be {new_prefix}_options.

Next, click on the ‘Browse’ button next to wp_options. Or, click the link in the sidebar to open up the page that has a list of fields within the wp_options table.

Browse the wp options table

Then, in the options_name column, you need to look for the siteurl option.

Then, click the ‘Edit’ icon.

Edit siteurl in phpMyAdmin

This brings up a window where you can edit the field.

In the input box for option_value, you’ll see the URL of your local install, which will be something like http://localhost/test.

You need to insert your new site URL in this field, for example: https://www.wpbeginner.com.

Then, you can save the field by clicking the ‘Go’ button.

edit the siteurl field

Next, you need to follow the same steps as above for the home option name. The wp_options menu can be a few pages long. Usually, the home option will be on the second page.

Then, update the home URL, so it’s the same as your live site URL.

Step 6: Set Up Your Live Site

Now that you’ve imported the database and uploaded your content, it’s time to configure WordPress.

At this time, your site should be showing an ‘Error establishing a database connection‘ error.

To fix this, connect to your website using an FTP client and open up the wp-config.php file.

You’ll be looking for the following lines of code:

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'database_name_here' );
/** MySQL database username */
define( 'DB_USER', 'username_here' );
/** MySQL database password */
define( 'DB_PASSWORD', 'password_here' );
/** MySQL hostname */
define( 'DB_HOST', 'localhost' );

You will need to provide the database name, username, and password you created earlier.

Next, save the wp-config.php file and upload it back to your WordPress hosting server.

Now, when you visit your website, it should be live.

After that, you need to log in to your WordPress admin panel and go to the Settings » General. Then, without changing anything, scroll to the bottom and click the ‘Save Changes’ button.

Save general settings

This will make sure that your site URL is corrected anywhere else that it needs to be.

Once you’ve done that, go to Settings » Permalinks, then scroll down and click ‘Save Changes’ to ensure that all post links are working fine.

Save permalinks settings

Whenever you are moving a WordPress site from one domain to another or from a local server to a live site, you’ll face broken links and missing images.

A simple way to update the URLs is by using the following SQL query:

UPDATE wp_posts SET post_content = REPLACE(post_content, 'localhost/test/', 'www.yourlivesite.com/');

Simply go to phpMyAdmin, click on your database, and then click on ‘SQL’ from the top menu and add the query above.

Make sure you change it to your own local site and live site URLs and click the ‘Go’ button.

Fixing WordPress images and broken URLs after moving to live site

That’s it. You have now successfully migrated WordPress from your local server to a live site.

Hopefully, your live website is up and running smoothly. If you notice any errors, then you can check out our guide to common WordPress errors for help with troubleshooting.

We hope this article helped you move WordPress from a local server to a live site. You may also want to see our guide on how to create an email newsletter the right way or see our comparison of the best GoDaddy hosting alternatives.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

909 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Thembi says

    Hi guys tearing my hair out. Original site on local server works well on local server. The live site on the remote server works well on the live server. When I move it to the local host it gives me this php error when installing plugins… i have read all blogs and issue not resolved for me. I tried both the duplicator and manual process but still get this php error :(

    Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in C:\wamp\www\missflairword\wp-includes\update.php on line 457

    • WPBeginner Support says

      Seems like your localhost install is unable to connect to the internet. This could happen if Apache is blocked by your network’s firewall. You need to allow apache access to the internet from your windows firewall settings.

      Admin

  3. Checo says

    Wow guys, this Tutorial was excellent, precise and very well detailed!!! Thank you very much, you helped me publish my first locally developed wordpress site right on the deadline without any mistakes. Best regards!

  4. Sam says

    someone should tell me when you see a better word for Genius, because that is what you guys are. your tutorials has made me a lil’genius.

    Thanks guys

  5. Silvia says

    Your tut is the best! I tried several times before and never was able to do it until now! genius! thanks!

  6. Angela says

    What a LIFESAVER! I tried several other peoples suggestions and different plug-ins that are supposed to make it easy… Nothing worked until this! Thank you!

  7. Ken says

    I’ve followed all the steps given. When I access the live site I get everything I can without changing the media URLs.
    I can’t do that yet because I can’t login to the admin area. i get the following errors on the screen above the login box and valid logins are not accepted (checked with myPHP):

    Warning: session_start(): Cannot send session cookie – headers already sent by (output started at /home/cgbookss/public_html/wp-includes/functions.php:1) in /home/cgbookss/public_html/wp-content/plugins/event-commerce-wp-event-calendar/evntgen-scbooking.php on line 519

    Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/cgbookss/public_html/wp-includes/functions.php:1) in /home/cgbookss/public_html/wp-content/plugins/event-commerce-wp-event-calendar/evntgen-scbooking.php on line 519

    Warning: Cannot modify header information – headers already sent by (output started at /home/cgbookss/public_html/wp-includes/functions.php:1) in /home/cgbookss/public_html/wp-login.php on line 424

    Warning: Cannot modify header information – headers already sent by (output started at /home/cgbookss/public_html/wp-includes/functions.php:1) in /home/cgbookss/public_html/wp-login.php on line 437

    Have you any suggestions?

  8. geoff says

    can’t seem to get the phpmyadmin to work locally. you seem to haven’t put that in, and the link you have provided to “explain” how to use the phpmyadmin, refers to that running on c panel not locally.
    it would be good if you could explain, running phpmyadmin locally, through webmatrix for explain.

  9. rodrigo says

    Was a great help, this tutorial. I had some 500 server errors fixed after editing the htaccess.php file. But I still have no access to the wp-admin dashboard? Anyone got the same emptiness on the backend link? what could be the fix?

  10. Charlie says

    I have the same exact issue. Trying to find a solution for this but it seems like one isn’t mentioned here on this page, or in the comments.

  11. hokka says

    I have troubles with my new site address. Everything else seems to work just fine.

    In phpmyadmin if I change the siteurl to direct the site to the correct subfolder, the website content disappears when the “home” option value is correct. Then again if I also change my home-value into the same address as the files are in, meaning the same address as siteurl, then I see the content but the address is not what I wanted it to be. I’ve also tried to use Velvet Blues -plugin but nothing happened.

    In my case the WordPress url is different from website url, so basically the changes won’t affect in admin panel Settings.

    Thanks for this great tutorial.

  12. JulioC says

    Not sure if was very lucky but in my case I followed all steps and everything worked perfect!!!

    Thanks a lot!

  13. WPBeginner Staff says

    The other part of making backups is restoring your sites from backups. cPanel does not make that part easy. Configurations may differ from one site to another. Sometimes user may even want to move to a web host that does not offer cPanel. For more advanced users who can troubleshoot these issues, cPanel backups can be a good option. But for most beginners it can be difficult. There are other backup options as well, take a look at our pick of 7 Best WordPress Backup plugins.

  14. Joey says

    BackupBuddy seems to be a bit of an overpriced option when you can simply back up a WP site via Cpanel … are there any other benefits for using BackupBuddy when backing up via Cpanel is easy and free?

  15. jeroen says

    Hi, I’m still struggling withe the migration of my local hosted WP multisite to a webserver. Replaced all the urls’s as far as I can tell but still the navigation doens’t work. Ik can enter the root which shows the homepage correctle but clicking a navigation link I get this error.
    “Not Found
    The requested URL /index.php was not found on this server.”

    Although the paths of the menu links(shown on hover) look fine. Any Idea where to go look to solve this? Thanks in advance.

  16. Tim says

    After importing the database, I tried to do step 5. However, when I click on wp_options, i do not have an edit spot. It says “current selection does not contain a unique column. Grid edit, checkbox, edit, copy and delete features are not available.”
    Why is this happening?
    Thank you

  17. WPBeginner Staff says

    You can find out your live site’s database information by vising phpMyAdmin through cpanel. Notice the database name, mysql host, mysql username, and password and then fill in that information in your live site’s wp-config.php file.

    On your local site go to localhost/phpmyadmin/ to find out the correct database name.

  18. allison ranieri says

    I completed all the steps and now my live site just says Error Establishing database connection and I cannot access my localhost at all – it is just a white screen. When in Step 6 it said to change your config.php file I accidentally changed the info in my local config file instead of the one updated through MySql but I figured that one out and changed the info back in my local file to what I thought it was before, but now when I go to localhost/wordpress (where I had previously gone before) it just shows a white screen. And my live site says Error Establishing Database Connection. So confused. Any help would be lovely.

  19. Prabhjot kaur says

    I want to ask something as if i upload my site as a live site then edit link will appear or not ?that are already shown in localserver.

  20. Enoch Ramal says

    Almost there but I get this…

    Parse error: syntax error, unexpected ‘define’ (T_STRING) in /home/klbensonsk/public_html/wp-config.php on line 31

  21. vanyoattila says

    Hi, I have uploaded my first page with the help of this post and it has been working perfect since than. Now I have a problem with an other site. I went through all the critical points again and again but I have always the same issue. The site is working (with broken links) but I can’t log in to the admin site. I changed the database at phpmyadmin and the wp-config.php file also. They have the same username and same password so they have the same datas and yet I have the problem. How does it possible?

  22. Sybrin says

    Hi there, my WordPress website has just moved to a new ip address, and I followed the steps at the bottom to fix broken links. It said that it fixed them but my website is still not displaying properly. Some images are displaying as broken images and some image sliders are not showing up at all. The website also seems a hell of a lot slower. How do I fix this all?

  23. Sybrin says

    Hi there, my WordPress website has just moved to a new ip address, and I followed the steps at the bottom to fix broken links. It said that it fixed them but my website is still not displaying properly. Some images are displaying as broken images and some image sliders are not showing up at all. The website also seems a hell of a lot slower. How do I fix this all?

  24. vinamr says

    Do i have to install WordPress through my cpanel? or do i straight away upload the files through ftp?

  25. up says

    I have had a hard time finding an answer to a simple question: Do you upload the wordpress folder or the contents of the wordpress folder to public_html

  26. Krizia Bianca says

    Thank you so much, this tutorial works fine for me! I uploaded my wordpress to a live site. And it run smoothly! :D

  27. GSR says

    Hi. I’ve followed all the steps (I think so) and now I no longer have the error message about not having a database connection – instead I now just have a blank white screen. Can you tell me where I’ve gone wrong?

  28. Malik Talib Hussain says

    Thanks a lot for such a descriptive guide,I have uploaded my site successfully using this guide.

  29. Daniel says

    Is it normal that in the step 6, after I updated the wp-config.php file, instead of appearing the homepage of the site (as I viewed in localhost) it appears the installation process?

    PD: I have completed all the previous steps.

  30. duke says

    Very easy, some tips to remember, i have to wait a while to transfer local wordpress site to public_html because of the number of themes i am using.

    I forget to grant access to the db user, so i did it and it worked.

    All steps is important, the sql command works great.

    I rename .htaccess to .htaccess_old and it works

    then just update and save permalinks.

    Very easy fix for everything.

  31. BJH says

    Thanks for the tutorial.

    Unfortunately it doesn’t work for me. I think that there are so many variables with something like this. Your steps work for you, with your scenario, but for someone else it can be very easy to end up with something else which stops the process working. Migrating wordpress is a real chore in my experience.

    • Lloyd says

      I have 30+ years of IT experience including design of large 1000+ user infrastructure, plus extensive hands on program coding.

      I have used WordPress to create one site and I am really happy with the result.

      However, I would have to say that for anything other than simply creating a single production site, WordPress is unbelievably complicated to use for anyone contemplating creating multiple sites, or creating a dev to prod environment. Absolute unmitigated nightmare.

      Is there is anything that the WordPress developers could do to make the actual architecture easier to understand and use that would be great.

  32. Matthew says

    Hi,
    Great tutorial, thanks a bunch. I’m doing my first wp redesign for a client who already has a well established blog with posts images etc. I’ve exported all of her data into the local site, designed a new theme with new pages etc. While importing her posts locally and selecting the option to download attachments, the posts have appeared but none of the images and I’m about ready to upload everything to her server.

    Do I just upload the theme files and in doing so will my modifications be present? Or do I need to upload everything as this tutorial suggests. She has over 2000 posts, an image for each, and I’ve got new images, pages, and layout.

    If you can either make a tutorial for moving/importing a redesigned or newly designed blog into an existing blog with posts pages etc. Or point me in the right direction, That would be great.

    The client won’t give me access to the server itself and insists on doing the ftp himself because he saw on the news that he could get his identity stolen or some such nonsense. I explained that he could set access restrictions on a separate login but he insists he do it.

    And the don’t want me working directly on the site because they’re worried about downtime while I update and build it.

    You can’t always be picky when it come to clients and I don’t really have a choice I’m just about done.

  33. Emilio says

    Thank you for the tutorial!
    But now that I’ve imported all my site, the logo isn’t showing and my Dashboard doesn’t show the theme functions, I run Divi from Elegant Themes.

  34. Martin says

    I’ve imported my database and wordpress install, but none of my pages are showing when I login to the admin panel? I’ve activated the theme, but no pages? Please help!

  35. Christine says

    Good day.
    Thanks for this easy to follow tutorial.
    I managed all the steps and my site seems to be connected, except that my theme is missing. All the files are in place with their stylesheets, but the site seems to be displaying plain html.Has anyone else experienced this?
    Not sure how to go about fixing it.

  36. tawanda masvanhise says

    thanks for the great tutorial! l have a problem after doing all the steps; my website is displaying
    Error establishing a database connection
    how can i solve this problem?

  37. Claudio Henrique Amorim says

    Thank you so much.
    I’m definitely a wp beginner and this post was just of an wonderful help. Everything went on flawless.
    I’m really enjoying working as a web designer and wp developer. And I hope I’ll get more and more of these kind of jobs, and more challenging ones. I learned so much while doing this very first one.
    Thank you again.

  38. Elliot Lee says

    HELP!!

    I have completed step 1 to step 6, but my site still displays:

    Future home of something quite cool.
    If you’re the site owner, log in to launch this site
    If you are a visitor, check back soon.

    Why is this happening???

  39. Elliot Lee says

    I have completed step 1 to step 6, but my website still displays:

    Future home of something quite cool.
    If you’re the site owner, log in to launch this site
    If you are a visitor, check back soon.

    What could be the problem???

  40. Elliot Lee says

    HELP!!! Why am I receiving this error in step 4?

    SQL query:


    — Database: `wordpress`

    — ——————————————————–

    — Table structure for table `wp_commentmeta`

    CREATE TABLE `wp_commentmeta` (

    `meta_id` bigint( 20 ) unsigned NOT NULL AUTO_INCREMENT ,
    `comment_id` bigint( 20 ) unsigned NOT NULL DEFAULT ‘0’,
    `meta_key` varchar( 255 ) DEFAULT NULL ,
    `meta_value` longtext,
    PRIMARY KEY ( `meta_id` ) ,
    KEY `comment_id` ( `comment_id` ) ,
    KEY `meta_key` ( `meta_key` ) ) ENGINE = InnoDB DEFAULT CHARSET = utf8 AUTO_INCREMENT =1;

    MySQL said:

    #1046 – No database selected

  41. Thinh says

    Hi, thanks for a easy guide.

    But I wonder how I can export to live when WordPress is already installed live? I redesigned the website from scratch, only thing is that I used the same theme. What would be the best way to get this live?

    Thanks, keep up the good work!

  42. PixelstoLife says

    Great tutorial, thanks for the help.
    Like some others, the up_user updates don’t work and the links on my site are still calling the localhost. I’ve also been booted out as the admin user and cannot login to update permalinks etc.
    I’ve found a tutorial to re-instate an admin user via phpmyadmin so I’ll give that a go and see if I can get back in!
    Cheers

  43. Ben says

    Great guide, but having a little bit of trouble and wondering if you can help.

    I’ve done everything above, but when I try to go on to the …/wp-admin page I get this: ‘Warning: require(/home/username/public_html/wp-includes/pomo/mo.php): failed to open stream: No such file or directory in /home/username/public_html/wp-settings.php on line 76’

    Any ideas?

  44. lokesh says

    I m facing a prlessphp fatal error: load error: failed to find /home1/eminenta/public_html/server/Suman_Creations/wp-content/themes/theme49413/bootstrap/less/bootstrap.lesslessphp fatal error: load error: failed to find /home1/eminenta/public_html/server/Suman_Creations/wp-content/themes/theme49413/style.less oblem when i move my website from local server to live server

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.