![]() htaccess file with structure is created on the new server. Login into the WP admin of the new site and go to Settings > s and click “Save Changes” so an. If necessary, update the Images linked to posts/pages URLsġ1. Import the tables of the local database to the new database in your host’s Cpanel (phpMyAdmin)ġ0. You can to this either with your favourite FTP client or the file manager of your host’s Cpanel (by right mouse clicking the Uploads folder and selecting Info > Change Permissions)Ĩ. Make your uploads directory writeable (permissions 777) …/wp-content/uploads Edit config wp-config-sample.php with your new database details and save it as wp-config.phpĮnter ‘localhost’ as your MySQL hostname unless stated otherwise by your web host.ħ. In case you don’t have a MySQL user yet, you’ll need to create one and remember the user’s name and password. Add the database to the user, click “All Privileges”, then “Make changes”.Ħ. In your new web host’s Cpanel, create a new MySQL database If you’re moving the website from a web server to another, copy the website’s files with your favourite FTP client or your host’s Cpanel onto your computer’s hard drive.ĥ. Make a copy of your locally installed website’s files accessible at Applications > MAMP > htdocs > yourwebsite ![]() Typically, a MAMP-installed site’s address would look something like “ In the text editor you would need to change this to “” wherever it appears.Ĥ. Open the exported database in a text editor such as TextEdit, do a mass search and replace the local URL with the new server’s URL Click “Go” – now a copy of your database should be on your computer.ģ. Additionally, make sure all the spaces are checked as on the image below, including “Save as file” at the bottom. Click on the site’s database on the left – now you should see all of the tables of your WordPress installation as on the picture below:Įnsure all the tables are selected. To do this, click the phpMyAdmin button on the MAMP’s startpage. Export a copy of your locally installed WordPress site’s database as an SQL file In case you have purchased your hosting service together with domain, you can skip this step.Ģ. ![]() In the settings panel of the domain provider, point the domain to your hosting company’s Nameservers Alternatively, you could apply the same rules to moving the website on a new server.ġ. ![]() In the last tutorial of the WordPress series, I’ll explain the process of moving your locally installed (using MAMP) WordPress website on a live server. This week: Moving a Locally Installed WordPress (MAMP) on a Live Server Last week: Installing WordPress on a Local Server (MAMP) Two weeks ago: Installing WordPress on a Web Server Three weeks ago: The First Steps to Building Your Website in WordPress ![]()
0 Comments
Leave a Reply. |